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