16#ifndef ALICEO2_MATCH_COSMICS
17#define ALICEO2_MATCH_COSMICS
31#define _ALLOW_DEBUG_TREES_COSM
41class CorrectionMapsHelper;
43namespace globaltracking
55 static constexpr int Zero = 0;
100#ifdef _ALLOW_DEBUG_TREES_COSM
118 mDebugTreeFileName =
name;
127 void updateTimeDependentParams();
129 void registerMatch(
int i,
int j,
float chi2);
130 void suppressMatch(
int partner0,
int partner1);
132 bool validateMatch(
int partner0);
133 void selectWinners();
137 std::vector<TrackSeed> mSeeds;
138 std::vector<MatchRecord> mRecords;
139 std::vector<int> mWinners;
143 float mTPCVDriftRef = -1.;
144 float mTPCVDriftCorrFact = 1.;
145 float mTPCVDrift = -1.;
146 float mTPCDriftTimeOffset = 0.;
147 float mTPCTBinMUS = 0.;
149 bool mFieldON =
true;
151 float mITSROFrameLengthMUS = 0.;
152 float mQ2PtCutoff = 1e9;
155 std::vector<o2d::TrackCosmics> mCosmicTracks;
156 std::vector<o2::MCCompLabel> mCosmicTracksLbl;
158#ifdef _ALLOW_DEBUG_TREES_COSM
159 std::unique_ptr<o2::utils::TreeStreamRedirector> mDBGOut;
160 UInt_t mDBGFlags = 0;
161 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
static constexpr int Validated
auto getCosmicTracksLbl() const
void setTPCCorrMaps(o2::gpu::CorrectionMapsHelper *maph)
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
auto getCosmicTracks() const
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
int matchID
entry (none if MinusOne) of its match in the vector of matches
TBracket tBracket
bracketing time-bins
GTrackID origID
track origin id