16#ifndef ALICEO2_MATCH_COSMICS
17#define ALICEO2_MATCH_COSMICS
31#define _ALLOW_DEBUG_TREES_COSM
41class TPCFastTransformPOD;
43namespace globaltracking
55 static constexpr int Zero = 0;
103#ifdef _ALLOW_DEBUG_TREES_COSM
121 mDebugTreeFileName =
name;
130 void updateTimeDependentParams();
132 void registerMatch(
int i,
int j,
float chi2);
133 void suppressMatch(
int partner0,
int partner1);
135 bool validateMatch(
int partner0);
136 void selectWinners();
140 std::vector<TrackSeed> mSeeds;
141 std::vector<MatchRecord> mRecords;
142 std::vector<int> mWinners;
146 float mTPCVDriftRef = -1.;
147 float mTPCVDriftCorrFact = 1.;
148 float mTPCVDrift = -1.;
149 float mTPCDriftTimeOffset = 0.;
150 float mTPCTBinMUS = 0.;
152 bool mFieldON =
true;
153 bool mUsePVInfo =
false;
155 float mITSROFrameLengthMUS = 0.;
156 float mQ2PtCutoff = 1e9;
159 std::vector<o2d::TrackCosmics> mCosmicTracks;
160 std::vector<o2::MCCompLabel> mCosmicTracksLbl;
162#ifdef _ALLOW_DEBUG_TREES_COSM
163 std::unique_ptr<o2::utils::TreeStreamRedirector> mDBGOut;
164 UInt_t mDBGFlags = 0;
165 std::string mDebugTreeFileName =
"dbg_cosmics_match.root";
Container of the ITS/MFT clusters addressed by the composed (layer,index) ID.
Accessor for TrackParCov derived objects from multiple containers.
Global index for barrel track: provides provenance (detectors combination), index in respective array...
Configurable params for cosmics matching.
Declarations of 2D primitives.
Result of top-bottom cosmic tracks leg matching.
void setITSROFrameLengthMUS(float fums)
@ MatchTreeAll
produce matching candidates tree for all candidates
@ MatchTreeAccOnly
fill the matching candidates tree only once the cut is passed
void setUsePVInfo(bool v)
static constexpr int Validated
auto getCosmicTracksLbl() const
bool isDebugFlag(UInt_t flags) const
get debug trees flags
void setITSDict(const o2::itsmft::TopologyDictionary *dict)
void setDebugFlag(UInt_t flag, bool on=true)
set the name of output debug file
void setTPCVDrift(const o2::tpc::VDriftCorrFact &v)
static constexpr int Reject
void setDebugTreeFileName(std::string name)
get the name of output debug file
void setTPCCorrMaps(const o2::gpu::TPCFastTransformPOD *maph)
auto getCosmicTracks() const
void process(const o2::globaltracking::RecoContainer &data)
static constexpr int MinusOne
static constexpr int MinusTen
UInt_t getDebugFlags() const
set or unset debug stream flag
static constexpr int Zero
const std::string & getDebugTreeFileName() const
GLuint const GLchar * name
detail::Bracket< float > Bracketf_t
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
< record about matchig of 2 tracks
int next
index of eventual next record
short vtIDMax
id of the last compatible vertex
short vtIDMin
id of the 1st compatible vertex
int matchID
entry (none if MinusOne) of its match in the vector of matches
TBracket tBracket
bracketing time-bins
GTrackID origID
track origin id