DQM configure file
[u/mrichter/AliRoot.git] / PWGPP / comparison / AliTRDComparisonTask.h
1 #ifndef ALITRDCOMPARISONTASK_H
2 #define ALITRDCOMPARISONTASK_H
3
4 //-------------------------------------------------------------------------
5 //
6 // This is the PROOF-enabled version of TRD/Macros/AliTRDComparisonV2.C macro.
7 // Origin:  Andrei.Zalite@cern.ch
8 //
9 //-------------------------------------------------------------------------
10
11 class TList;
12 class TH1F;
13 class TH2F;
14 class TClonesArray;
15
16 #ifdef __MAKECINT__
17 #pragma link C++ class AliMCComparisonTrack+;
18 #endif
19
20 #include "AliAnalysisTaskSE.h"
21
22 class AliTRDComparisonTask: public AliAnalysisTaskSE
23 {
24   public:
25     AliTRDComparisonTask();
26     AliTRDComparisonTask(const char* name);
27     virtual ~AliTRDComparisonTask() {}
28     
29     virtual void UserCreateOutputObjects();
30     virtual void UserExec(Option_t *option);
31     virtual void Terminate(Option_t *);
32   
33   private:
34     TList* fListOfHistos;; // The list of output histos
35     
36     TH1F* fGood;           // good tracks
37     TH1F* fFound;          // found tracks
38     TH1F* fFake;           // fake tracks
39     TH1F* fP;              // phi resolution
40     TH1F* fL;              // lambda resolution 
41     TH1F* fPt;             // pt resolution
42     TH1F* fHmpt;           // Y and Z resolution
43     TH1F* fE;              // dE/dx for MIP
44     TH2F* fEp;             // dE/dx vs momentum
45     TH1F* fGoodPhi;        // phi for good tracks
46     TH1F* fFoundPhi;       // phi for found tracks
47     TH1F* fZ;              // z resolution
48     TH1F* fC;              // number of assigned clusters
49     
50     AliTRDComparisonTask(const AliTRDComparisonTask&); // not implemented
51     AliTRDComparisonTask& operator=(const AliTRDComparisonTask&); // not implemented
52
53     ClassDef(AliTRDComparisonTask, 1); // example of analysis 
54 };
55
56 #endif