AliPhysics  ff1d528 (ff1d528)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliForwardFlowWeights Class Reference

#include <AliForwardFlowWeights.h>

Inheritance diagram for AliForwardFlowWeights:

Public Types

enum  {
  kEta = 0x01, kPt = 0x02, kPID = 0x04, kCent = 0x08,
  kB = 0x10
}
 

Public Member Functions

 AliForwardFlowWeights ()
 
 AliForwardFlowWeights (const AliForwardFlowWeights &o)
 
AliForwardFlowWeightsoperator= (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
 
- Public Member Functions inherited from AliBaseMCWeights
 AliBaseMCWeights ()
 
 AliBaseMCWeights (const AliBaseMCWeights &o)
 
AliBaseMCWeightsoperator= (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 AliForwardFlowWeightsFromList (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

TGraphfV22Pt
 
TGraphfV24Pt
 
TGraphfV24AltPt
 
TGraphfV2B
 
TGraphfV2C
 

Detailed Description

Utility class to calculate flow weights

Definition at line 24 of file AliForwardFlowWeights.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kEta 
kPt 
kPID 
kCent 
kB 

Definition at line 27 of file AliForwardFlowWeights.h.

Constructor & Destructor Documentation

AliForwardFlowWeights::AliForwardFlowWeights ( )

Constructor

Definition at line 11 of file AliForwardFlowWeights.cxx.

Referenced by FromList().

AliForwardFlowWeights::AliForwardFlowWeights ( const AliForwardFlowWeights o)

copy constructor

Parameters
oObject to copy from

Definition at line 20 of file AliForwardFlowWeights.cxx.

AliForwardFlowWeights::~AliForwardFlowWeights ( )
virtual

Destructor

Definition at line 44 of file AliForwardFlowWeights.cxx.

Member Function Documentation

Double_t AliForwardFlowWeights::CalcBWeight ( Double_t  b) const
protected

Calculate weight

Parameters
bImpact parameters (fm)
Returns
weight

Definition at line 169 of file AliForwardFlowWeights.cxx.

Referenced by CalcWeight().

Double_t AliForwardFlowWeights::CalcCentWeight ( Double_t  c) const
protected

Calculate weight

Parameters
cCentrality
Returns
weight

Definition at line 176 of file AliForwardFlowWeights.cxx.

Referenced by CalcWeight().

Double_t AliForwardFlowWeights::CalcEtaWeight ( Double_t  eta,
Int_t  type 
) const
protected

Calculate weight

Parameters
etaPsuedo-rapidity
typeParameterization type
Returns
weight

Definition at line 135 of file AliForwardFlowWeights.cxx.

Referenced by CalcWeight().

Double_t AliForwardFlowWeights::CalcPidWeight ( Int_t  id,
Int_t  type 
) const
protected

Calculate weight

Parameters
idParticle (type) identifier
typeParameterization type
Returns
weight

Definition at line 143 of file AliForwardFlowWeights.cxx.

Referenced by CalcWeight().

Double_t AliForwardFlowWeights::CalcPtWeight ( Double_t  pt,
Int_t  type 
) const
protected

Calculate weight

Parameters
ptTransverse momentum (GeV)
typeParameterization type
Returns
weight

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

  • kPt Weight according to transverse momentum
  • kEta Weight according to Pseudo-rapidity
  • kPID Weight according to particle type
  • kCent Weight according to centrality
  • kB Weight according to impact parameter.

Note, that kCent and kB are mutually exclusive

type can be one of

  • 0 No weighting
  • 1 Pt is weighted as mean of \(v_2{2}\) and \(v_2{4}\) from 40-50% centrality, unity weight for p, other for \(\pi\), other particles fixed, and the width of the \(\eta\) Gaussian is 9
  • 2 Pt is weighted by \(v_2{2}\) from 40-50% centrality, fixed PID weight, and the width of the \(\eta\) Gaussian is 3
  • 3 Pt is weighted by \(v_2{4}\) from 30-40% centrality, unity weight for p, other for \(\pi\), other particles fixed, and the width of the \(\eta\) Gaussian is 15
  • 4 Pt is weighted by \(v_2{4}\) from 40-50% centrality, unity weight for p, other for \(\pi\), other particles fixed, and the width of the \(\eta\) Gaussian is 9
Parameters
etaPseudo-rapidity of particle ( \(\eta\))
ptTransverse momentum of particle ( \(p_T\)) in GeV
phiAzimuthal angle of particle ( \(\phi\)) in radians
idParticle type of particle
phiREvent plane angle ( \(\phi_R\)) in radians
bOrCImpact paramter/Centrality of event ( \(b\)) in fm
typeType of flow to add
orderOrder of flow weight
whatWhich effects to include
Returns

Definition at line 183 of file AliForwardFlowWeights.cxx.

Referenced by CalcWeight(), and AliForwardMCFlowTaskQC::FillMCHist().

Double_t AliForwardFlowWeights::CalcWeight ( Double_t  eta,
Double_t  pt,
Double_t  phi,
Int_t  id,
Double_t  phiR,
Double_t  b 
) const
virtual

Calculate the weights

Parameters
etaPseudo-rapidity of particle ( \(\eta\))
ptTransverse momentum of particle ( \(p_T\)) in GeV
phiAzimuthal angle of particle ( \(\phi\)) in radians
idParticle type of particle
phiREvent plane angle ( \(\phi_R\)) in radians
bImpact paramter of event ( \(b\)) in fm
Returns

Implements AliBaseMCWeights.

Definition at line 207 of file AliForwardFlowWeights.cxx.

AliForwardFlowWeights::ClassDef ( AliForwardFlowWeights  ,
 
)
protected
AliForwardFlowWeights * AliForwardFlowWeights::FromList ( TList l)
static

Construct an object from objects found in list, or null

Parameters
lList to find objects in
Returns
Newly created object, or null

Definition at line 237 of file AliForwardFlowWeights.cxx.

void AliForwardFlowWeights::Init ( TList l)
virtual

Initialize

Parameters
lList 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

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 31 of file AliForwardFlowWeights.cxx.

void AliForwardFlowWeights::Print ( Option_t option = "") const
virtual

Print information

Parameters
optionNot used

Reimplemented from AliBaseMCWeights.

Definition at line 272 of file AliForwardFlowWeights.cxx.

Member Data Documentation

TGraph* AliForwardFlowWeights::fV22Pt
protected

Definition at line 193 of file AliForwardFlowWeights.h.

Referenced by CalcPtWeight(), FromList(), Init(), and operator=().

TGraph* AliForwardFlowWeights::fV24AltPt
protected

Definition at line 195 of file AliForwardFlowWeights.h.

Referenced by CalcPtWeight(), FromList(), Init(), and operator=().

TGraph* AliForwardFlowWeights::fV24Pt
protected

Definition at line 194 of file AliForwardFlowWeights.h.

Referenced by CalcPtWeight(), FromList(), Init(), and operator=().

TGraph* AliForwardFlowWeights::fV2B
protected

Definition at line 196 of file AliForwardFlowWeights.h.

Referenced by CalcBWeight(), FromList(), Init(), and operator=().

TGraph* AliForwardFlowWeights::fV2C
protected

Definition at line 197 of file AliForwardFlowWeights.h.

Referenced by CalcCentWeight(), FromList(), Init(), and operator=().


The documentation for this class was generated from the following files: