AliPhysics  58f3d52 (58f3d52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FastNchCentEstimator Struct Referenceabstract
Inheritance diagram for FastNchCentEstimator:

Public Member Functions

 FastNchCentEstimator (const char *name="")
 
virtual ~FastNchCentEstimator ()
 
virtual void Process (const TParticle *p)
 
virtual Bool_t Accept (const TParticle *p)=0
 
virtual void Print (Option_t *option="nh") const
 
- Public Member Functions inherited from Fast1DCentEstimator
 Fast1DCentEstimator (const char *name="")
 
virtual ~Fast1DCentEstimator ()
 
virtual const char * MultSpec () const
 
virtual void Setup (TCollection *l, TTree *tree, UShort_t, Bool_t, Bool_t)
 
virtual void PreEvent ()
 
virtual void PostEvent ()
 
virtual TH1GetHistogram (TCollection *l)=0
 
virtual void Terminate (TCollection *out)
 
- Public Member Functions inherited from FastCentEstimator
 FastCentEstimator (const char *name="")
 
virtual ~FastCentEstimator ()
 
const char * GetName () const
 
void SetVerbose (Bool_t verb)
 
virtual void ProcessHeader (FastShortHeader &)
 

Additional Inherited Members

- Static Public Member Functions inherited from FastCentEstimator
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 inherited from Fast1DCentEstimator
ULong64_t fCache
 
TH1fHistogram
 
Bool_t fFromTop
 
- Public Attributes inherited from FastCentEstimator
TString fName
 
Bool_t fVerbose
 

Detailed Description

Centrality estimator using charged particles

Definition at line 491 of file FastCentEstimators.C.

Constructor & Destructor Documentation

FastNchCentEstimator::FastNchCentEstimator ( const char *  name = "")
inline

Constructor

Parameters
nameName

Definition at line 498 of file FastCentEstimators.C.

virtual FastNchCentEstimator::~FastNchCentEstimator ( )
inlinevirtual

Destructor

Definition at line 504 of file FastCentEstimators.C.

Member Function Documentation

virtual Bool_t FastNchCentEstimator::Accept ( const TParticle *  p)
pure virtual

Must be overloaded. Should return true if we accept the particle

Parameters
pParticle to investigate
Returns
true if we are to count this particle

Implemented in RefMultEstimator, and V0CentEstimator.

Referenced by Process().

virtual void FastNchCentEstimator::Print ( Option_t option = "nh") const
inlinevirtual

Reimplemented from Fast1DCentEstimator.

Reimplemented in V0CentEstimator.

Definition at line 524 of file FastCentEstimators.C.

Referenced by V0CentEstimator::Print().

virtual void FastNchCentEstimator::Process ( const TParticle *  p)
inlinevirtual

Process a single particle.

Parameters
pParticle

Implements FastCentEstimator.

Definition at line 510 of file FastCentEstimators.C.


The documentation for this struct was generated from the following file: