]>
Commit | Line | Data |
---|---|---|
1ee39b3a | 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 | ||
eb05d549 | 18 | class AliTRDtrackV1; |
1ee39b3a | 19 | class TObjArray; |
20 | class TList; | |
21 | class TClonesArray; | |
22 | class TTreeSRedirector; | |
23 | class AliTRDefficiency : public AliTRDrecoTask | |
24 | { | |
25 | public: | |
668a0654 | 26 | enum ETRDefficiencySteer { |
27 | kDump = BIT(18) // dump 3D projections | |
28 | }; | |
1ee39b3a | 29 | AliTRDefficiency(); |
f8f46e4d | 30 | AliTRDefficiency(char* name); |
eb05d549 | 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); | |
eb05d549 | 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;} | |
668a0654 | 42 | void SetDump3D(const Bool_t dump=kTRUE) { SetBit(kDump, dump);} |
eb05d549 | 43 | protected: |
44 | Bool_t MakeProjectionBasicEff(); | |
668a0654 | 45 | Bool_t HasDump3D() const { return TestBit(kDump);} |
1ee39b3a | 46 | |
47 | private: | |
48 | AliTRDefficiency(const AliTRDefficiency&); | |
49 | AliTRDefficiency& operator=(const AliTRDefficiency&); | |
50 | ||
eb05d549 | 51 | TClonesArray *fMissed; // Missed ? |
52 | TObjArray *fProj; //! result holder - sigma values | |
1ee39b3a | 53 | |
eb05d549 | 54 | ClassDef(AliTRDefficiency, 2) // TRD tracking efficiency |
1ee39b3a | 55 | }; |
56 | ||
57 | #endif | |
58 |