AliPhysics  6cf2591 (6cf2591)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliForwardMCFlowTaskQC.h
Go to the documentation of this file.
1 //
2 // Calculate the flow in the forward regions using the Q cumulants method
3 //
4 #ifndef ALIFORWARDMCFLOWTASKQC_H
5 #define ALIFORWARDMCFLOWTASKQC_H
6 
14 #include "AliForwardFlowTaskQC.h"
15 #include "AliForwardFlowWeights.h"
16 class TGraph;
17 class AliAODMCHeader;
18 
33 {
34 public:
44  AliForwardMCFlowTaskQC(const char* name);
54  void SetUseImpactParameter(Bool_t use = kTRUE) { fUseImpactPar = use; }
60  void SetUseMCHeaderVertex(Bool_t use = kTRUE) { fUseMCVertex = use; }
64  void SetUseFlowWeights(Bool_t use = kTRUE) { fUseFlowWeights = use; }
65 
66 protected:
84  void InitVertexBins();
88  void InitHists();
94  Bool_t Analyze();
98  void Finalize();
108  virtual Bool_t CheckEvent(const AliAODForwardMult* aodfm);
117  virtual Bool_t CheckTrigger(const AliAODForwardMult* aodfm) const;
127  virtual Bool_t GetCentrality(const AliAODForwardMult* aodfm);
136  virtual Bool_t GetVertex(const AliAODForwardMult* aodfm);
143  Bool_t FillMCHist();
149  Double_t GetCentFromB() const;
150 
151  TList fBinsForwardTR; // List with FMDTR VertexBin objects
152  TList fBinsCentralTR; // List with SPDTR VertexBin objects
153  TList fBinsMC; // List with MC VertexBin objects
154  AliAODMCHeader* fAODMCHeader; // MC header object
155  TH2D fHistdNdedpMC; // d^2N/detadphi MC particles histogram
156  TH2D* fHistFMDMCCorr; // Diagnostics for mult. corr. between FMD and MC
157  TH2D* fHistSPDMCCorr; // Diagnostics for mult. corr. between SPD and MC
158  AliForwardFlowWeights* fWeights; // Flow after burner
159  TGraph* fImpactParToCent; // Parametrization of b to centrality
160  Bool_t fUseImpactPar; // Flag to use impact parameter for cent
161  Bool_t fUseMCVertex; // Get vertex from MC header
162  Bool_t fUseFlowWeights; // Add flow
163 
164  ClassDef(AliForwardMCFlowTaskQC, 6); // FMD MC analysis task
165 };
166 
167 #endif
168 // Local Variables:
169 // mode: C++
170 // End:
double Double_t
Definition: External.C:58
virtual Bool_t GetVertex(const AliAODForwardMult *aodfm)
AliForwardFlowWeights * fWeights
ClassDef(AliForwardMCFlowTaskQC, 6)
Definition: External.C:228
void SetUseFlowWeights(Bool_t use=kTRUE)
AliForwardMCFlowTaskQC & operator=(const AliForwardMCFlowTaskQC &o)
virtual Bool_t GetCentrality(const AliAODForwardMult *aodfm)
virtual Bool_t CheckEvent(const AliAODForwardMult *aodfm)
void SetUseMCHeaderVertex(Bool_t use=kTRUE)
virtual Bool_t CheckTrigger(const AliAODForwardMult *aodfm) const
bool Bool_t
Definition: External.C:53
void SetUseImpactParameter(Bool_t use=kTRUE)