16#ifndef O2_TRD_TRACKINGQC_H
17#define O2_TRD_TRACKINGQC_H
41namespace globaltracking
56 std::array<o2::track::TrackPar, constants::NLAYER>
trackProp{};
57 std::array<Tracklet64, constants::NLAYER>
trklt64{};
58 std::array<CalibratedTracklet, constants::NLAYER>
trkltCalib{};
89 void reset() { mTrackQC.clear(); }
103 mLocalGain = localGain;
110 RecoParam mRecoParam;
112 bool mApplyShift{
true};
115 std::vector<TrackQC> mTrackQC;
118 gsl::span<const o2::dataformats::TrackTPCITS> mTracksITSTPC;
119 gsl::span<const o2::tpc::TrackTPC> mTracksTPC;
120 gsl::span<const TrackTRD> mTracksITSTPCTRD;
121 gsl::span<const TrackTRD> mTracksTPCTRD;
122 gsl::span<const Tracklet64> mTrackletsRaw;
123 gsl::span<const CalibratedTracklet> mTrackletsCalib;
136struct is_messageable;
138struct is_messageable<
o2::trd::TrackQC> : std::true_type {
Global index for barrel track: provides provenance (detectors combination), index in respective array...
Aliases for calibration values stored on a per-pad basis.
Error parameterizations and helper functions for TRD reconstruction.
Result of refitting TPC-ITS matched track.
static constexpr float MAX_SIN_PHI
static constexpr float MAX_STEP
void setInput(const o2::globaltracking::RecoContainer &input)
Initialize the input arrays.
void run()
Main processing function.
void checkTrack(const TrackTRD &trk, bool isTPCTRD)
Check track QC.
std::vector< TrackQC > & getTrackQC()
void disablePID()
Disable TPC dEdx information.
void reset()
Reset the output vector.
Tracking(const Tracking &)=delete
void setLocalGainFactors(const o2::trd::LocalGainFactor &localGain)
void init()
Load geometry and apply magnetic field setting.
void setApplyShift(bool f)
constexpr int NLAYER
the number of layers
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
float dEdxTotTPC
raw total dEdx information for seeding track in TPC
std::array< o2::track::TrackPar, constants::NLAYER > trackProp
the track parameters stored at the radius where the track is updated with TRD info
GTrackID refGlobalTrackId
GlobalTrackID of the seeding track (either ITS-TPC or TPC)
std::array< float, constants::NLAYER > trackletChi2
estimated chi2 for the update of the track with the given tracklet
std::array< CalibratedTracklet, constants::NLAYER > trkltCalib
the TRD space point used for the update (not yet tilt-corrected and z-shift corrected)
TrackTRD trackTRD
the found TRD track
std::array< float, constants::NLAYER > trackletY
y-position of tracklet used for track update (including correction)
std::array< std::array< float, constants::NCHARGES >, constants::NLAYER > trackletCorCharges
corrected charges of tracklets
std::array< Tracklet64, constants::NLAYER > trklt64
the raw tracklet used for the update (includes uncorrected charges)
std::array< float, constants::NLAYER > trackletZ
z-position of tracklet used for track update (including correction)
o2::track::TrackParCov trackSeed
outer param of the seeding track