removed warning
[u/mrichter/AliRoot.git] / PWGPP / AliAnaFwdDetsQA.h
CommitLineData
684b93f0 1#ifndef ALIANAFWDDETSQA_H
2#define ALIANAFWDDETSQA_H
3
4//------------------------------
5// Analysis task for quality-assurance
6// of forward detectors ESD
7//
8// 12/06/2009 cvetan.cheshkov@cern.ch
9//------------------------------
10
7a3a19eb 11
12class TH1;
13class TH1F;
14class TH2F;
15
684b93f0 16#include "AliAnalysisTaskSE.h"
17
18class AliAnaFwdDetsQA : public AliAnalysisTaskSE
19{
20 public:
21 AliAnaFwdDetsQA();
22 AliAnaFwdDetsQA(const char *name);
23 virtual ~AliAnaFwdDetsQA() {}
24
25 virtual void UserCreateOutputObjects();
26 virtual void UserExec(Option_t *option);
27 virtual void Terminate(Option_t *);
28
29 TH1F* CreateHisto(const char* name, const char* title, Int_t nBins, Double_t xMin,
30 Double_t xMax, const char* xLabel = NULL, const char* yLabel = NULL);
31 TH1F* CreateEffHisto(const TH1F* hGen, const TH1F* hRec);
32 Bool_t FitHisto(TH1* histo, Double_t& res, Double_t& resError);
33
34 private:
35
fc6c8a4a 36 TList* fListOfHistos; // Container for output histos
37
38 TH1F* fT0vtxRec; // T0 reconstructed z vertex
39 TH2F* fT0vtxRecGen; // T0 reconstructed vs generate z vertex
40 TH1F* fT0time; // T0 time0
41 TH1F* fT0time2; // T0 time0
42 TH1F* fT0mult; // T0 multiplicity
43 TH1F* fT0vtxRes; // T0 z vertex resolution
44 TH1F* fT0ampl; // T0 signals amplitude
45
46 TH1F* fV0a; // V0 number of fired PMs A side
47 TH1F* fV0c; // V0 number of fired PMs C side
48 TH1F* fV0multA; // V0 multiplicity on A side
49 TH1F* fV0multC; // V0 multiplicity on C side
50 TH2F* fV0multAcorr; // V0 reconstructed vs generated multiplicity on A side
51 TH2F* fV0multCcorr; // V0 reconstructed vs generated multiplicity on C side
52 TH2F* fV0Acorr; // V0 number of fired PMs (reco vs gen) A side
53 TH2F* fV0Ccorr; // V0 number of fired PMs (reco vs gen) C side
54 TH1F* fV0ampl; // V0 multiplicity in single channel
684b93f0 55
56 AliAnaFwdDetsQA(const AliAnaFwdDetsQA&); // not implemented
57 AliAnaFwdDetsQA& operator=(const AliAnaFwdDetsQA&); // not implemented
58
59 ClassDef(AliAnaFwdDetsQA, 1) // example of analysis
60};
61
62#endif