AliPhysics  764b6ea (764b6ea)
AliAnalysisTaskMCEventPlane.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 
5 #ifndef ALIANALYSISTASKMCEVENTPLANE_H
6 #define ALIANALYSISTASKMCEVENTPLANE_H
7 
8 // AliAnalysisTaskMCEventPlane:
9 // analysis task for
10 // Monte Carlo Event Plane
11 // Author:
12 // Naomi van der Kolk (kolk@nikhef.nl)
13 
14 class AliFlowEventSimple;
16 class TList;
17 
18 #include "TString.h"
19 #include "AliAnalysisTaskSE.h"
20 
22  public:
23 
25  AliAnalysisTaskMCEventPlane(const char *name);
27 
28  virtual void UserCreateOutputObjects();
29  virtual void UserExec(Option_t *option);
30  virtual void Terminate(Option_t *);
31 
32  void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;};
33  Int_t GetHarmonic() const {return this->fHarmonic;};
34 
35  // Objects needed for mixed harmonics study:
38  void SetNinCorrelator(Int_t const n) {this->fNinCorrelator = n;};
39  Int_t GetNinCorrelator() const {return this->fNinCorrelator;};
40  void SetMinCorrelator(Int_t const m) {this->fMinCorrelator = m;};
41  Int_t GetMinCorrelator() const {return this->fMinCorrelator;};
42  void SetXinPairAngle(Double_t const xipa) {this->fXinPairAngle = xipa;};
43  Double_t GetXinPairAngle() const {return this->fXinPairAngle;};
44  void SetnBinsMult(Int_t const nbm) {this->fnBinsMult = nbm;};
45  Int_t GetnBinsMult() const {return this->fnBinsMult;};
46  void SetMinMult(Double_t const minm) {this->fMinMult = minm;};
47  Double_t GetMinMult() const {return this->fMinMult;};
48  void SetMaxMult(Double_t const maxm) {this->fMaxMult = maxm;};
49  Double_t GetMaxMult() const {return this->fMaxMult;};
50 
51  private:
52 
55 
56  AliFlowEventSimple* fEvent; //input event
57  AliFlowAnalysisWithMCEventPlane* fMc; // MC EP analysis object
58  TList* fListHistos; // collection of output
59  Int_t fHarmonic; // harmonic
60  // Objects needed for mixed harmonics study:
61  Bool_t fEvaluateMixedHarmonics; // evaluate and store objects relevant for mixed harmonics
62  Int_t fnBinsMult; // number of multiplicity bins for mixed harmonics analysis versus multiplicity
63  Double_t fMinMult; // minimal multiplicity for mixed harmonics analysis versus multiplicity
64  Double_t fMaxMult; // maximal multiplicity for mixed harmonics analysis versus multiplicity
65  Int_t fNinCorrelator; // n in <cos[m*phi_{pair}-n*RP]> and <sin[m*phi_{pair}-n*RP]>, where phi_{pair} = x*phi1+(1-x)*phi2
66  Int_t fMinCorrelator; // m in <cos[m*phi_{pair}-n*RP]> and <sin[m*phi_{pair}-n*RP]>, where phi_{pair} = x*phi1+(1-x)*phi2
67  Double_t fXinPairAngle; // x in definition phi_{pair} = x*phi1+(1-x)*phi2
68 
69  ClassDef(AliAnalysisTaskMCEventPlane, 1); // AliAnalysisTaskMCEventPlane class object
70 };
71 
72 #endif
73 
void SetHarmonic(Int_t const harmonic)
virtual void UserExec(Option_t *option)
double Double_t
Definition: External.C:58
void SetMaxMult(Double_t const maxm)
void SetXinPairAngle(Double_t const xipa)
int Int_t
Definition: External.C:63
AliFlowAnalysisWithMCEventPlane * fMc
void SetEvaluateMixedHarmonics(Bool_t const emh)
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
void SetMinMult(Double_t const minm)
AliAnalysisTaskMCEventPlane & operator=(const AliAnalysisTaskMCEventPlane &aAnalysis)