1 #ifndef ALIANAVZEROQA_H
2 #define ALIANAVZEROQA_H
4 //------------------------------
5 // Analysis task for quality-assurance
8 // 05/12/2009 cvetan.cheshkov@cern.ch
9 //------------------------------
11 #include "AliAnalysisTaskSE.h"
13 class AliAnaVZEROQA : public AliAnalysisTaskSE
17 AliAnaVZEROQA(const char *name);
18 virtual ~AliAnaVZEROQA() {}
20 virtual void UserCreateOutputObjects();
21 virtual void UserExec(Option_t *option);
22 virtual void Terminate(Option_t *);
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);
30 Float_t CorrectLeadingTime(Int_t i, Float_t time, Float_t adc);
42 TH2F *fhAdcPMTWithTime;
77 AliAnaVZEROQA(const AliAnaVZEROQA&); // not implemented
78 AliAnaVZEROQA& operator=(const AliAnaVZEROQA&); // not implemented
80 ClassDef(AliAnaVZEROQA, 1) // VZERO QA task