]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/qaRec/AliTRDpidChecker.h
From Mikolaj: add TPC raw and FMD stuff to the list of macros that can be activated.
[u/mrichter/AliRoot.git] / TRD / qaRec / AliTRDpidChecker.h
CommitLineData
773d3f8c 1#ifndef AliTRDpidChecker_cxx\r
2#define AliTRDpidChecker_cxx\r
3\r
4// Task to check PID performance of the TRD\r
5\r
6class AliTRDReconstructor;\r
7\r
8\r
9#include "AliAnalysisTask.h"\r
10\r
11class TObjArray;\r
12class TList;\r
13class TClonesArray;\r
14class TTreeSRedirector;\r
15\r
16class AliTRDpidChecker : public AliAnalysisTask {\r
17 public:\r
18 AliTRDpidChecker(const char *name = "AliTRDpidChecker");\r
19 virtual ~AliTRDpidChecker();\r
20 \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
27 \r
28 private:\r
29 AliTRDpidChecker(const AliTRDpidChecker&); // not implemented\r
30 AliTRDpidChecker& operator=(const AliTRDpidChecker&); // not implemented\r
31\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
34 \r
35 TObjArray *fObjectContainer; // Container\r
36 TObjArray *fTracks; // Array of tracks\r
37\r
38 AliTRDReconstructor *fReconstructor; // reconstructor needed for recalculation the PID\r
39/* Int_t fDebugLevel; // Debug level */\r
40/* TTreeSRedirector *fDebugStream; // Debug stream */\r
41\r
42 ClassDef(AliTRDpidChecker, 1); // example of analysis\r
43};\r
44\r
45#endif\r