]>
Commit | Line | Data |
---|---|---|
1a6d7c9a | 1 | #ifndef ALITRDPIDCHECKER_H |
2 | #define ALITRDPIDCHECKER_H | |
3 | ||
4 | ////////////////////////////////////////////////////// | |
5 | // | |
6 | // Task to check PID performance of the TRD | |
7 | // | |
8 | // Author : Alex Wilk <wilka@uni-muenster.de> | |
9 | // | |
10 | /////////////////////////////////////////////////////// | |
11 | ||
3d86166d | 12 | #ifndef ALITRDRECOTASK_H |
13 | #include "AliTRDrecoTask.h" | |
14 | #endif | |
1a6d7c9a | 15 | |
16 | class TObjArray; | |
17 | class TList; | |
18 | class TClonesArray; | |
19 | class TTreeSRedirector; | |
20 | class AliTRDReconstructor; | |
3d86166d | 21 | class AliTRDpidChecker : public AliTRDrecoTask |
1a6d7c9a | 22 | { |
23 | public: | |
3d86166d | 24 | AliTRDpidChecker(); |
1a6d7c9a | 25 | virtual ~AliTRDpidChecker(); |
26 | ||
d85cd79c | 27 | void CreateOutputObjects(); |
28 | void Exec(Option_t *option); | |
29 | Bool_t PostProcess(); | |
30 | void Terminate(Option_t *); | |
1a6d7c9a | 31 | |
32 | private: | |
33 | AliTRDpidChecker(const AliTRDpidChecker&); // not implemented | |
34 | AliTRDpidChecker& operator=(const AliTRDpidChecker&); // not implemented | |
35 | ||
36 | Double_t GetPionEfficiency(Int_t Index1, Int_t Index2); // calculates the pion efficiency | |
37 | Double_t GetError(Int_t Index1, Int_t Index2); // calculates the error | |
38 | ||
1a6d7c9a | 39 | |
40 | AliTRDReconstructor *fReconstructor; //! reconstructor needed for recalculation the PID | |
1a6d7c9a | 41 | |
42 | ClassDef(AliTRDpidChecker, 1); // TRD PID checker | |
43 | }; | |
44 | ||
45 | #endif |