![]() |
AliPhysics
56f1704 (56f1704)
|
Public Member Functions | |
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 TH1 * | GetHistogram (TCollection *l)=0 |
virtual void | Terminate (TCollection *out) |
virtual void | Print (Option_t *option="nh") const |
![]() | |
FastCentEstimator (const char *name="") | |
virtual | ~FastCentEstimator () |
const char * | GetName () const |
void | SetVerbose (Bool_t verb) |
virtual void | ProcessHeader (FastShortHeader &) |
virtual void | Process (const TParticle *p)=0 |
Public Attributes | |
ULong64_t | fCache |
TH1 * | fHistogram |
Bool_t | fFromTop |
![]() | |
TString | fName |
Bool_t | fVerbose |
Additional Inherited Members | |
![]() | |
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) |
A 1-dimensional centrality estimator
Definition at line 182 of file FastCentEstimators.C.
|
inline |
Constructor
name | Name of the estimator |
Definition at line 197 of file FastCentEstimators.C.
|
inlinevirtual |
Destructor
Definition at line 203 of file FastCentEstimators.C.
|
pure virtual |
Implemented in ZNCentEstimator, RefMultEstimator, V0CentEstimator, and BCentEstimator.
|
inlinevirtual |
Definition at line 204 of file FastCentEstimators.C.
|
inlinevirtual |
Fills the summed observable into the histogram
Reimplemented from FastCentEstimator.
Reimplemented in ZNCentEstimator, and BCentEstimator.
Definition at line 233 of file FastCentEstimators.C.
Referenced by ZNCentEstimator::PostEvent().
|
inlinevirtual |
Called before each event. Zeros the cache variable
Reimplemented from FastCentEstimator.
Reimplemented in BCentEstimator.
Definition at line 226 of file FastCentEstimators.C.
|
inlinevirtual |
Reimplemented from FastCentEstimator.
Reimplemented in ZNCentEstimator, V0CentEstimator, and FastNchCentEstimator.
Definition at line 279 of file FastCentEstimators.C.
Referenced by FastNchCentEstimator::Print(), and ZNCentEstimator::Print().
|
inlinevirtual |
Set-up this object. Defines the internal histogram and add to output
l | Output list |
tree | Tree to add branch to |
Implements FastCentEstimator.
Reimplemented in ZNCentEstimator, RefMultEstimator, V0CentEstimator, and BCentEstimator.
Definition at line 212 of file FastCentEstimators.C.
Referenced by BCentEstimator::Setup(), V0CentEstimator::Setup(), RefMultEstimator::Setup(), and ZNCentEstimator::Setup().
|
inlinevirtual |
Called at the end of the processing. The member function produces a histogram like the defined observable histogram, but the bin content corresponds to the centrality corresponding to that bin. In that way, we can do a simple look-up in the output histogram to extract the centrality
out | Output list to add information to. |
Implements FastCentEstimator.
Reimplemented in BCentEstimator.
Definition at line 249 of file FastCentEstimators.C.
ULong64_t Fast1DCentEstimator::fCache |
Sum of signals for a given event
Definition at line 185 of file FastCentEstimators.C.
Bool_t Fast1DCentEstimator::fFromTop |
Definition at line 191 of file FastCentEstimators.C.
TH1* Fast1DCentEstimator::fHistogram |
Our histogram. The Setup member function must be overridden to define this member.
Definition at line 190 of file FastCentEstimators.C.