1 #ifndef ALITRDPIDCHECKER_H
2 #define ALITRDPIDCHECKER_H
4 //////////////////////////////////////////////////////
6 // Task to check PID performance of the TRD
8 // Author : Alex Wilk <wilka@uni-muenster.de>
10 ///////////////////////////////////////////////////////
13 #include "../Cal/AliTRDCalPID.h"
15 #ifndef ALITRDRECOTASK_H
16 #include "AliTRDrecoTask.h"
22 class TTreeSRedirector;
23 class AliTRDReconstructor;
24 class AliTRDpidChecker : public AliTRDrecoTask
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
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
41 kGraphStart = kGraphLQ
46 virtual ~AliTRDpidChecker();
48 void CreateOutputObjects();
49 void Exec(Option_t *option);
50 void GetRefFigure(Int_t ifig, Int_t &first, Int_t &last, Option_t *opt);
51 void GetRefFigure(Int_t ifig);
53 void Terminate(Option_t *);
57 AliTRDpidChecker(const AliTRDpidChecker&); // not implemented
58 AliTRDpidChecker& operator=(const AliTRDpidChecker&); // not implemented
60 AliTRDReconstructor *fReconstructor; //! reconstructor needed for recalculation the PID
62 ClassDef(AliTRDpidChecker, 1); // TRD PID checker