1 #ifndef PID_CORRELATOR_H
2 #define PID_CORRELATOR_H
16 #include "TClonesArray.h"
32 #include "PndPidCorrPar.h"
33 #include "PndEmcXClMoments.h"
34 #include "PndEmcGeoPar.h"
35 #include "PndEmcErrorMatrix.h"
36 #include "PndEmcClusterCalibrator.h"
37 #include "PndEmcErrorMatrixPar.h"
38 #include "PndGeoSttPar.h"
39 #include "PndGeoFtsPar.h"
55 TClonesArray* fTrack2;
56 TClonesArray* fTrackID2;
57 TClonesArray* fPidNeutralCand;
58 TClonesArray* fMdtTrack;
60 TClonesArray* fMvdHitsStrip;
61 TClonesArray* fMvdHitsPixel;
62 TClonesArray* fTofHit;
63 TClonesArray* fTofPoint;
64 TClonesArray* fFtofHit;
65 TClonesArray* fFtofPoint;
66 TClonesArray* fEmcCluster;
67 TClonesArray* fEmcBump;
68 TClonesArray* fEmcDigi;
69 TClonesArray* fMdtPoint;
70 TClonesArray* fMdtHit;
71 TClonesArray* fMdtTrk;
72 TClonesArray* fDrcPoint;
73 TClonesArray* fDrcHit;
74 TClonesArray* fDskParticle;
75 TClonesArray* fSttHit;
76 TClonesArray* fFtsHit;
78 PndPidCorrPar* fCorrPar;
79 PndEmcGeoPar* fEmcGeoPar;
80 PndEmcErrorMatrixPar* fEmcErrorMatrixPar;
81 PndEmcErrorMatrix *fEmcErrorMatrix;
82 PndGeoSttPar* fSttParameters;
83 PndGeoFtsPar* fFtsParameters;
84 PndEmcAbsClusterCalibrator* fEmcCalibrator;
104 map<Int_t, vector<Int_t> >mapMdtBarrel;
105 map<Int_t, vector<Int_t> >mapMdtEndcap;
106 map<Int_t, vector<Int_t> >mapMdtForward;
107 Float_t mdtLayerPos[3][20];
108 Float_t mdtIronThickness[3][20];
110 map<Int_t, Bool_t> fClusterList;
111 map<Int_t, Double_t> fClusterQ;
117 TString fTrackBranch2;
118 TString fTrackIDBranch2;
149 void ConstructNeutralCandidate();
169 Bool_t MdtGeometry();
173 virtual void Exec(Option_t * option);
190 void SetOption(Option_t *option=
" ") {fOption = option; fOption.ToLower();}
191 void SetDebugMode(Bool_t
debug) { fDebugMode =
debug; };
193 void SetMdtRefit(Bool_t mdt) { fMdtRefit = mdt; };
194 void SetMixMode(Bool_t mix) { fMixMode = mix; };
195 void SetInputBranch2(TString branch) { fTrackBranch2 = branch; };
196 void SetInputIDBranch2(TString branch) { fTrackIDBranch2 = branch; };
198 void SetSimulation(Bool_t sim) { fSimulation = sim; };
199 void SetIdeal(Bool_t
id) { fIdeal = id; };
200 void SetFast(Bool_t fast) { fFast = fast; };
202 void SetGeanePro(Bool_t gea = kTRUE) {
fGeanePro = gea; };
204 void SetIdealHyp(Bool_t opt = kTRUE) {
fIdealHyp = opt; }
206 void SetMvdMode(Short_t mode) { fMvdMode = mode; };
207 void SetSttMode(Short_t mode) { fSttMode = mode; };
208 void SetFtsMode(Short_t mode) { fFtsMode = mode; };
209 void SetTofMode(Short_t mode) { fTofMode = mode; };
210 void SetFtofMode(Short_t mode){ fFtofMode = mode; };
211 void SetEmcMode(Short_t mode) { fEmcMode = mode; };
212 void SetMdtMode(Short_t mode) { fMdtMode = mode; };
213 void SetDrcMode(Short_t mode) { fDrcMode = mode; };
214 void SetDskMode(Short_t mode) { fDskMode = mode; };