]>
Commit | Line | Data |
---|---|---|
10757ee9 | 1 | #ifndef AliTPCCALIBV0_H |
2 | #define AliTPCCALIBV0_H | |
3 | ||
4 | ||
57e4988a | 5 | #include <AliTPCcalibBase.h> |
10757ee9 | 6 | |
7 | ||
8 | class TTreeSRedirector; | |
9 | class AliTPCROC; | |
10 | class AliTPCseed; | |
e3d1b1e2 | 11 | //class AliESDtrack; |
12 | //class AliESDEvent; | |
13 | class AliVEvent; | |
14 | class AliVTrack; | |
10757ee9 | 15 | class TH3F; |
16 | class TH1F; | |
17 | class TH2F; | |
18 | class TH1I; | |
19 | class TDatabasePDG; | |
20 | class AliKFParticle; | |
21 | class AliKFVertex; | |
22 | class AliESDv0; | |
23 | class TArrayI; | |
24 | class TTree; | |
25 | class AliStack; | |
46e89793 | 26 | class AliExternalTrackParam; |
27 | class AliTPCCorrection; | |
10757ee9 | 28 | |
57e4988a | 29 | class AliTPCcalibV0 : public AliTPCcalibBase { |
10757ee9 | 30 | public : |
31 | ||
32 | // List of branches | |
33 | ||
57e4988a | 34 | AliTPCcalibV0(); |
46e89793 | 35 | AliTPCcalibV0(const Text_t *name, const Text_t *title); |
10757ee9 | 36 | virtual ~AliTPCcalibV0(); |
e3d1b1e2 | 37 | virtual void Process(AliVEvent *event) {return ProcessESD(event);} |
38 | void FilterV0s(AliVEvent* event); | |
46e89793 | 39 | Long64_t Merge(TCollection *const li); |
40 | void AddTree(TTree * treeInput); | |
41 | void AddTreeHPT(TTree * treeInput); | |
42 | static AliExternalTrackParam * RefitTrack(AliTPCseed *seed, AliTPCCorrection * corr, Double_t xstart, Double_t xstop, Double_t mass); | |
43 | static void MakeFitTreeTrack(const TObjArray * corrArray, Double_t ptCut, Int_t run); | |
44 | static void MakeFitTreeV0(const TObjArray * corrArray, Double_t ptCut, Int_t run); | |
57e4988a | 45 | // |
46 | // | |
47 | // | |
e3d1b1e2 | 48 | void ProcessESD(AliVEvent *event); |
49 | void DumpToTree(AliVEvent *event); | |
50 | void DumpToTreeHPT(AliVEvent *event); | |
46e89793 | 51 | TTree * GetV0Tree(){return fV0Tree;} |
52 | TTree * GetHPTTree(){return fHPTTree;} | |
53 | // | |
30e59eac | 54 | // void MakeMC(); |
55 | // void MakeV0s(); | |
56 | //void ProcessV0(Int_t ftype); | |
57 | //void ProcessPI0(); | |
10757ee9 | 58 | void BinLogX(TH2F * h); |
59 | // | |
60 | // | |
61 | // | |
0d2c6644 | 62 | static AliKFParticle * Fit(AliKFVertex & primVtx, AliESDv0 *v0, Int_t PDG1, Int_t PDG2); |
1aa15e8d | 63 | |
10757ee9 | 64 | protected: |
10757ee9 | 65 | private: |
77f88633 | 66 | |
46e89793 | 67 | AliTPCcalibV0(const AliTPCcalibV0&); // Not implemented |
68 | AliTPCcalibV0& operator=(const AliTPCcalibV0&); // Not implemented | |
69 | TTree *fV0Tree; // tree with full V0 information | |
70 | TTree *fHPTTree; // tree with high mometa tracks - full calib info | |
71 | // | |
72 | AliStack *fStack; // pointer to kinematic tree | |
e3d1b1e2 | 73 | AliVEvent *fEvent; //! current ED to proccess - NOT OWNER |
46e89793 | 74 | TDatabasePDG *fPdg; //! particle database |
75 | TObjArray *fParticles; // array of selected MC particles | |
76 | TObjArray *fV0s; // array of V0s | |
77 | TObjArray *fGammas; // gamma conversion candidates | |
78 | // | |
e3d1b1e2 | 79 | //void Process(AliESDtrack *track, Int_t runNo=-1){AliTPCcalibBase::Process(track,runNo);} |
80 | void Process(AliVTrack *track, Int_t runNo=-1){AliTPCcalibBase::Process(track,runNo);} | |
46e89793 | 81 | void Process(AliTPCseed *track){return AliTPCcalibBase::Process(track);} |
82 | // | |
83 | ClassDef(AliTPCcalibV0,3); | |
10757ee9 | 84 | }; |
85 | ||
86 | ||
87 | #endif |