]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/TPCcalib/AliTPCcalibV0.h
fdee312be992bbefb7b2d4e11fa9c56e12819516
[u/mrichter/AliRoot.git] / TPC / TPCcalib / AliTPCcalibV0.h
1 #ifndef AliTPCCALIBV0_H
2 #define AliTPCCALIBV0_H
3
4
5 #include <TNamed.h>
6
7
8 class TTreeSRedirector;
9 class AliTPCROC;
10 class AliTPCseed;
11 class AliESDtrack;
12 class AliESD;
13 class TH3F;
14 class TH1F;
15 class TH2F;
16 class TH1I;
17 class TDatabasePDG;
18 class AliKFParticle;
19 class AliKFVertex;
20 class AliESDv0;
21 class TArrayI;
22 class TTree;
23 class AliStack;
24
25 class AliTPCcalibV0 : public TNamed {
26 public :
27
28    // List of branches
29
30    AliTPCcalibV0();
31   virtual ~AliTPCcalibV0();
32    virtual void    ProofSlaveBegin(TList * output);
33   void ProcessESD(AliESD *esd, AliStack *stack=0);
34   void MakeMC();
35   void MakeV0s();
36   void ProcessV0(Int_t ftype);
37   void ProcessPI0();
38   Float_t TPCBetheBloch(Float_t bg);
39   //
40   //
41   //  
42 protected:
43   AliKFParticle * Fit(AliKFVertex & primVtx, AliESDv0 *v0, Int_t PDG1, Int_t PDG2);
44 private:
45    TTreeSRedirector   *fDebugStream;  //debug stream for 
46    AliStack           *fStack;        // pointer to kinematic tree        
47    TList          *fOutput;           //output list     
48    AliESD         *fESD;              //! current ED to proccess - NOT OWNER
49    TDatabasePDG   *fPdg;              // particle database
50    TObjArray      *fParticles;         // array of selected MC particles
51    TObjArray      *fV0s;               // array of V0s
52    TObjArray      *fGammas;           // gamma conversion candidates
53    //
54    TArrayI        *fV0type;            // array of types for V0s       
55    TH2F           *fTPCdEdx;              // dEdx spectra
56    TH2F           *fTPCdEdxPi;            // dEdx spectra - pion anti-pion
57    TH2F           *fTPCdEdxEl;            // dEdx spectra - electroen -positrons from gamma
58    TH2F           *fTPCdEdxP;             // dEdx spectra - proton antiproton - lambda -  antilambda
59    //       
60    ClassDef(AliTPCcalibV0,1);
61 };
62
63
64 #endif