1 #ifndef AliTRDpidChecker_cxx
\r
2 #define AliTRDpidChecker_cxx
\r
4 // Task to check PID performance of the TRD
\r
6 class AliTRDReconstructor;
\r
9 #include "AliAnalysisTask.h"
\r
14 class TTreeSRedirector;
\r
16 class AliTRDpidChecker : public AliAnalysisTask {
\r
18 AliTRDpidChecker(const char *name = "AliTRDpidChecker");
\r
19 virtual ~AliTRDpidChecker();
\r
21 void ConnectInputData(Option_t *);
\r
22 void CreateOutputObjects();
\r
23 void Exec(Option_t *option);
\r
24 void Terminate(Option_t *);
\r
25 /* Int_t GetDebugLevel() const {return fDebugLevel;} */
\r
26 /* void SetDebugLevel(Int_t debug){fDebugLevel = debug;} */
\r
29 AliTRDpidChecker(const AliTRDpidChecker&); // not implemented
\r
30 AliTRDpidChecker& operator=(const AliTRDpidChecker&); // not implemented
\r
32 Double_t GetPionEfficiency(Int_t Index1, Int_t Index2); // calculates the pion efficiency
\r
33 Double_t GetError(Int_t Index1, Int_t Index2); // calculates the error
\r
35 TObjArray *fObjectContainer; // Container
\r
36 TObjArray *fTracks; // Array of tracks
\r
38 AliTRDReconstructor *fReconstructor; // reconstructor needed for recalculation the PID
\r
39 /* Int_t fDebugLevel; // Debug level */
\r
40 /* TTreeSRedirector *fDebugStream; // Debug stream */
\r
42 ClassDef(AliTRDpidChecker, 1); // example of analysis
\r