You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d745182
Browse filesBrowse the repository at this point in the historyBrowse files
TPC SCD: MC origin of the residual tracks (mother, production vertex, sister tracks)
For the particle of the ITS-TPC part TrackDataMC now holds the mother label and PDG code (for primaries the
generator-level parent), the production vertex, momentum and process, a primary flag, and sisterIdx: the index
of another stored track with the same mother (cycling through all of them if more than two), e.g. to select both
daughters of a K0s. pdg is now the PDG code of the particle of the ITS-TPC part, consistent with the origin and TRD
fields.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
if (mInterpolation.getTRDGIDsSuccess()[i].isIndexSet() && lblTPC.isValid()) { // track with TRD residuals: the true particle of the ITS-TPC part at the TRD
FakeITSTPC = 0x4, ///< ITS and TPC parts of the track have different MC labels
253
-
HasTRDIn = 0x8 }; ///< parTRDIn is filled
253
+
HasTRDIn = 0x8, ///< parTRDIn is filled
254
+
IsPrimary = 0x10 }; ///< the particle of the ITS-TPC part is a primary (MCTrack::isPrimary)
254
255
o2::MCCompLabel label{}; ///< MC label of the ITS-TPC part of the seeding track
255
256
o2::MCCompLabel labelITS{}; ///< MC label of its ITS part
256
257
o2::MCCompLabel labelTPC{}; ///< MC label of its TPC part
@@ -262,13 +263,24 @@ struct TrackDataMC {
262
263
float yTRD[6] = {}; ///< truth y at the x of the TRD tracklet of each layer (tracklet sector frame), see trdLayerMask
263
264
float zTRD[6] = {}; ///< truth z at the x of the TRD tracklet of each layer (tracklet sector frame), see trdLayerMask
264
265
uint8_t trdLayerMask{0}; ///< bit i set: yTRD[i], zTRD[i] filled
265
-
int pdg{0}; ///< PDG code of the MC particle of the ITS part (TPC part if no ITS label)
266
+
int pdg{0}; ///< PDG code of the particle of the ITS-TPC part (as for the origin and TRD fields)
267
+
o2::MCCompLabel motherLabel{}; ///< MC label of the mother of the particle of the ITS-TPC part (for primaries the generator-level parent)
268
+
int motherPdg{0}; ///< PDG code of that mother (0: none)
269
+
float prodX{0.f}; ///< production vertex x of the particle of the ITS-TPC part (global, cm)
270
+
float prodY{0.f}; ///< production vertex y (global, cm)
271
+
float prodZ{0.f}; ///< production vertex z (global, cm)
272
+
float prodPx{0.f}; ///< momentum at production x (global, GeV/c), e.g. to compare a track propagated to the vertex
273
+
float prodPy{0.f}; ///< momentum at production y (global, GeV/c)
274
+
float prodPz{0.f}; ///< momentum at production z (global, GeV/c)
275
+
int sisterIdx{-1}; ///< index in the TrackData vector of another stored track with the same mother (cycling through all of them if more than two), -1: none
276
+
uint8_t process{0}; ///< production process of the particle of the ITS-TPC part (TMCProcess)
0 commit comments