Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Detectors/AOD/src/AODProducerWorkflowSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2645,6 +2645,12 @@ AODProducerWorkflowDPL::TrackExtraInfo AODProducerWorkflowDPL::processBarrelTrac
if (tpcOrig.getdEdx().dEdxTotTPC == 0) {
extraInfoHolder.flags |= o2::aod::track::TPCdEdxAlt;
}
if (tpcOrig.hasASideClusters()) {
extraInfoHolder.flags |= o2::aod::track::TPCSideA;
}
if (tpcOrig.hasCSideClusters()) {
extraInfoHolder.flags |= o2::aod::track::TPCSideC;
}
extraInfoHolder.tpcInnerParam = tpcOrig.getP() / tpcOrig.getAbsCharge();
extraInfoHolder.tpcChi2NCl = tpcOrig.getNClusters() ? tpcOrig.getChi2() / tpcOrig.getNClusters() : 0;
extraInfoHolder.tpcSignal = dEdx.dEdxTotTPC;
Expand Down
2 changes: 2 additions & 0 deletions Framework/Core/include/Framework/DataTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ enum TrackFlags : uint32_t {
OrphanTrack = 0x4, // Track has no association with any collision vertex
TrackTimeAsym = 0x8, // track with an asymmetric time range
TPCdEdxAlt = 0x10, // TPCSignal and tpcNClsFindableMinusPID correspond for alternative dEdx since the nominal was 0
TPCSideA = 0x20, // TPC track has A-side clusters (if any)
TPCSideC = 0x40, // TPC track has C-side clusters (if any)
// NOTE Highest 4 (29..32) bits reserved for PID hypothesis
};
enum TrackFlagsRun2Enum {
Expand Down