]>
Commit | Line | Data |
---|---|---|
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 | |
12 | class TH1; | |
13 | class TH1F; | |
14 | class TH2F; | |
15 | ||
684b93f0 | 16 | #include "AliAnalysisTaskSE.h" |
17 | ||
18 | class 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 | ||
36 | TList* fListOfHistos; | |
37 | ||
38 | TH1F* fT0vtxRec; | |
39 | TH2F* fT0vtxRecGen; | |
40 | TH1F* fT0time; | |
c543bd05 | 41 | TH1F* fT0time2; |
684b93f0 | 42 | TH1F* fT0mult; |
43 | TH1F* fT0vtxRes; | |
c543bd05 | 44 | TH1F* fT0ampl; |
684b93f0 | 45 | |
46 | TH1F* fV0a; | |
47 | TH1F* fV0c; | |
48 | TH1F* fV0multA; | |
49 | TH1F* fV0multC; | |
50 | TH2F* fV0multAcorr; | |
51 | TH2F* fV0multCcorr; | |
52 | TH2F* fV0Acorr; | |
53 | TH2F* fV0Ccorr; | |
c543bd05 | 54 | TH1F* fV0ampl; |
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 |