Skip to content

Commit f5eae1a

Browse files
alindner14davidrohr
authored andcommitted
description added
a more complex description for further development
1 parent ba1826a commit f5eae1a

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

  • Detectors/GlobalTracking/include/GlobalTracking

Detectors/GlobalTracking/include/GlobalTracking/TrackCuts.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@
1313
/// \brief Class to perform track cuts
1414
/// \author amelia.lindner@cern.ch
1515

16+
// This class is developed in order to be used for extensive track selections. The selections are done detector wise
17+
//(or for detector combinations).
18+
// sources: https://github.com/AliceO2Group/AliceO2/blob/e988b0c43346ccb24f3515d1a24f058313f14a0f/DataFormats/Reconstruction/include/ReconstructionDataFormats/GlobalTrackID.h#L40
19+
//
20+
// !!! For further development:
21+
// The main method is isSelected(o2::dataformats::GlobalTrackID, o2::globaltracking::RecoContainer&), which is a boolean
22+
// that returns true only if all the checks are passed. First, based on the global track id, the track detector source is
23+
// inquired(e.g. below for ITS and TPC tracks). The source-specific tracks is initialized in order to access the
24+
// source-specific parameters than one wants to perform selections on.
25+
// For each detector source, the inquiry should be done in such way that “false” should be returned if the checks are not passed,
26+
// moving to the next detector source otherwise.
27+
// (e.g below for TPC tracks, where the track selections used here: https://github.com/AliceO2Group/AliceO2/blob/dev/Detectors/GlobalTracking/src/MatchITSTPCQC.cxx#L318
28+
// are reproduced;
29+
// Moreover, an example of how this class should be used can be found here: https://github.com/AliceO2Group/AliceO2/blob/dev/Detectors/GlobalTracking/src/MatchITSTPCQC.cxx#L184).
30+
1631
#ifndef ALICEO2_TRACKCUTS_H
1732
#define ALICEO2_TRACKCUTS_H
1833

0 commit comments

Comments
 (0)