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 f615f90
Browse filesBrowse the repository at this point in the historyBrowse files
TPC SCD: MC truth at the TRD (entrance and ideal tracklet positions)
For tracks with TRD residuals (TRD seeds and ITS-TPC map seeds whose most complete track has TRD), TrackDataMC
now also holds the truth at the TRD entrance (first TRD track reference in time, sector frame) and, per layer, the
true y and z at the x of the tracklet in the tracklet's sector frame, i.e. the frame of the stored TRD residual
(nearest TRD track reference propagated with the workflow's material correction), for the true particle of the
ITS-TPC part (ideal tracklets). TrackInterpolation records which ITS-TPC-TRD track gave the TRD residuals of each
stored track (getTRDGIDsSuccess, aligned with the track data).
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
constauto& trkTRD = recoData.getITSTPCTRDTrack<o2::trd::TrackTRD>(mInterpolation.getTRDGIDsSuccess()[lk.idx]); // the TRD track of the stored TRD residuals
FakeITSTPC = 0x4 }; ///< ITS and TPC parts of the track have different MC labels
252
+
FakeITSTPC = 0x4, ///< ITS and TPC parts of the track have different MC labels
253
+
HasTRDIn = 0x8 }; ///< parTRDIn is filled
253
254
o2::MCCompLabel label{}; ///< MC label of the ITS-TPC part of the seeding track
254
255
o2::MCCompLabel labelITS{}; ///< MC label of its ITS part
255
256
o2::MCCompLabel labelTPC{}; ///< MC label of its TPC part
256
257
o2::track::TrackPar parITSOut{}; ///< truth at x and alpha of TrackData::par, from the nearest ITS track reference (propagated with the material correction, true mass)
257
258
o2::track::TrackPar parTPCIn{}; ///< truth at the first TPC track reference (sector frame)
258
259
float distITSRef{-1.f}; ///< 3D distance between the ITS track reference used and TrackData::par in cm
259
260
float distTPCRef{-1.f}; ///< distance (y,z) between parTPCIn propagated to the innermost TPC cluster of the track and that cluster in cm (large: wrong leg, looper, fake)
261
+
o2::track::TrackPar parTRDIn{}; ///< truth at the first TRD track reference (sector frame), TRD-matched seeds only
262
+
float yTRD[6] = {}; ///< truth y at the x of the TRD tracklet of each layer (tracklet sector frame), see trdLayerMask
263
+
float zTRD[6] = {}; ///< truth z at the x of the TRD tracklet of each layer (tracklet sector frame), see trdLayerMask
264
+
uint8_t trdLayerMask{0}; ///< bit i set: yTRD[i], zTRD[i] filled
260
265
int pdg{0}; ///< PDG code of the MC particle of the ITS part (TPC part if no ITS label)
std::array<CacheStruct, constants::MAXGLOBALPADROW> mCache{{}}; ///< caching positions, covariances and angles for track extrapolations and interpolation
514
522
std::vector<o2::dataformats::GlobalTrackID> mGIDsSuccess; ///< keep track of the GIDs which could be processed successfully
523
+
std::vector<o2::dataformats::GlobalTrackID> mTRDGIDsSuccess; ///< ITS-TPC-TRD track used for the TRD residuals of each stored track (not set if none)
0 commit comments