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