23 #ifndef PNDLMDLINFITTASK_H 24 #define PNDLMDLINFITTASK_H 28 #include "TMatrixDSym.h" 46 PndLmdLinFitTask(TString tTCandBranchName, TString tRecoBranchName, TString tOutputBranchName =
"LMDPndTrack", TString tOutputFolder =
"PndLmd");
50 virtual InitStatus Init();
52 virtual void Exec(Option_t *opt);
54 virtual void Finish();
59 double FCN_MS(
const double *
vars);
60 static double distance_MS(
double x,
double y,
double z,
double errx,
double erry,
const double *p,
double *zpr);
61 double ScatteredAngle(
double radLen);
62 double line3DfitMS(TGraph2DErrors *gr,
const TVector3 &posSeed,
const TVector3 &dirSeed, std::vector<double> &fitpar,
63 TMatrixDSym *covmatrix);
92 ROOT::Math::Minimizer *
fmin;
TGraph2DErrors * fGraph2D
TClonesArray * fTCandArray
Class to access the naming information of the MVD.
TClonesArray * fRecoArray
TString fOutputBranchName
double GetSigmaMS(int side)
ROOT::Math::Minimizer * fmin
TClonesArray * fTrackArray