AliPhysics  2b88e80 (2b88e80)
AliForwardFlowWeights.h
Go to the documentation of this file.
1 #ifndef ALIROOT_ALIFORWARDFLOWWEIGHTS
2 #define ALIROOT_ALIFORWARDFLOWWEIGHTS
3 
13 #include "AliBaseMCWeights.h"
14 class TGraph;
15 class TF1;
16 
17 
25 {
26 public:
27  enum {
28  kEta = 0x01, // include eta effect
29  kPt = 0x02, // include pt effect
30  kPID = 0x04, // include PID effect
31  kCent = 0x08, // include centrality effect
32  kB = 0x10 // include impact parmaeter effect
33  };
55  virtual ~AliForwardFlowWeights();
56 
62  virtual void Init(TList* l);
108  Double_t pt,
109  Double_t phi,
110  Int_t id,
111  Double_t phiR,
112  Double_t bOrC,
113  Int_t type,
114  UShort_t order,
115  UShort_t what) const;
128  virtual Double_t CalcWeight(Double_t eta,
129  Double_t pt,
130  Double_t phi,
131  Int_t id,
132  Double_t phiR,
133  Double_t b) const;
147  virtual void Print(Option_t* option="") const;
148 protected:
157  Double_t CalcEtaWeight(Double_t eta, Int_t type) const;
166  Double_t CalcPidWeight(Int_t id, Int_t type) const;
175  Double_t CalcPtWeight(Double_t pt, Int_t type) const;
191  Double_t CalcBWeight(Double_t b) const;
192 
193  TGraph* fV22Pt; // Contribution from v2{2} as a function of pt
194  TGraph* fV24Pt; // Contribution from v2{4} as a function of pt
195  TGraph* fV24AltPt; // Contribution from v2{4} as a function of pt
196  TGraph* fV2B; // Contribution from v2 as a function of b
197  TGraph* fV2C; // Contribution from v2 as a function of centrality
198 
199  ClassDef(AliForwardFlowWeights,3);
200 };
201 
202 #endif
203 //
204 // Local Variables:
205 // mode: C++
206 // End:
207 //
static AliForwardFlowWeights * FromList(TList *l)
double Double_t
Definition: External.C:58
virtual void Init(TList *l)
Double_t CalcPtWeight(Double_t pt, Int_t type) const
Double_t CalcBWeight(Double_t b) const
TCanvas * c
Definition: TestFitELoss.C:172
int Int_t
Definition: External.C:63
Double_t CalcEtaWeight(Double_t eta, Int_t type) const
virtual void Print(Option_t *option="") const
AliForwardFlowWeights & operator=(const AliForwardFlowWeights &o)
Double_t CalcWeight(Double_t eta, Double_t pt, Double_t phi, Int_t id, Double_t phiR, Double_t bOrC, Int_t type, UShort_t order, UShort_t what) const
unsigned short UShort_t
Definition: External.C:28
const char Option_t
Definition: External.C:48
Double_t CalcCentWeight(Double_t c) const
Double_t CalcPidWeight(Int_t id, Int_t type) const