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;
99#ifdef _ALLOW_DEBUG_TREES_COSM
117 mDebugTreeFileName =
name;
126 void updateTimeDependentParams();
128 void registerMatch(
int i,
int j,
float chi2);
129 void suppressMatch(
int partner0,
int partner1);
131 bool validateMatch(
int partner0);
132 void selectWinners();
136 std::vector<TrackSeed> mSeeds;
137 std::vector<MatchRecord> mRecords;
138 std::vector<int> mWinners;
142 float mTPCVDriftRef = -1.;
143 float mTPCVDriftCorrFact = 1.;
144 float mTPCVDrift = -1.;
145 float mTPCDriftTimeOffset = 0.;
146 float mTPCTBinMUS = 0.;
148 bool mFieldON =
true;
150 float mITSROFrameLengthMUS = 0.;
151 float mQ2PtCutoff = 1e9;
154 std::vector<o2d::TrackCosmics> mCosmicTracks;
155 std::vector<o2::MCCompLabel> mCosmicTracksLbl;
157#ifdef _ALLOW_DEBUG_TREES_COSM
158 std::unique_ptr<o2::utils::TreeStreamRedirector> mDBGOut;
159 UInt_t mDBGFlags = 0;
160 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
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
int matchID
entry (none if MinusOne) of its match in the vector of matches
TBracket tBracket
bracketing time-bins
GTrackID origID
track origin id