1 #ifndef AliTPCCALIBV0_H
2 #define AliTPCCALIBV0_H
5 #include <AliTPCcalibBase.h>
8 class TTreeSRedirector;
25 class AliTPCcalibV0 : public AliTPCcalibBase {
31 virtual ~AliTPCcalibV0();
32 virtual void Process(AliESDEvent *event) {return ProcessESD(event,0);}
37 void ProcessESD(AliESDEvent *esd, AliStack *stack=0);
40 void ProcessV0(Int_t ftype);
42 TH2F * GetHistograms();
43 void BinLogX(TH2F * h);
47 static AliKFParticle * Fit(AliKFVertex & primVtx, AliESDv0 *v0, Int_t PDG1, Int_t PDG2);
48 void Process(AliESDtrack *track, Int_t runNo=-1){AliTPCcalibBase::Process(track,runNo);};
49 void Process(AliTPCseed *track){return AliTPCcalibBase::Process(track);}
54 AliTPCcalibV0(const AliTPCcalibV0&); // Not implemented
55 AliTPCcalibV0& operator=(const AliTPCcalibV0&); // Not implemented
58 AliStack *fStack; // pointer to kinematic tree
59 AliESDEvent *fESD; //! current ED to proccess - NOT OWNER
60 TDatabasePDG *fPdg; // particle database
61 TObjArray *fParticles; // array of selected MC particles
62 TObjArray *fV0s; // array of V0s
63 TObjArray *fGammas; // gamma conversion candidates
65 TArrayI *fV0type; // array of types for V0s
66 TH2F *fTPCdEdx; // dEdx spectra
67 TH2F *fTPCdEdxPi; // dEdx spectra - pion anti-pion
68 TH2F *fTPCdEdxEl; // dEdx spectra - electroen -positrons from gamma
69 TH2F *fTPCdEdxP; // dEdx spectra - proton antiproton - lambda - antilambda
71 ClassDef(AliTPCcalibV0,1);