end-of-line normalization
[u/mrichter/AliRoot.git] / PWGCF / EBYE / Fluctuations / AliAnalysisTaskChargeFluctuations.h
CommitLineData
a65a7e70 1#ifndef ALIANALYSISTASKCHARGEFLUCTUATIONS_CXX
2#define ALIANALYSISTASKCHARGEFLUCTUATIONS_CXX
3
4// Analysis task for the charge fluctuations studies
5// Authors: Panos Cristakoglou@cern.ch
6
7class TList;
8class TH1F;
9
10class AliESDtrackCuts;
11
12#include "AliAnalysisTaskSE.h"
13
14class AliAnalysisTaskChargeFluctuations : public AliAnalysisTaskSE {
15 public:
16 AliAnalysisTaskChargeFluctuations(const char *name = "AliAnalysisTaskChargeFluctuations");
17 virtual ~AliAnalysisTaskChargeFluctuations() {}
18
19 virtual void UserCreateOutputObjects();
20 virtual void UserExec(Option_t *option);
21 virtual void Terminate(Option_t *);
22
23 void SetAnalysisCutObject(AliESDtrackCuts *const trackCuts) {
24 fESDtrackCuts = trackCuts;}
25 void SetVertexDiamond(Double_t vx, Double_t vy, Double_t vz) {
26 fVxMax = vx;
27 fVyMax = vy;
28 fVzMax = vz;
29 }
30
31 void UseOfflineTrigger() {fUseOfflineTrigger = kTRUE;}
32
33 private:
34 TList *fList; //fList object
35 TH1F *fHistEventStats; //event stats
36 TH1F *fHistVx; //x coordinate of the primary vertex
37 TH1F *fHistVy; //y coordinate of the primary vertex
38 TH1F *fHistVz; //z coordinate of the primary vertex
39
40 AliESDtrackCuts *fESDtrackCuts; //ESD track cuts
41
42 Bool_t fUseOfflineTrigger;//Usage of the offline trigger selection
43
44 Double_t fVxMax;//vxmax
45 Double_t fVyMax;//vymax
46 Double_t fVzMax;//vzmax
47
48 AliAnalysisTaskChargeFluctuations(const AliAnalysisTaskChargeFluctuations&); // not implemented
49 AliAnalysisTaskChargeFluctuations& operator=(const AliAnalysisTaskChargeFluctuations&); // not implemented
50
51 ClassDef(AliAnalysisTaskChargeFluctuations, 1); // example of analysis
52};
53
54#endif