17#ifndef ALICEO2_MFT_TrackFitter_H_
18#define ALICEO2_MFT_TrackFitter_H_
24#include <TLinearFitter.h>
49 void setBz(
float bZ) { mBZField = bZ; }
56 bool initTrack(T& track,
bool outward =
false);
57 bool fit(T& track,
bool outward =
false);
60 static constexpr double getMaxChi2() {
return SMaxChi2; }
63 bool propagateToZ(T& track,
double z);
64 bool propagateToNextClusterWithMCS(T& track,
double z,
int& startingLayerID,
const int& newLayerID);
65 bool computeCluster(T& track,
int cluster,
int& startingLayerID);
69 Float_t mMFTDiskThicknessInX0 = 0.042 / 5;
73 static constexpr double SMaxChi2 = 2.e10;
74 bool mVerbose =
false;
79Double_t
invQPtFromFCF(
const T& track, Double_t bFieldZ, Double_t& chi2);
80Bool_t
LinearRegression(Int_t nVal, std::vector<double>& xVal, std::vector<double>& yVal, std::vector<double>& yErr, Double_t&
a, Double_t& ae, Double_t&
b, Double_t& be);
A simple structure for the MFT cluster, used by the standalone track finder.
Standalone classes for the track found by the Linear-Track-Finder (LTF) and by the Cellular-Automaton...
Class to fit a forward track to a set of clusters.
void setTrackModel(Int_t m)
bool initTrack(T &track, bool outward=false)
TrackFitter(TrackFitter &&)=delete
TrackFitter(const TrackFitter &)=delete
void setAlignResiduals(Float_t res)
static constexpr double getMaxChi2()
Return the maximum chi2 above which the track can be considered as abnormal.
TrackFitter & operator=(TrackFitter &&)=delete
auto & getTrackModel() const
void setVerbosity(bool v)
TrackFitter & operator=(const TrackFitter &)=delete
void setMFTRadLength(float MFT_x2X0)
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
GLdouble GLdouble GLdouble z
Bool_t LinearRegression(Int_t nVal, std::vector< double > &xVal, std::vector< double > &yVal, std::vector< double > &yErr, Double_t &a, Double_t &ae, Double_t &b, Double_t &be)
Double_t invQPtFromFCF(const T &track, Double_t bFieldZ, Double_t &chi2)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...