AliPhysics
56f1704 (56f1704)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
24
class
AliForwardFlowWeights
:
public
AliBaseMCWeights
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
};
37
AliForwardFlowWeights
();
43
AliForwardFlowWeights
(
const
AliForwardFlowWeights
& o);
51
AliForwardFlowWeights
&
operator=
(
const
AliForwardFlowWeights
& o);
55
virtual
~AliForwardFlowWeights
();
56
62
virtual
void
Init
(
TList
* l);
107
Double_t
CalcWeight
(
Double_t
eta,
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
;
141
static
AliForwardFlowWeights
*
FromList
(
TList
* l);
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
;
183
Double_t
CalcCentWeight
(
Double_t
c
)
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
//
AliForwardFlowWeights::kEta
Definition:
AliForwardFlowWeights.h:28
AliForwardFlowWeights::FromList
static AliForwardFlowWeights * FromList(TList *l)
Definition:
AliForwardFlowWeights.cxx:237
Double_t
double Double_t
Definition:
External.C:58
AliForwardFlowWeights::fV2B
TGraph * fV2B
Definition:
AliForwardFlowWeights.h:196
AliForwardFlowWeights::Init
virtual void Init(TList *l)
Definition:
AliForwardFlowWeights.cxx:58
AliForwardFlowWeights::~AliForwardFlowWeights
virtual ~AliForwardFlowWeights()
Definition:
AliForwardFlowWeights.cxx:44
TGraph
Definition:
External.C:268
AliForwardFlowWeights::CalcPtWeight
Double_t CalcPtWeight(Double_t pt, Int_t type) const
Definition:
AliForwardFlowWeights.cxx:156
AliForwardFlowWeights::kCent
Definition:
AliForwardFlowWeights.h:31
AliForwardFlowWeights::CalcBWeight
Double_t CalcBWeight(Double_t b) const
Definition:
AliForwardFlowWeights.cxx:169
AliBaseMCWeights
Definition:
AliBaseMCWeights.h:21
c
TCanvas * c
Definition:
TestFitELoss.C:172
AliBaseMCWeights.h
Int_t
int Int_t
Definition:
External.C:63
AliForwardFlowWeights::fV22Pt
TGraph * fV22Pt
Definition:
AliForwardFlowWeights.h:193
AliForwardFlowWeights::CalcEtaWeight
Double_t CalcEtaWeight(Double_t eta, Int_t type) const
Definition:
AliForwardFlowWeights.cxx:135
AliForwardFlowWeights::fV2C
TGraph * fV2C
Definition:
AliForwardFlowWeights.h:197
AliForwardFlowWeights::Print
virtual void Print(Option_t *option="") const
Definition:
AliForwardFlowWeights.cxx:272
AliForwardFlowWeights::operator=
AliForwardFlowWeights & operator=(const AliForwardFlowWeights &o)
Definition:
AliForwardFlowWeights.cxx:31
AliForwardFlowWeights::CalcWeight
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
Definition:
AliForwardFlowWeights.cxx:183
AliForwardFlowWeights::fV24Pt
TGraph * fV24Pt
Definition:
AliForwardFlowWeights.h:194
AliForwardFlowWeights::kPt
Definition:
AliForwardFlowWeights.h:29
AliForwardFlowWeights::AliForwardFlowWeights
AliForwardFlowWeights()
Definition:
AliForwardFlowWeights.cxx:11
UShort_t
unsigned short UShort_t
Definition:
External.C:28
Option_t
const char Option_t
Definition:
External.C:48
AliForwardFlowWeights::kB
Definition:
AliForwardFlowWeights.h:32
AliForwardFlowWeights::CalcCentWeight
Double_t CalcCentWeight(Double_t c) const
Definition:
AliForwardFlowWeights.cxx:176
AliForwardFlowWeights
Definition:
AliForwardFlowWeights.h:24
AliForwardFlowWeights::kPID
Definition:
AliForwardFlowWeights.h:30
AliForwardFlowWeights::CalcPidWeight
Double_t CalcPidWeight(Int_t id, Int_t type) const
Definition:
AliForwardFlowWeights.cxx:143
TList
Definition:
External.C:164
AliForwardFlowWeights::fV24AltPt
TGraph * fV24AltPt
Definition:
AliForwardFlowWeights.h:195
PWGLF
FORWARD
analysis2
AliForwardFlowWeights.h
Generated on Sun May 20 2018 16:21:33 for AliPhysics by
1.8.11