]>
Commit | Line | Data |
---|---|---|
873458ab | 1 | #ifndef ALITRDEFFICIENCYMC_H |
2 | #define ALITRDEFFICIENCYMC_H | |
814ecea4 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
5fbb7894 | 4 | * See cxx source for full Copyright notice */ |
814ecea4 | 5 | |
873458ab | 6 | /* $Id: AliTRDefficiencyMC.h 27496 2008-07-22 08:35:45Z cblume $ */ |
814ecea4 | 7 | |
8 | //////////////////////////////////////////////////////////////////////////// | |
9 | // // | |
10 | // Reconstruction QA // | |
11 | // // | |
12 | //////////////////////////////////////////////////////////////////////////// | |
13 | ||
3d86166d | 14 | #ifndef ALITRDRECOTASK_H |
15 | #include "AliTRDrecoTask.h" | |
16 | #endif | |
814ecea4 | 17 | |
873458ab | 18 | class AliTRDefficiencyMC : public AliTRDrecoTask{ |
ed383798 | 19 | public: |
873458ab | 20 | AliTRDefficiencyMC(); |
21 | virtual ~AliTRDefficiencyMC(){;} | |
ed383798 | 22 | |
e15179be | 23 | void CreateOutputObjects(); |
24 | void Exec(Option_t *); | |
25 | void Terminate(Option_t *); | |
5fbb7894 | 26 | |
e15179be | 27 | Bool_t PostProcess(); |
28 | TObjArray* Histos(); | |
29 | Bool_t GetRefFigure(Int_t ifig); | |
3d86166d | 30 | |
ed383798 | 31 | private: |
5fbb7894 | 32 | enum{ |
33 | kEfficiencyHistogram = 0, | |
34 | kContaminationHistogram = 1, | |
35 | kEfficiencySpeciesHistogram = 2, | |
36 | kContaminationSpeciesHistogram = 7, | |
37 | kEfficiencyNoPID = 12, | |
38 | kContaminationNoPID = 13 | |
39 | }; | |
40 | typedef enum{ | |
41 | kAccepted = 0, | |
42 | kRejected = 1, | |
43 | kContamination = 2 | |
44 | } FillingMode_t; | |
873458ab | 45 | AliTRDefficiencyMC(const AliTRDefficiencyMC &); |
46 | AliTRDefficiencyMC& operator=(const AliTRDefficiencyMC &); | |
5fbb7894 | 47 | |
48 | void FillHistograms(Int_t ntracks, Int_t *indices, FillingMode_t mode); | |
49 | void FillStreamTrackWOMC(AliTRDtrackInfo *trkInf); | |
50 | ||
51 | Bool_t IsFindable(AliTRDtrackInfo *trkInf); | |
52 | Bool_t IsRegistered(AliTRDtrackInfo *trkInf, Int_t *indices, Int_t nTracks); | |
3d86166d | 53 | |
873458ab | 54 | ClassDef(AliTRDefficiencyMC, 1); // Combined tracking efficiency |
814ecea4 | 55 | }; |
5fbb7894 | 56 | |
814ecea4 | 57 | #endif |