![]() |
AliPhysics
56f1704 (56f1704)
|
#include <AliBaseMCWeights.h>
Public Member Functions | |
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 |
virtual Double_t | CalcWeight (Double_t eta, Double_t pt, Double_t phi, Int_t id, Double_t phiR, Double_t b) const =0 |
virtual void | Init (TList *l) |
virtual void | Print (Option_t *option="") const |
Base class for weights in calculation of the secondary maps
Definition at line 21 of file AliBaseMCWeights.h.
|
inline |
Default CTOR
Definition at line 27 of file AliBaseMCWeights.h.
|
inline |
|
inlinevirtual |
Destructor
Definition at line 45 of file AliBaseMCWeights.h.
|
virtual |
Calculate the weight of a given particle. In the default implementation, this forwards to the same function but with explicit eta, pt, phi, and id arguments.
However, this is the function that is called by the referencing code, so one can safely overload this and make the other a dummy
p | Particle |
isPrimary | True if this refers to a primary particle |
phiR | Event plane angle \(\Psi_R\) |
b | Event impact parameter \(b\) in fermi-meter |
Definition at line 42 of file AliBaseMCWeights.cxx.
Referenced by AliBaseMCTrackDensity::CalculateTruthWeight(), AliBaseMCTrackDensity::CalculateWeight(), and ~AliBaseMCWeights().
|
pure 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 |
Implemented in AliForwardFlowWeights, AliPtEtaPidWeights, and AliSimplePidWeights.
|
virtual |
Initialize this object
l | Output list |
Reimplemented in AliPtEtaPidWeights, AliSimplePidWeights, and AliForwardFlowWeights.
Definition at line 26 of file AliBaseMCWeights.cxx.
Referenced by AliBaseMCTrackDensity::CreateOutputObjects(), and ~AliBaseMCWeights().
AliBaseMCWeights & AliBaseMCWeights::operator= | ( | const AliBaseMCWeights & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 16 of file AliBaseMCWeights.cxx.
Referenced by AliBaseMCWeights(), AliSimplePidWeights::operator=(), and AliPtEtaPidWeights::operator=().
|
virtual |
Print information to standard out
option | Not used |
Reimplemented in AliForwardFlowWeights, AliPtEtaPidWeights, and AliSimplePidWeights.
Definition at line 35 of file AliBaseMCWeights.cxx.
Referenced by AliBaseMCTrackDensity::Print(), and ~AliBaseMCWeights().