![]() |
AliPhysics
5bb840e (5bb840e)
|
#include <AliForwardFlowWeights.h>
Public Types | |
enum | { kEta = 0x01, kPt = 0x02, kPID = 0x04, kCent = 0x08, kB = 0x10 } |
Public Member Functions | |
AliForwardFlowWeights () | |
AliForwardFlowWeights (const AliForwardFlowWeights &o) | |
AliForwardFlowWeights & | operator= (const AliForwardFlowWeights &o) |
virtual | ~AliForwardFlowWeights () |
virtual void | Init (TList *l) |
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 |
virtual Double_t | CalcWeight (Double_t eta, Double_t pt, Double_t phi, Int_t id, Double_t phiR, Double_t b) const |
virtual void | Print (Option_t *option="") const |
![]() | |
AliBaseMCWeights () | |
AliBaseMCWeights (const AliBaseMCWeights &o) | |
AliBaseMCWeights & | operator= (const AliBaseMCWeights &o) |
virtual | ~AliBaseMCWeights () |
virtual Double_t | CalcWeight (const AliMCParticle *p, Bool_t isPrimary, Double_t phiR, Double_t b) const |
ClassDef (AliBaseMCWeights, 1) | |
Static Public Member Functions | |
static AliForwardFlowWeights * | FromList (TList *l) |
Protected Member Functions | |
Double_t | CalcEtaWeight (Double_t eta, Int_t type) const |
Double_t | CalcPidWeight (Int_t id, Int_t type) const |
Double_t | CalcPtWeight (Double_t pt, Int_t type) const |
Double_t | CalcCentWeight (Double_t c) const |
Double_t | CalcBWeight (Double_t b) const |
ClassDef (AliForwardFlowWeights, 3) | |
Protected Attributes | |
TGraph * | fV22Pt |
TGraph * | fV24Pt |
TGraph * | fV24AltPt |
TGraph * | fV2B |
TGraph * | fV2C |
Utility class to calculate flow weights
Definition at line 24 of file AliForwardFlowWeights.h.
anonymous enum |
Enumerator | |
---|---|
kEta | |
kPt | |
kPID | |
kCent | |
kB |
Definition at line 27 of file AliForwardFlowWeights.h.
AliForwardFlowWeights::AliForwardFlowWeights | ( | ) |
AliForwardFlowWeights::AliForwardFlowWeights | ( | const AliForwardFlowWeights & | o | ) |
copy constructor
o | Object to copy from |
Definition at line 20 of file AliForwardFlowWeights.cxx.
|
virtual |
Destructor
Definition at line 44 of file AliForwardFlowWeights.cxx.
Calculate weight
b | Impact parameters (fm) |
Definition at line 169 of file AliForwardFlowWeights.cxx.
Referenced by CalcWeight().
Calculate weight
c | Centrality |
Definition at line 176 of file AliForwardFlowWeights.cxx.
Referenced by CalcWeight().
Calculate weight
eta | Psuedo-rapidity |
type | Parameterization type |
Definition at line 135 of file AliForwardFlowWeights.cxx.
Referenced by CalcWeight().
Calculate weight
id | Particle (type) identifier |
type | Parameterization type |
Definition at line 143 of file AliForwardFlowWeights.cxx.
Referenced by CalcWeight().
Calculate weight
pt | Transverse momentum (GeV) |
type | Parameterization type |
Definition at line 156 of file AliForwardFlowWeights.cxx.
Referenced by CalcWeight().
Double_t AliForwardFlowWeights::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 |
what is a bit-wise or of
Note, that kCent and kB are mutually exclusive
type can be one of
eta | Pseudo-rapidity of particle ( \(\eta\)) |
pt | Transverse momentum of particle ( \(p_T\)) in GeV |
phi | Azimuthal angle of particle ( \(\phi\)) in radians |
id | Particle type of particle |
phiR | Event plane angle ( \(\phi_R\)) in radians |
bOrC | Impact paramter/Centrality of event ( \(b\)) in fm |
type | Type of flow to add |
order | Order of flow weight |
what | Which effects to include |
Definition at line 183 of file AliForwardFlowWeights.cxx.
Referenced by CalcWeight(), and AliForwardMCFlowTaskQC::FillMCHist().
|
virtual |
Calculate the weights
eta | Pseudo-rapidity of particle ( \(\eta\)) |
pt | Transverse momentum of particle ( \(p_T\)) in GeV |
phi | Azimuthal angle of particle ( \(\phi\)) in radians |
id | Particle type of particle |
phiR | Event plane angle ( \(\phi_R\)) in radians |
b | Impact paramter of event ( \(b\)) in fm |
Implements AliBaseMCWeights.
Definition at line 207 of file AliForwardFlowWeights.cxx.
|
protected |
|
static |
Construct an object from objects found in list, or null
l | List to find objects in |
Definition at line 237 of file AliForwardFlowWeights.cxx.
|
virtual |
Initialize
l | List to add objects to |
Reimplemented from AliBaseMCWeights.
Definition at line 58 of file AliForwardFlowWeights.cxx.
Referenced by AliForwardMCFlowTaskQC::InitHists().
AliForwardFlowWeights & AliForwardFlowWeights::operator= | ( | const AliForwardFlowWeights & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 31 of file AliForwardFlowWeights.cxx.
|
virtual |
Print information
option | Not used |
Reimplemented from AliBaseMCWeights.
Definition at line 272 of file AliForwardFlowWeights.cxx.
|
protected |
Definition at line 193 of file AliForwardFlowWeights.h.
Referenced by CalcPtWeight(), FromList(), Init(), and operator=().
|
protected |
Definition at line 195 of file AliForwardFlowWeights.h.
Referenced by CalcPtWeight(), FromList(), Init(), and operator=().
|
protected |
Definition at line 194 of file AliForwardFlowWeights.h.
Referenced by CalcPtWeight(), FromList(), Init(), and operator=().
|
protected |
Definition at line 196 of file AliForwardFlowWeights.h.
Referenced by CalcBWeight(), FromList(), Init(), and operator=().
|
protected |
Definition at line 197 of file AliForwardFlowWeights.h.
Referenced by CalcCentWeight(), FromList(), Init(), and operator=().