Skip to content

Commit 301735e

Browse files
authored
Modify the task after adding Pmd index table inside Common/DataModel folder
1 parent ee4b93b commit 301735e

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

Common/LegacyDataQA/pmdQa.cxx

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
///
1414
/// \brief QA task to check PMD info on Run 2 converted data
1515
/// \author Abhi Modak (abhi.modak@cern.ch)
16-
/// \since February 19, 2025
16+
/// \since May 17, 2025
1717

1818
#include <cstdlib>
1919
#include <cmath>
@@ -24,6 +24,7 @@
2424
#include "Framework/ASoA.h"
2525
#include "Framework/AnalysisDataModel.h"
2626
#include "Common/DataModel/EventSelection.h"
27+
#include "Common/DataModel/PmdTable.h"
2728
#include "Framework/O2DatabasePDGPlugin.h"
2829
#include "CCDB/BasicCCDBManager.h"
2930
#include "TH1F.h"
@@ -35,19 +36,6 @@ using namespace o2::framework;
3536
using namespace o2::aod::evsel;
3637
using namespace o2::framework::expressions;
3738

38-
namespace o2::aod
39-
{
40-
namespace pmdtrack
41-
{
42-
DECLARE_SOA_INDEX_COLUMN(Collision, collision);
43-
DECLARE_SOA_ARRAY_INDEX_COLUMN(Collision, collisions);
44-
DECLARE_SOA_INDEX_COLUMN(BC, bc);
45-
DECLARE_SOA_SLICE_INDEX_COLUMN(Pmd, pmd);
46-
} // namespace pmdtrack
47-
48-
DECLARE_SOA_INDEX_TABLE_USER(PMDTracksIndex, BCs, "PMDTRKIDX", pmdtrack::CollisionId, pmdtrack::BCId, pmdtrack::PmdIdSlice);
49-
} // namespace o2::aod
50-
5139
struct BuiltPmdIndex {
5240
// build the index table PMDTracksIndex
5341
Builds<aod::PMDTracksIndex> idx;

0 commit comments

Comments
 (0)