]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCcalibV0.h
Adding AliTPCcalibV0 to the Makefile (Marian)
[u/mrichter/AliRoot.git] / TPC / 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   TH2F * GetHistograms();
40   void BinLogX(TH2F * h);
41   //
42   //
43   //  
44   static AliKFParticle * Fit(AliKFVertex & primVtx, AliESDv0 *v0, Int_t PDG1, Int_t PDG2);
45   
46 protected:
47 private:
48    TTreeSRedirector   *fDebugStream;  //debug stream for 
49    AliStack           *fStack;        // pointer to kinematic tree        
50    TList          *fOutput;           //output list     
51    AliESD         *fESD;              //! current ED to proccess - NOT OWNER
52    TDatabasePDG   *fPdg;              // particle database
53    TObjArray      *fParticles;         // array of selected MC particles
54    TObjArray      *fV0s;               // array of V0s
55    TObjArray      *fGammas;           // gamma conversion candidates
56    //
57    TArrayI        *fV0type;            // array of types for V0s       
58    TH2F           *fTPCdEdx;              // dEdx spectra
59    TH2F           *fTPCdEdxPi;            // dEdx spectra - pion anti-pion
60    TH2F           *fTPCdEdxEl;            // dEdx spectra - electroen -positrons from gamma
61    TH2F           *fTPCdEdxP;             // dEdx spectra - proton antiproton - lambda -  antilambda
62    //       
63    ClassDef(AliTPCcalibV0,1);
64 };
65
66
67 #endif