16#ifndef ALICEO2_MATCH_COSMICS
17#define ALICEO2_MATCH_COSMICS
30#define _ALLOW_DEBUG_TREES_COSM
40class TPCFastTransformPOD;
42namespace globaltracking
54 static constexpr int Zero = 0;
102#ifdef _ALLOW_DEBUG_TREES_COSM
120 mDebugTreeFileName =
name;
129 void updateTimeDependentParams();
131 void registerMatch(
int i,
int j,
float chi2);
132 void suppressMatch(
int partner0,
int partner1);
134 bool validateMatch(
int partner0);
135 void selectWinners();
139 std::vector<TrackSeed> mSeeds;
140 std::vector<MatchRecord> mRecords;
141 std::vector<int> mWinners;
145 float mTPCVDriftRef = -1.;
146 float mTPCVDriftCorrFact = 1.;
147 float mTPCVDrift = -1.;
148 float mTPCDriftTimeOffset = 0.;
149 float mTPCTBinMUS = 0.;
151 bool mFieldON =
true;
152 bool mUsePVInfo =
false;
154 float mITSROFrameLengthMUS = 0.;
155 float mQ2PtCutoff = 1e9;
158 std::vector<o2d::TrackCosmics> mCosmicTracks;
159 std::vector<o2::MCCompLabel> mCosmicTracksLbl;
161#ifdef _ALLOW_DEBUG_TREES_COSM
162 std::unique_ptr<o2::utils::TreeStreamRedirector> mDBGOut;
163 UInt_t mDBGFlags = 0;
164 std::string mDebugTreeFileName =
"dbg_cosmics_match.root";
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