]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGPP/TRD/AliTRDefficiency.h
expand trending functionality by generic PutTrendValue/GetTrendValue
[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 TObjArray;
20 class TList;
21 class TClonesArray;
22 class TTreeSRedirector;
23 class AliTRDefficiency : public AliTRDrecoTask
24 {
25 public:
26   enum ETRDefficiencySteer {
27      kDump    = BIT(18) // dump 3D projections
28   };
29   AliTRDefficiency();
30   AliTRDefficiency(char* name);
31   virtual       ~AliTRDefficiency();
32 //  void        UserCreateOutputObjects();
33   void          LocalUserExec(Option_t *);
34   Bool_t        GetRefFigure(Int_t ifig);
35   static Int_t  GetPtBin(Float_t pt);
36   TObjArray*    Histos();
37   TH1*          PlotBasicEff(const AliTRDtrackV1 *t=NULL);
38 //  TH1*          PlotMC(const AliTRDtrackV1 *t=NULL);
39   void          MakeSummary();
40   Bool_t        PostProcess();
41   TObjArray*    Results() const {return fProj;}
42   void          SetDump3D(const Bool_t dump=kTRUE)    { SetBit(kDump, dump);}
43 protected:
44   Bool_t        MakeProjectionBasicEff();
45   Bool_t        HasDump3D() const                     { return TestBit(kDump);}
46
47 private:
48   AliTRDefficiency(const AliTRDefficiency&);
49   AliTRDefficiency& operator=(const AliTRDefficiency&);
50
51   TClonesArray     *fMissed;          // Missed ?
52   TObjArray        *fProj;            //! result holder - sigma values
53
54   ClassDef(AliTRDefficiency, 2) // TRD tracking efficiency
55 };
56
57 #endif
58