end-of-line normalization
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / photons / AliAnalysisTaskPMD.h
CommitLineData
7fac8669 1#ifndef AliAnalysisTaskPMD_cxx
2#define AliAnalysisTaskPMD_cxx
3
4// AnalysisTask For PMD
5// Authors: Sudipan De, Subhash Singha
6
7class TH1F;
8class TH2F;
9class AliESDEvent;
10class AliESDPmdTrack;
11class AliESDVertex;
12
13#include <AliAnalysisTaskSE.h>
14
15class AliAnalysisTaskPMD : public AliAnalysisTaskSE {
16 public:
17 AliAnalysisTaskPMD() : AliAnalysisTaskSE(),
18 fESD(0),
19 fOutputList(0),
20 fHistTotEvent(0),
21 fHistTotEventAfterPhySel(0),
22 fHistTotEventAfterVtx(0),
23 fHistVtxZ(0),
24 fHistXYPre(0),
25 fHistEta(0),
26 fHistEta1(0),
27 fHistMultMeas(0),
28 fHistMultMeas1(0)
29 {
30 for(Int_t i=0; i<10; i++){
31 fHistMultMeasEtaBinA[i] = 0;
32 fHistMultMeasEtaBinA1[i] = 0;
33 }
34 }
35 AliAnalysisTaskPMD(const char *name);
36 virtual ~AliAnalysisTaskPMD() {}
37
38 virtual void UserCreateOutputObjects();
39 virtual void UserExec(Option_t *option);
40 virtual void Terminate(Option_t *);
41
42 private:
43 AliESDEvent *fESD; //! ESD object
44 TList *fOutputList; //! Output list
45 TH1F *fHistTotEvent; //total event
46 TH1F *fHistTotEventAfterPhySel; //# event after physics selection
47 TH1F *fHistTotEventAfterVtx; //# event after vertex cut
48 TH1F *fHistVtxZ;//z vertex distribution
49 TH2F *fHistXYPre;//2d scatter plot pre
50 TH1F *fHistEta; // eta distribution in PMD coverage
51 TH1F *fHistEta1; // eta distribution in PMD coverage
52 TH1F *fHistMultMeas;//measured multiplicity (2.3-3.9)
53 TH1F *fHistMultMeas1;//measured multiplicity (2.3-3.9)
54
55 TH1F *fHistMultMeasEtaBinA[10];//meas. mult. dist. for diff. eta bins
56 TH1F *fHistMultMeasEtaBinA1[10];//meas. mult. dist. for diff. eta bins
57
58 AliAnalysisTaskPMD(const AliAnalysisTaskPMD&); // not implemented
59 AliAnalysisTaskPMD& operator=(const AliAnalysisTaskPMD&); // not implemented
60
61 ClassDef(AliAnalysisTaskPMD, 1); // example of analysis
62};
63
64#endif