13 #include "TClonesArray.h" 28 #include "TSpectrum.h" 44 PndDrcReco(TString outFile, TString lutFile, TString pdfFile,
int verbose = 0,
double r1 = 0,
double r2 = 0);
49 virtual InitStatus
Init();
51 virtual void Exec(Option_t *option);
56 void DetermineCherenkov(
int boxId,
int barId);
57 void DetermineBarId(
double &boxPhi,
int &barId);
58 void LookUpTable(
int barId,
int sensorId);
59 void TimeImaging(
int sensorId);
60 void BuildPdfs(TF1 &pdfuf, TF1 &pdfus,
int ch,
int barId, TVector3 mom,
double posz,
bool reflected);
61 void TimeImagingWithAnalyticalPdf(
int barId,
int ch);
64 int FindPdg(
double mom,
double cangle);
65 void CanvasAdd(TString name =
"c",
int w = 800,
int h = 400);
66 void CanvasSave(TString path =
"data/reco");
68 double fBboxNum, fPipehAngle, fDphi, fBarPhi;
70 TClonesArray *fMCArray;
71 TClonesArray *fBarPointArray;
72 TClonesArray *fEVPointArray;
73 TClonesArray *fPDPointArray;
74 TClonesArray *fDigiArray;
75 TClonesArray *fPDHitArray;
76 TClonesArray *fDrcTrackInfoArray;
77 array<TClonesArray *, 5> fLut;
92 void SetDefaultParameters();
102 int fEvType, fRadType, fLensType;
103 TH1F *fHist, *fHist1, *fHist2;
113 double fCriticalAngle;
116 array<double, 5> fPdg, fMass, fAngle, fSpr, fCangle, fEfficiency, fMissId;
117 array<double, 3> fLikelihood, fSeparation;
118 array<TF1 *, 5> fFunc, fFnph;
119 array<int, 2> fPidLike;
120 array<int, 5> fEvents, fEventsEff, fEventsMis, fHits, fHits1;
121 array<int, 3000> fParticleArray;
122 array<array<int, 5>, 3> fHitsE;
123 array<array<double, 5>, 3> fLk, fNph;
124 array<TH1F *, 5> fhTang, fhTime, fhDiff;
125 array<array<TH1F *, 5>, 3> fhNph, fhLk;
126 array<array<TH1F *, 5>, 800> fhTimeA;
127 array<TH1F *, 9> fhCorr;
128 array<array<array<array<TH1F *, 1100>, 120>, 40>, 5> fhPdf;
129 array<array<array<int, 150>, 50>, 9> fCorr_spr, fCorr_mean;
130 array<array<array<TH1F *, 150>, 40>, 5> fhNphArr;
132 double fMom, fTheta, fPhi;
133 int fMcTrackId, fPidTrue, fPidDist;
137 int fBin_mom, fBin_theta;
virtual InitStatus Init()
virtual void Exec(Option_t *option)