25 #include "TClonesArray.h" 40 #include "TSpectrum.h" 56 PndDrcReco(TString outFile, TString lutFile, TString pdfFile,
int verbose = 0,
double r1 = 0,
double r2 = 0);
61 virtual InitStatus
Init();
63 virtual void Exec(Option_t *option);
68 void DetermineCherenkov(
int boxId,
int barId);
69 void DetermineBarId(
double &boxPhi,
int &barId);
70 void LookUpTable(
int barId,
int sensorId);
71 void TimeImaging(
int sensorId);
72 void BuildPdfs(TF1 &pdfuf, TF1 &pdfus,
int ch,
int barId, TVector3 mom,
double posz,
bool reflected);
73 void TimeImagingWithAnalyticalPdf(
int barId,
int ch);
76 int FindPdg(
double mom,
double cangle);
77 void CanvasAdd(TString name =
"c",
int w = 800,
int h = 400);
78 void CanvasSave(TString path =
"data/reco");
80 double fBboxNum, fPipehAngle, fDphi, fBarPhi;
82 TClonesArray *fMCArray;
83 TClonesArray *fBarPointArray;
84 TClonesArray *fEVPointArray;
85 TClonesArray *fPDPointArray;
86 TClonesArray *fDigiArray;
87 TClonesArray *fPDHitArray;
88 TClonesArray *fDrcTrackInfoArray;
89 array<TClonesArray *, 5> fLut;
104 void SetDefaultParameters();
114 int fEvType, fRadType, fLensType;
115 TH1F *fHist, *fHist1, *fHist2;
125 double fCriticalAngle;
128 array<double, 5> fPdg, fMass, fAngle, fSpr, fCangle, fEfficiency, fMissId;
129 array<double, 3> fLikelihood, fSeparation;
130 array<TF1 *, 5> fFunc, fFnph;
131 array<int, 2> fPidLike;
132 array<int, 5> fEvents, fEventsEff, fEventsMis, fHits, fHits1;
133 array<int, 3000> fParticleArray;
134 array<array<int, 5>, 3> fHitsE;
135 array<array<double, 5>, 3> fLk, fNph;
136 array<TH1F *, 5> fhTang, fhTime, fhDiff;
137 array<array<TH1F *, 5>, 3> fhNph, fhLk;
138 array<array<TH1F *, 5>, 800> fhTimeA;
139 array<TH1F *, 9> fhCorr;
140 array<array<array<array<TH1F *, 1100>, 120>, 40>, 5> fhPdf;
141 array<array<array<int, 150>, 50>, 9> fCorr_spr, fCorr_mean;
142 array<array<array<TH1F *, 150>, 40>, 5> fhNphArr;
144 double fMom, fTheta, fPhi;
145 int fMcTrackId, fPidTrue, fPidDist;
149 int fBin_mom, fBin_theta;
virtual InitStatus Init()
virtual void Exec(Option_t *option)