]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/qaRec/AliTRDpidChecker.h
move to compiled code and new function prototype
[u/mrichter/AliRoot.git] / TRD / qaRec / AliTRDpidChecker.h
CommitLineData
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
3d86166d 12#ifndef ALITRDRECOTASK_H
13#include "AliTRDrecoTask.h"
14#endif
1a6d7c9a 15
16class TObjArray;
17class TList;
18class TClonesArray;
19class TTreeSRedirector;
20class AliTRDReconstructor;
3d86166d 21class AliTRDpidChecker : public AliTRDrecoTask
1a6d7c9a 22{
23public:
3d86166d 24 AliTRDpidChecker();
1a6d7c9a 25 virtual ~AliTRDpidChecker();
26
d85cd79c 27 void CreateOutputObjects();
28 void Exec(Option_t *option);
29 Bool_t PostProcess();
30 void Terminate(Option_t *);
1a6d7c9a 31
32private:
33 AliTRDpidChecker(const AliTRDpidChecker&); // not implemented
34 AliTRDpidChecker& operator=(const AliTRDpidChecker&); // not implemented
35
36 Double_t GetPionEfficiency(Int_t Index1, Int_t Index2); // calculates the pion efficiency
37 Double_t GetError(Int_t Index1, Int_t Index2); // calculates the error
38
1a6d7c9a 39
40 AliTRDReconstructor *fReconstructor; //! reconstructor needed for recalculation the PID
1a6d7c9a 41
42 ClassDef(AliTRDpidChecker, 1); // TRD PID checker
43};
44
45#endif