Skip to content

Commit 9c7da2e

Browse files
pzhristovhristov
andauthored
Rename Label to Lbl since label in O2 is used in different scope. Add the MC information to dumpDataModel (#3603)
Co-authored-by: hristov <[email protected]>
1 parent 789e6f6 commit 9c7da2e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Analysis/DataModel/src/dumpDataModel.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,8 @@ edge[dir=back, arrowtail=empty]
165165
dumpTable<Jets>(true, StyleType::BLUE);
166166
dumpTable<JetConstituents>(true, StyleType::BLUE);
167167
dumpTable<UnassignedTracks>();
168+
dumpTable<McCollisions>();
169+
dumpTable<McLabels>();
170+
dumpTable<McParticles>();
168171
fmt::printf("%s\n", R"(})");
169172
}

Framework/Core/include/Framework/AnalysisDataModel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,16 +420,16 @@ using McCollision = McCollisions::iterator;
420420

421421
namespace mclabel
422422
{
423-
DECLARE_SOA_COLUMN(Label, label, int);
424-
DECLARE_SOA_COLUMN(LabelMask, labelMask, uint16_t);
423+
DECLARE_SOA_COLUMN(Lbl, lbl, int);
424+
DECLARE_SOA_COLUMN(LblMask, lblMask, uint16_t);
425425
/// Bit mask to indicate detector mismatches (bit ON means mismatch)
426426
/// Bit 0-6: mismatch at ITS layer
427427
/// Bit 7-9: # of TPC mismatches in the ranges 0, 1, 2-3, 4-7, 8-15, 16-31, 32-63, >64
428428
/// Bit 10: TRD, bit 11: TOF
429429
} // namespace mclabel
430430

431431
DECLARE_SOA_TABLE(McLabels, "AOD", "MCLABEL", o2::soa::Index<>,
432-
mclabel::Label, mclabel::LabelMask);
432+
mclabel::Lbl, mclabel::LblMask);
433433
using McLabel = McLabels::iterator;
434434

435435
namespace mcparticle

0 commit comments

Comments
 (0)