![]() |
AliPhysics
45843cc (45843cc)
|
Public Member Functions | |
FastCentEstimator (const char *name="") | |
virtual | ~FastCentEstimator () |
const char * | GetName () const |
void | SetVerbose (Bool_t verb) |
virtual void | Setup (TCollection *out, TTree *tree, UShort_t sNN, Bool_t tgtA, Bool_t projA)=0 |
virtual void | PreEvent () |
virtual void | ProcessHeader (FastShortHeader &) |
virtual void | Process (const TParticle *p)=0 |
virtual void | PostEvent () |
virtual void | Terminate (TCollection *out)=0 |
virtual void | Print (Option_t *option="") const |
Static Public Member Functions | |
static Double_t | Theta (const TParticle *p) |
static Double_t | Eta (const TParticle *p) |
static Double_t | Phi (const TParticle *p) |
static Bool_t | IsPrimary (const TParticle *p) |
static Bool_t | IsWeakDecay (const TParticle *p) |
static Bool_t | IsCharged (const TParticle *p) |
Public Attributes | |
TString | fName |
Bool_t | fVerbose |
Base class for centrality estimators
Definition at line 32 of file FastCentEstimators.C.
|
inline |
Constructor
name | Name of the estimator |
Definition at line 41 of file FastCentEstimators.C.
|
inlinevirtual |
Destructor
Definition at line 47 of file FastCentEstimators.C.
|
inlinestatic |
Get the particle pseudo-rapidity \(\eta\)
p | The particle |
Definition at line 116 of file FastCentEstimators.C.
Referenced by V0CentEstimator::Accept(), RefMultEstimator::Accept(), and ZNCentEstimator::Process().
|
inline |
Get the name
Definition at line 53 of file FastCentEstimators.C.
Referenced by BCentEstimator::GetHistogram(), V0CentEstimator::GetHistogram(), RefMultEstimator::GetHistogram(), ZNCentEstimator::GetHistogram(), BCentEstimator::MakeHistogram(), Fast1DCentEstimator::PostEvent(), Print(), Fast1DCentEstimator::Print(), FastNchCentEstimator::Print(), V0CentEstimator::Print(), ZNCentEstimator::Print(), Fast1DCentEstimator::Setup(), V0CentEstimator::Setup(), RefMultEstimator::Setup(), ZNCentEstimator::Setup(), FastSim::SetupOutput(), Fast1DCentEstimator::Terminate(), and BCentEstimator::Terminate().
|
inlinestatic |
Check if particle is charged
p | Particle |
Definition at line 168 of file FastCentEstimators.C.
Referenced by FastNchCentEstimator::Process().
|
inlinestatic |
Check if a particle is primary
p | Particle |
Definition at line 146 of file FastCentEstimators.C.
Referenced by V0CentEstimator::Accept(), RefMultEstimator::Accept(), and ZNCentEstimator::Process().
|
inlinestatic |
Check if particle is from weak decay
p | Particle |
Definition at line 157 of file FastCentEstimators.C.
|
inlinestatic |
Get the particle azimuth angle \(\varphi\)
p | The particle |
Definition at line 132 of file FastCentEstimators.C.
Referenced by ZNCentEstimator::Process().
|
inlinevirtual |
Called at the end of an event
Reimplemented in ZNCentEstimator, BCentEstimator, and Fast1DCentEstimator.
Definition at line 84 of file FastCentEstimators.C.
Referenced by FastSim::PostEvent(), and EPosSim::PostEvent().
|
inlinevirtual |
Called before the start of an event
Reimplemented in BCentEstimator, and Fast1DCentEstimator.
Definition at line 71 of file FastCentEstimators.C.
Referenced by FastSim::PreEvent(), and EPosSim::PreEvent().
|
inlinevirtual |
Reimplemented in ZNCentEstimator, V0CentEstimator, FastNchCentEstimator, and Fast1DCentEstimator.
Definition at line 91 of file FastCentEstimators.C.
Referenced by FastSim::Begin().
|
pure virtual |
Called for each particle produced by the event generator. Sub-classes should decide if they want to take the information from the passed particle, and then process that information.
p | Generated particle |
Implemented in ZNCentEstimator, FastNchCentEstimator, and BCentEstimator.
Referenced by ProcessHeader(), FastSim::ProcessParticles(), and EPosSim::ProcessParticles().
|
inlinevirtual |
Reimplemented in ZNCentEstimator, and BCentEstimator.
Definition at line 72 of file FastCentEstimators.C.
Referenced by FastSim::ProcessHeader(), and EPosSim::ProcessHeader().
|
pure virtual |
Set-up this estimator. Output objects should be stored in out, and a branch can be registerd in the TTree.
out | Output list to add stuff to |
tree | Output tree |
sNN | Collision energy in GeV |
tgtA | True if target is a nucleus |
projA | True if projectile is a nucleus |
Implemented in ZNCentEstimator, RefMultEstimator, V0CentEstimator, BCentEstimator, and Fast1DCentEstimator.
Referenced by FastSim::SetupOutput(), and SetVerbose().
|
inline |
Definition at line 54 of file FastCentEstimators.C.
Referenced by FastSim::SetupOutput().
|
pure virtual |
Do the final calculations
out | Output list to add stuff to |
Implemented in BCentEstimator, and Fast1DCentEstimator.
Referenced by PostEvent(), and FastSim::Terminate().
|
inlinestatic |
Get the particle polar angle
p | Particle |
Definition at line 102 of file FastCentEstimators.C.
Referenced by Eta().
TString FastCentEstimator::fName |
Definition at line 34 of file FastCentEstimators.C.
Bool_t FastCentEstimator::fVerbose |
Definition at line 35 of file FastCentEstimators.C.
Referenced by Fast1DCentEstimator::PostEvent(), and Fast1DCentEstimator::Terminate().