]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/TPCcalib/AliTPCcalibV0.h
Calibration classes for selection of the tracks for PID using
[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
23
24 class AliTPCcalibV0 : public TNamed {
25 public :
26
27    // List of branches
28
29    AliTPCcalibV0();
30   virtual ~AliTPCcalibV0();
31    virtual void    ProofSlaveBegin(TList * output);
32   void ProcessESD(AliESD *esd);
33   void MakeV0s();
34   void ProcessV0(Int_t ftype);
35   void ProcessPI0();
36   //
37   //
38   //  
39 protected:
40   AliKFParticle * Fit(AliKFVertex & primVtx, AliESDv0 *v0, Int_t PDG1, Int_t PDG2);
41 private:
42    TTreeSRedirector   *fDebugStream;  //debug stream for 
43    TList          *fOutput;           //output list     
44    AliESD         *fESD;              //! current ED to proccess - NOT OWNER
45    TDatabasePDG   *fPdg;              // particle database
46    TObjArray      *fV0s;               // array of V0s
47    TObjArray      *fGammas;           // gamma conversion candidates
48    //
49    TArrayI        *fV0type;            // array of types for V0s       
50    TH2F           *fTPCdEdx;              // dEdx spectra
51    TH2F           *fTPCdEdxPi;            // dEdx spectra - pion anti-pion
52    TH2F           *fTPCdEdxEl;            // dEdx spectra - electroen -positrons from gamma
53    TH2F           *fTPCdEdxP;             // dEdx spectra - proton antiproton - lambda -  antilambda
54    //       
55    ClassDef(AliTPCcalibV0,1);
56 };
57
58
59 #endif