]>
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 | ||
c7cf2032 | 12 | #include "AliPID.h" |
13 | #include "../Cal/AliTRDCalPID.h" | |
14 | ||
3d86166d | 15 | #ifndef ALITRDRECOTASK_H |
16 | #include "AliTRDrecoTask.h" | |
17 | #endif | |
1a6d7c9a | 18 | |
19 | class TObjArray; | |
20 | class TList; | |
21 | class TClonesArray; | |
22 | class TTreeSRedirector; | |
23 | class AliTRDReconstructor; | |
3d86166d | 24 | class AliTRDpidChecker : public AliTRDrecoTask |
1a6d7c9a | 25 | { |
c7cf2032 | 26 | |
27 | enum{ | |
422a2dc0 | 28 | kLQlikelihood = 0 // place for 2-dim LQ electron likelihood distributions |
29 | ,kNNlikelihood = 1 // place for NN electron likelihood distributions | |
30 | ,kdEdx = 2 // place for the dE/dx spectra | |
b718144c | 31 | ,kdEdxSlice = 3 // place for the dE/dx spectra |
32 | ,kPH = 4 // place for pulse height spectra | |
33 | ,kNClus = 5 // place for the number of clusters per track | |
34 | ,kMomentum = 6 // place for the momentum distribution | |
35 | ,kMomentumBin = 7 // place for the momentum distribution | |
36 | ,kGraphLQ = 8 // place for the 2-dim LQ pion efficiencies | |
37 | ,kGraphNN = 9 // place for the NN pion efficiencies | |
c7cf2032 | 38 | }; |
39 | ||
40 | enum{ | |
41 | kGraphStart = kGraphLQ | |
28efdace | 42 | }; |
c7cf2032 | 43 | |
1a6d7c9a | 44 | public: |
3d86166d | 45 | AliTRDpidChecker(); |
1a6d7c9a | 46 | virtual ~AliTRDpidChecker(); |
47 | ||
d85cd79c | 48 | void CreateOutputObjects(); |
49 | void Exec(Option_t *option); | |
28efdace | 50 | void GetRefFigure(Int_t ifig, Int_t &first, Int_t &last, Option_t *opt); |
a391a274 | 51 | void GetRefFigure(Int_t ifig); |
d85cd79c | 52 | Bool_t PostProcess(); |
53 | void Terminate(Option_t *); | |
1a6d7c9a | 54 | |
c4c5bbfb | 55 | |
1a6d7c9a | 56 | private: |
c4c5bbfb | 57 | AliTRDpidChecker(const AliTRDpidChecker&); // not implemented |
58 | AliTRDpidChecker& operator=(const AliTRDpidChecker&); // not implemented | |
1a6d7c9a | 59 | |
1a6d7c9a | 60 | AliTRDReconstructor *fReconstructor; //! reconstructor needed for recalculation the PID |
1a6d7c9a | 61 | |
62 | ClassDef(AliTRDpidChecker, 1); // TRD PID checker | |
63 | }; | |
64 | ||
65 | #endif |