AliPhysics  7c9d977 (7c9d977)
AliAnalysisTaskFlowEventforRP.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3 /* $Id: $ */
4 
6 // AliAnalysisTaskFlowEventfoRP:
7 // analysis task to fill the flow event
8 // and calculate the ReactionPlane for the AODheader
10 
11 #ifndef AliAnalysisTaskFlowEventforRP_H
12 #define AliAnalysisTaskFlowEventforRP_H
13 
14 class AliCFManager;
15 
16 #include "TString.h"
17 #include "AliAnalysisTaskSE.h"
18 
20  public:
22  AliAnalysisTaskFlowEventforRP(const char *name);
24 
25  //virtual void ConnectInputData(Option_t *);
26  virtual void UserCreateOutputObjects();
27  virtual void UserExec(Option_t *option);
28  virtual void Terminate(Option_t *);
29 
30  void SetAnalysisType(TString type) { this->fAnalysisType = type; }
31  TString GetAnalysisType() const { return this->fAnalysisType; }
32 
33  void SetMinMult(Int_t multmin) {this->fMinMult = multmin; }
34  Int_t GetMinMult() const {return this->fMinMult; }
35  void SetMaxMult(Int_t multmax) {this->fMaxMult = multmax; }
36  Int_t GetMaxMult() const {return this->fMaxMult; }
37 
38  void SetCFManager1(AliCFManager* cfmgr) {this->fCFManager1 = cfmgr; }
39  AliCFManager* GetCFManager1() {return this->fCFManager1; }
40  void SetCFManager2(AliCFManager* cfmgr) {this->fCFManager2 = cfmgr; }
41  AliCFManager* GetCFManager2() {return this->fCFManager2; }
42 
43 
44  private:
45 
48 
49  TString fAnalysisType; // can be MC, ESD or AOD
50  AliCFManager* fCFManager1; // correction framework manager
51  AliCFManager* fCFManager2; // correction framework manager
52  Int_t fMinMult; // Minimum multiplicity from tracks selected using CORRFW
53  Int_t fMaxMult; // Maximum multiplicity from tracks selected using CORRFW
54  Double_t fMCReactionPlaneAngle; // the angle of the reaction plane from the MC truth
55 
56  ClassDef(AliAnalysisTaskFlowEventforRP, 1); // example of analysis
57 };
58 
59 #endif
60 
double Double_t
Definition: External.C:58
int Int_t
Definition: External.C:63
AliAnalysisTaskFlowEventforRP & operator=(const AliAnalysisTaskFlowEventforRP &aAnalysisTask)
virtual void UserExec(Option_t *option)
const char Option_t
Definition: External.C:48