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
Allow specifying different track source for TPC map extraction (AliceO2Group#12992)
* Allow specifying different track source for TPC map extraction
Track type(s) A can be used to extract residuals for vDrift calibration
and track type(s) B can be use to extract residuals for the creation
of the map. E.g. use ITS-TPC-TRD-TOF tracks for vDrift and ITS-TPC
for the map creation.
* Make sure mAddTracksForMapPerTF are taken from best possible seeds
Copy file name to clipboardExpand all lines: Detectors/GlobalTrackingWorkflow/tpcinterpolationworkflow/include/TPCInterpolationWorkflow/TPCInterpolationSpec.h
LOGP(error, "More sources configured for inter-/extrapolation: {} than for vertexing: {}. Additional sources will be ignored", GID::getSourcesNames(srcTracks), GID::getSourcesNames(srcVtx));
74
76
srcTracks &= srcVtx;
75
77
}
78
+
srcTracksMap &= srcVtx;
79
+
if (((srcTracksMap | srcTracks) ^ srcTracks).any()) {
80
+
LOGP(fatal, "tracking-sources-map-extraction ({}) must be a subset of tracking-sources ({}).", GID::getSourcesNames(srcTracksMap), GID::getSourcesNames(srcTracks));
81
+
} elseif (srcTracksMap != srcTracks) {
82
+
LOGP(info, "Will extract residual from different track types. For vDrift from {} and for distortion map from {}", GID::getSourcesNames(srcTracks), GID::getSourcesNames(srcTracksMap));
83
+
} else {
84
+
LOGP(info, "Only a single track source is defined for residuals extraction: {}", GID::getSourcesNames(srcTracks));
85
+
}
76
86
LOG(debug) << "Data sources for inter-/extrapolation: " << GID::getSourcesNames(srcTracks);
77
87
// check first if ITS-TPC tracks were specifically requested from command line
78
88
bool processITSTPConly = srcTracks[GID::ITSTPC];
79
89
srcTracks |= GID::getSourcesMask("ITS,TPC,ITS-TPC"); // now add them in any case
floatmSqrtS{13600.f}; ///< centre of mass energy set from LHC IF
289
289
MatCorrType mMatCorr{MatCorrType::USEMatCorrNONE}; ///< if material correction should be done
290
290
intmMaxTracksPerTF{-1}; ///< max number of tracks to be processed per TF (-1 means there is no limit)
291
-
intmAddTracksITSTPC{0}; ///< number of ITS-TPC tracks which can be processed in addition to mMaxTracksPerTF
291
+
intmAddTracksForMapPerTF{0}; ///< in case residuals from different track types are used for vDrift calibration and map creation this defines the statistics for the latter
292
292
boolmDumpTrackPoints{false}; ///< dump also track points in ITS, TRD and TOF
293
293
boolmProcessSeeds{false}; ///< in case for global tracks also their shorter parts are processed separately
294
294
boolmProcessITSTPConly{false}; ///< flag, whether or not to extrapolate ITS-only through TPC
295
-
o2::dataformats::GlobalTrackID::mask_tmSourcesConfigured; ///< keep only the matches here, not the individual detector contributors
295
+
o2::dataformats::GlobalTrackID::mask_tmSourcesConfigured; ///< the track sources taken into account for extra-/interpolation
296
+
o2::dataformats::GlobalTrackID::mask_tmSourcesConfiguredMap; ///< possible subset of mSourcesConfigured
0 commit comments