Bug fix -
[u/mrichter/AliRoot.git] / PWG1 / AliAnaVZEROQA.h
CommitLineData
ecb38463 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
13class 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);
892effee 29
30 Float_t CorrectLeadingTime(Int_t i, Float_t time, Float_t adc);
ecb38463 31
32 private:
33
34 TList* fListOfHistos;
35
36 TH1F *fhAdcNoTimeA;
37 TH1F *fhAdcWithTimeA;
38 TH1F *fhAdcNoTimeC;
39 TH1F *fhAdcWithTimeC;
40
41 TH2F *fhAdcPMTNoTime;
42 TH2F *fhAdcPMTWithTime;
43
44 TH1F *fhTimeA;
45 TH1F *fhTimeC;
46
47 TH1F *fhWidthA;
48 TH1F *fhWidthC;
49
50 TH2F *fhTimePMT;
51 TH2F *fhWidthPMT;
52
53 TH2F *fhAdcWidthA;
54 TH2F *fhAdcWidthC;
55
56 TH2F *fhTimeCorr;
57
58 TH2F *fhAdcTimeA;
59 TH2F *fhAdcTimeC;
60
61 TH1F *fV0a;
62 TH1F *fV0c;
63 TH1F *fV0multA;
64 TH1F *fV0multC;
65 TH1F *fV0ampl;
66
892effee 67 TH2F *fhTimePMTCorr;
68 TH2F *fhEvents;
69
70 TH2F *fhVtxXYBB;
71 TH1F *fhVtxZBB;
72 TH2F *fhVtxXYBGA;
73 TH1F *fhVtxZBGA;
74 TH2F *fhVtxXYBGC;
75 TH1F *fhVtxZBGC;
76
ecb38463 77 AliAnaVZEROQA(const AliAnaVZEROQA&); // not implemented
78 AliAnaVZEROQA& operator=(const AliAnaVZEROQA&); // not implemented
79
80 ClassDef(AliAnaVZEROQA, 1) // VZERO QA task
81};
82
83#endif