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
Add residuals for external detectors unless --skip-ext-det-residuals is passed
The unbinned residuals got channel data member which holds ITS chipID, TRD chamber ID
or TOF pad within the sector resp. The convention for non-TPC rows:
160-165: TRD layers
170: TOF
180-186: ITS layers
The getters isTPC(), isTRD(), isTOF() and isITS() can be used to query the residual type
and getDetID() will return 0,1,2 and 3 for ITS, TPC, TRD and TOF points resp.
Also, getX() and getAlpha() will provide the tracking frame X and alpha of the residual.
These getters, when acting on the non-TPC residuals require initialized geometry helpers.
The initialization can be done manually via static method
o2::tpc::UnbinnedResid::init(long timeStamp = -1)
which will load from the CCDB the geometry corresponding to the requested timestamp (-1 : now).
If the initialization was not done in advance then it will be done internally at the 1st
query of getX() or getAlpha(), with the timestamp = -1.
Copy file name to clipboardExpand all lines: Detectors/GlobalTrackingWorkflow/tpcinterpolationworkflow/include/TPCInterpolationWorkflow/TPCInterpolationSpec.h
intmMaxTracksPerTF{-1}; ///< max number of tracks to be processed per TF (-1 means there is no limit)
286
311
intmAddTracksForMapPerTF{0}; ///< in case residuals from different track types are used for vDrift calibration and map creation this defines the statistics for the latter
287
312
boolmDumpTrackPoints{false}; ///< dump also track points in ITS, TRD and TOF
313
+
boolmExtDetResid{true}; ///< produce unbinned residuals for external detectors
288
314
boolmProcessSeeds{false}; ///< in case for global tracks also their shorter parts are processed separately
289
315
boolmProcessITSTPConly{false}; ///< flag, whether or not to extrapolate ITS-only through TPC
290
316
o2::dataformats::GlobalTrackID::mask_tmSourcesConfigured; ///< the track sources taken into account for extra-/interpolation
@@ -297,6 +323,7 @@ class TrackInterpolation
297
323
std::vector<o2::globaltracking::RecoContainer::GlobalIDSet> mGIDtables{}; ///< GIDs of contributors from single detectors for each seed
298
324
std::vector<float> mTrackTimes{}; ///< time estimates for all input tracks in micro seconds
0 commit comments