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 ,kPH = 3 // place for pulse height spectra
32 ,kNClus = 4 // place for the number of clusters per track
33 ,kMomentum = 5 // place for the momentum distribution
34 ,kMomentumBin = 6 // place for the momentum distribution
35 ,kGraphLQ = 7 // place for the 2-dim LQ pion efficiencies
36 ,kGraphNN = 8 // place for the NN pion efficiencies
40 kGraphStart = kGraphLQ
45 virtual ~AliTRDpidChecker();
47 void CreateOutputObjects();
48 void Exec(Option_t *option);
49 void GetRefFigure(Int_t ifig, Int_t &first, Int_t &last, Option_t *opt);
50 void GetRefFigure(Int_t ifig);
52 void Terminate(Option_t *);
56 AliTRDpidChecker(const AliTRDpidChecker&); // not implemented
57 AliTRDpidChecker& operator=(const AliTRDpidChecker&); // not implemented
59 AliTRDReconstructor *fReconstructor; //! reconstructor needed for recalculation the PID
61 ClassDef(AliTRDpidChecker, 1); // TRD PID checker