![]() |
AliPhysics
2b88e80 (2b88e80)
|
#include <AliPtEtaPidWeights.h>
Public Member Functions | |
AliPtEtaPidWeights () | |
AliPtEtaPidWeights (const AliPtEtaPidWeights &o) | |
AliPtEtaPidWeights & | operator= (const AliPtEtaPidWeights &o) |
virtual | ~AliPtEtaPidWeights () |
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 | Init (TList *l) |
virtual void | AddPDGCode (Int_t pdg, TH2 *weight) |
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 |
Private Attributes | |
TArrayI | fPdgs |
TList | fWeights |
Class for weights in calculation of the secondary maps using \( p_T, \eta\) PID weighting.
Definition at line 24 of file AliPtEtaPidWeights.h.
AliPtEtaPidWeights::AliPtEtaPidWeights | ( | ) |
Default CTOR
Definition at line 18 of file AliPtEtaPidWeights.cxx.
AliPtEtaPidWeights::AliPtEtaPidWeights | ( | const AliPtEtaPidWeights & | o | ) |
Copy Constructor
o | Object to copy from |
Definition at line 26 of file AliPtEtaPidWeights.cxx.
|
inlinevirtual |
Destructor
Definition at line 48 of file AliPtEtaPidWeights.h.
Add a PDG code to be weighted. Note that this object will claim ownership of the passed histogram. The X axis of the histogram is assumed to be the \(\eta\) axis, while the Y axis is assumed to be \(p_T\) axis.
pdg | Particle code |
weight | The histogram of (eta,phi) dependent weight factors |
Definition at line 81 of file AliPtEtaPidWeights.cxx.
Referenced by ~AliPtEtaPidWeights().
|
virtual |
Calculate the weight of a single particle
eta | Pseudo rapidity \(\eta\) |
pt | Transvers momentum \(p_{T}\) |
phi | Azimuth angle \(\varphi\) |
id | Particle ID (PDG code) |
phiR | Event plane angle \(\Psi_R\) |
b | Event impact parameter \(b\) in fermi-meter |
Implements AliBaseMCWeights.
Definition at line 60 of file AliPtEtaPidWeights.cxx.
Referenced by ~AliPtEtaPidWeights().
|
virtual |
Initialize this object
l | List of output objects |
Reimplemented from AliBaseMCWeights.
Definition at line 56 of file AliPtEtaPidWeights.cxx.
Referenced by ~AliPtEtaPidWeights().
AliPtEtaPidWeights & AliPtEtaPidWeights::operator= | ( | const AliPtEtaPidWeights & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 40 of file AliPtEtaPidWeights.cxx.
|
virtual |
Print information
option | Not used |
Reimplemented from AliBaseMCWeights.
Definition at line 112 of file AliPtEtaPidWeights.cxx.
Referenced by ~AliPtEtaPidWeights().
|
private |
Definition at line 90 of file AliPtEtaPidWeights.h.
Referenced by AddPDGCode(), CalcWeight(), operator=(), and Print().
|
private |
Definition at line 91 of file AliPtEtaPidWeights.h.
Referenced by AddPDGCode(), AliPtEtaPidWeights(), CalcWeight(), and operator=().