]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGPP/TRD/AliTRDefficiency.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGPP / TRD / AliTRDefficiency.h
1 #ifndef ALITRDEFFICIENCY_H
2 #define ALITRDEFFICIENCY_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id: AliTRDefficiency.h 27496 2008-07-22 08:35:45Z cblume $ */
7
8 ////////////////////////////////////////////////////////////////////////////
9 //                                                                        //
10 //  Reconstruction QA                                                     //
11 //                                                                        //
12 ////////////////////////////////////////////////////////////////////////////
13
14 #ifndef ALITRDRECOTASK_H
15 #include "AliTRDrecoTask.h"
16 #endif
17
18 class AliTRDtrackV1;
19 class TH2;
20 class TH3;
21 class TObjArray;
22 class TList;
23 class TClonesArray;
24 class TTreeSRedirector;
25 class AliTRDefficiency : public AliTRDrecoTask
26 {
27 public:
28   enum ETRDefficiencySteer {
29      kDump    = BIT(18) // dump 3D projections
30   };
31   AliTRDefficiency();
32   AliTRDefficiency(char* name);
33   virtual       ~AliTRDefficiency();
34 //  void        UserCreateOutputObjects();
35   void          LocalUserExec(Option_t *);
36   Bool_t        GetRefFigure(Int_t ifig);
37   TObjArray*    Histos();
38   TH1*          PlotBasicEff(const AliTRDtrackV1 *t=NULL);
39 //  TH1*          PlotMC(const AliTRDtrackV1 *t=NULL);
40   void          MakeSummary();
41   Bool_t        PostProcess();
42   TObjArray*    Results() const {return fProj;}
43   void          SetDump3D(const Bool_t dump=kTRUE)    { SetBit(kDump, dump);}
44 protected:
45   Bool_t        MakeProjectionBasicEff();
46   Bool_t        HasDump3D() const                     { return TestBit(kDump);}
47
48 private:
49   AliTRDefficiency(const AliTRDefficiency&);
50   AliTRDefficiency& operator=(const AliTRDefficiency&);
51
52   TClonesArray     *fMissed;          // Missed ?
53   TObjArray        *fProj;            //! result holder - sigma values
54
55   ClassDef(AliTRDefficiency, 2) // TRD tracking efficiency
56 };
57
58 #endif
59