AliPhysics  97344c9 (97344c9)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ZNCentEstimator Struct Reference
Inheritance diagram for ZNCentEstimator:

Public Member Functions

 ZNCentEstimator (Short_t mode=0, Bool_t neutrons=true, Bool_t spectators=false, Bool_t primary=false)
 
void Setup (TCollection *l, TTree *tree, UShort_t sNN, Bool_t tgtA, Bool_t projA)
 
virtual void Process (const TParticle *p)
 
void ProcessHeader (FastShortHeader &h)
 
virtual void PostEvent ()
 
virtual TH1GetHistogram (TCollection *l)
 
virtual void Print (Option_t *option="nah") const
 
 ClassDef (ZNCentEstimator, 1)
 
- Public Member Functions inherited from Fast1DCentEstimator
 Fast1DCentEstimator (const char *name="")
 
virtual ~Fast1DCentEstimator ()
 
virtual const char * MultSpec () const
 
virtual void PreEvent ()
 
virtual void Terminate (TCollection *out)
 
 ClassDef (Fast1DCentEstimator, 1)
 
- Public Member Functions inherited from FastCentEstimator
 FastCentEstimator (const char *name="")
 
virtual ~FastCentEstimator ()
 
const char * GetName () const
 
void SetVerbose (Bool_t verb)
 
 ClassDef (FastCentEstimator, 1)
 

Public Attributes

Short_t fMode
 
Bool_t fNeutrons
 
Bool_t fSpectators
 
Bool_t fPrimary
 
Double_t fMinEta
 
Double_t fMaxEta
 
Double_t fMaxPhi
 
ULong64_t fNSpec
 
- Public Attributes inherited from Fast1DCentEstimator
ULong64_t fCache
 
TH1fHistogram
 
Bool_t fFromTop
 
- Public Attributes inherited from FastCentEstimator
TString fName
 
Bool_t fVerbose
 

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)
 

Detailed Description

Centrality estimator using the V0 signal

Definition at line 735 of file FastCentEstimators.C.

Constructor & Destructor Documentation

ZNCentEstimator::ZNCentEstimator ( Short_t  mode = 0,
Bool_t  neutrons = true,
Bool_t  spectators = false,
Bool_t  primary = false 
)
inline

Constructor

Parameters
modeMode: Negative, use C side, positive use A side, otherwise sum
neutrons
spectators
primary

Definition at line 755 of file FastCentEstimators.C.

Member Function Documentation

ZNCentEstimator::ClassDef ( ZNCentEstimator  ,
 
)
virtual TH1* ZNCentEstimator::GetHistogram ( TCollection l)
inlinevirtual

Get the histogram to accumulate the observable in.

Returns
Pointer to the histogram.

Implements Fast1DCentEstimator.

Definition at line 920 of file FastCentEstimators.C.

virtual void ZNCentEstimator::PostEvent ( )
inlinevirtual

Fills the summed observable into the histogram

Reimplemented from Fast1DCentEstimator.

Definition at line 902 of file FastCentEstimators.C.

virtual void ZNCentEstimator::Print ( Option_t option = "nah") const
inlinevirtual

Reimplemented from Fast1DCentEstimator.

Definition at line 924 of file FastCentEstimators.C.

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

Process a single particle.

Parameters
pParticle

Implements FastCentEstimator.

Definition at line 838 of file FastCentEstimators.C.

void ZNCentEstimator::ProcessHeader ( FastShortHeader h)
inlinevirtual

Reimplemented from FastCentEstimator.

Definition at line 880 of file FastCentEstimators.C.

void ZNCentEstimator::Setup ( TCollection l,
TTree tree,
UShort_t  sNN,
Bool_t  tgtA,
Bool_t  projA 
)
inlinevirtual

Set-up this object. Defines the internal histogram and add to output

Parameters
lOutput list
treeTree to add branch to
sNNCollision energy in GeV
tgtATrue if target is a nucleus
projATrue if projectile is a nucleus

Reimplemented from Fast1DCentEstimator.

Definition at line 806 of file FastCentEstimators.C.

Member Data Documentation

Double_t ZNCentEstimator::fMaxEta

Definition at line 744 of file FastCentEstimators.C.

Referenced by Print(), Process(), and ZNCentEstimator().

Double_t ZNCentEstimator::fMaxPhi

Definition at line 745 of file FastCentEstimators.C.

Referenced by Print(), Process(), and ZNCentEstimator().

Double_t ZNCentEstimator::fMinEta

Definition at line 743 of file FastCentEstimators.C.

Referenced by Print(), Process(), and ZNCentEstimator().

Short_t ZNCentEstimator::fMode

Mode: Negative, use C side, positive use A side, otherwise sum

Definition at line 739 of file FastCentEstimators.C.

Referenced by Print(), Process(), ProcessHeader(), and Setup().

Bool_t ZNCentEstimator::fNeutrons

Definition at line 740 of file FastCentEstimators.C.

Referenced by Print(), Process(), ProcessHeader(), Setup(), and ZNCentEstimator().

ULong64_t ZNCentEstimator::fNSpec

Definition at line 746 of file FastCentEstimators.C.

Referenced by PostEvent(), and ProcessHeader().

Bool_t ZNCentEstimator::fPrimary

Definition at line 742 of file FastCentEstimators.C.

Referenced by PostEvent(), Print(), Process(), and Setup().

Bool_t ZNCentEstimator::fSpectators

Definition at line 741 of file FastCentEstimators.C.

Referenced by PostEvent(), Print(), Process(), Setup(), and ZNCentEstimator().


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