]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/AliAnaVZEROQA.h
Starting point of the VZERO quality-assurance analysis task.
[u/mrichter/AliRoot.git] / PWG1 / AliAnaVZEROQA.h
1 #ifndef ALIANAVZEROQA_H
2 #define ALIANAVZEROQA_H
3
4 //------------------------------
5 // Analysis task for quality-assurance
6 // of VZERO ESD
7 //
8 // 05/12/2009 cvetan.cheshkov@cern.ch
9 //------------------------------
10
11 #include "AliAnalysisTaskSE.h"
12
13 class AliAnaVZEROQA : public AliAnalysisTaskSE
14 {
15  public:         
16   AliAnaVZEROQA();
17   AliAnaVZEROQA(const char *name);
18   virtual ~AliAnaVZEROQA() {}
19
20   virtual void   UserCreateOutputObjects();
21   virtual void   UserExec(Option_t *option);
22   virtual void   Terminate(Option_t *);
23
24   TH1F* CreateHisto1D(const char* name, const char* title, Int_t nBins, Double_t xMin, Double_t xMax,
25                       const char* xLabel = NULL, const char* yLabel = NULL);
26   TH2F* CreateHisto2D(const char* name, const char* title, Int_t nBinsX, Double_t xMin, Double_t xMax,
27                       Int_t nBinsY, Double_t yMin, Double_t yMax,
28                       const char* xLabel = NULL, const char* yLabel = NULL);
29   
30  private:
31
32   TList* fListOfHistos;
33
34   TH1F *fhAdcNoTimeA;
35   TH1F *fhAdcWithTimeA;
36   TH1F *fhAdcNoTimeC;
37   TH1F *fhAdcWithTimeC;
38
39   TH2F *fhAdcPMTNoTime;
40   TH2F *fhAdcPMTWithTime;
41  
42   TH1F *fhTimeA;
43   TH1F *fhTimeC;
44
45   TH1F *fhWidthA;
46   TH1F *fhWidthC;
47
48   TH2F *fhTimePMT;
49   TH2F *fhWidthPMT;
50
51   TH2F *fhAdcWidthA;
52   TH2F *fhAdcWidthC;
53
54   TH2F *fhTimeCorr;
55
56   TH2F *fhAdcTimeA;
57   TH2F *fhAdcTimeC;
58
59   TH1F *fV0a;
60   TH1F *fV0c;
61   TH1F *fV0multA;
62   TH1F *fV0multC;
63   TH1F *fV0ampl;
64
65   AliAnaVZEROQA(const AliAnaVZEROQA&); // not implemented
66   AliAnaVZEROQA& operator=(const AliAnaVZEROQA&); // not implemented
67
68   ClassDef(AliAnaVZEROQA, 1) // VZERO QA task
69 };
70
71 #endif