]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/EsdQa.h
Modified for CAF
[u/mrichter/AliRoot.git] / RICH / EsdQa.h
1 //////////////////////////////////////////////////////////
2 // This class has been automatically generated on
3 // Wed Dec  27 19:14:54 2005 by ROOT version 5.12/01
4 // from TTree esdTree/Tree with ESD objects
5 // found on file: AliESDs.root
6 //////////////////////////////////////////////////////////
7
8 #ifndef EsdQa_h
9 #define EsdQa_h
10
11 #include <TSelector.h>        //base class
12 #include <AliESD.h>           //dtor deletes fEsd
13
14 class TH2F;
15 class TH1F;
16
17 class EsdQa : public TSelector {
18
19  public :
20            EsdQa():TSelector(),fChain(0),fEsd(0),fCkovP(0),fMipXY(0),fDifXY(0),fSigP(0) {for(Int_t i=0;i<5;i++) fProb[i]=0;}
21   virtual ~EsdQa()                                                                      {delete fEsd;}
22
23
24   virtual Int_t   Version        () const {return 2;}
25   virtual void    Begin          (TTree *tree);
26   virtual void    SlaveBegin     (TTree *tree);
27   virtual void    Init           (TTree *tree);
28   virtual Bool_t  Notify         ();
29   virtual Bool_t  Process        (Long64_t entry);
30   virtual void    SetOption      (const char *option) { fOption = option; }
31   virtual void    SetObject      (TObject *obj) { fObject = obj; }
32   virtual void    SetInputList   (TList *input) {fInput = input;}
33   virtual TList  *GetOutputList  () const { return fOutput; }
34   virtual void    SlaveTerminate ();
35   virtual void    Terminate      ();
36
37  private: 
38   TTree          *fChain ;   //!pointer to the analyzed TTree or TChain
39   AliESD         *fEsd ;     //!
40
41   TH2F           *fCkovP,*fMipXY,*fDifXY,*fSigP; //!
42   TH1F           *fProb[5];                      //!
43
44   ClassDef(EsdQa,0);
45 };
46
47 #endif