AliPhysics  1811c8f (1811c8f)
AliMultEventClassifier Class Reference

#include <AliMultEventClassifier.h>

Inheritance diagram for AliMultEventClassifier:

Public Member Functions

 AliMultEventClassifier ()
 
 AliMultEventClassifier (const char *)
 
 AliMultEventClassifier (const AliMultEventClassifier &o)
 
AliMultEventClassifieroperator= (const AliMultEventClassifier &)
 
void CreateOutputObjects (TList *l)
 
void Process (AliESDEvent *esd, AliAODMultEventClass *data)
 
void Print (Option_t *option="") const
 
void SetUseCentrality (Bool_t use)
 

Protected Member Functions

void GetCentrality (AliESDEvent *esd, AliAODMultEventClass *data, Int_t mult, UShort_t which)
 
const char * GetCentName (UShort_t which) const
 
TH2GetCorr (UShort_t which) const
 
TH2GetVs (UShort_t which) const
 
TH2MakeCorr (UShort_t which)
 
TH2MakeVs (UShort_t which, const TArrayD &bins)
 

Protected Attributes

AliPPVsMultUtils * fUtil
 
UInt_t fMax
 
TListfList
 
TH2fCorrV0M
 
TH2fCorrV0A
 
TH2fCorrV0C
 
TH2fCorrV0MEq
 
TH2fCorrV0AEq
 
TH2fCorrV0CEq
 
TH2fMultCND
 
TH2fMultV0M
 
TH2fMultV0A
 
TH2fMultV0C
 
TH2fMultV0MEq
 
TH2fMultV0AEq
 
TH2fMultV0CEq
 
Bool_t fUseCentrality
 

Detailed Description

Collect different types of mulitplicity event classifiers

See

Definition at line 18 of file AliMultEventClassifier.h.

Constructor & Destructor Documentation

AliMultEventClassifier::AliMultEventClassifier ( )
inline

Default constructor - only for ROOT I/O

Definition at line 24 of file AliMultEventClassifier.h.

AliMultEventClassifier::AliMultEventClassifier ( const char *  )
inline

Constructor

Definition at line 47 of file AliMultEventClassifier.h.

AliMultEventClassifier::AliMultEventClassifier ( const AliMultEventClassifier o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 72 of file AliMultEventClassifier.h.

Member Function Documentation

void AliMultEventClassifier::CreateOutputObjects ( TList l)

Create our output histograms and store in list

Parameters
lParent list

Definition at line 143 of file AliMultEventClassifier.cxx.

Referenced by AliMultEventClassifierTask::operator=(), operator=(), and AliMultEventClassifierTask::UserCreateOutputObjects().

const char * AliMultEventClassifier::GetCentName ( UShort_t  which) const
protected

Get the name of a centrality estimator

Parameters
whichThe estimator
Returns
Name of estimator or null

Definition at line 14 of file AliMultEventClassifier.cxx.

Referenced by GetCentrality(), MakeCorr(), MakeVs(), and SetUseCentrality().

void AliMultEventClassifier::GetCentrality ( AliESDEvent esd,
AliAODMultEventClass data,
Int_t  mult,
UShort_t  which 
)
protected

Get a centrality from both algorithms, histogram, and store

Parameters
esdEvent
dataOutput
multReference multiplicity
whichWhich centrality estimator

Definition at line 54 of file AliMultEventClassifier.cxx.

Referenced by Process(), and SetUseCentrality().

TH2 * AliMultEventClassifier::GetCorr ( UShort_t  which) const
protected

Get the correlation histogram

Parameters
whichWhich estimator
Returns
Pointer to histogram or null

Definition at line 26 of file AliMultEventClassifier.cxx.

Referenced by GetCentrality(), and SetUseCentrality().

TH2 * AliMultEventClassifier::GetVs ( UShort_t  which) const
protected

Get the reference multiplicity versus centrality estimator histogram

Parameters
whichWhich estimator
Returns
Pointer to histogram or null

Definition at line 39 of file AliMultEventClassifier.cxx.

Referenced by GetCentrality(), and SetUseCentrality().

TH2 * AliMultEventClassifier::MakeCorr ( UShort_t  which)
protected

Maek correation histogram

Parameters
whichCentrlaity estimator
Returns
histogram or null

Definition at line 83 of file AliMultEventClassifier.cxx.

Referenced by CreateOutputObjects(), and SetUseCentrality().

TH2 * AliMultEventClassifier::MakeVs ( UShort_t  which,
const TArrayD bins 
)
protected

Make a reference multiplicity versus centrality estimator histogram

Parameters
whichWhich estimator
binsBins to use
Returns
Pointer to histogram or null

Definition at line 112 of file AliMultEventClassifier.cxx.

Referenced by CreateOutputObjects(), and SetUseCentrality().

AliMultEventClassifier& AliMultEventClassifier::operator= ( const AliMultEventClassifier )
inline

Assignement operator

Returns
Reference to this

Definition at line 97 of file AliMultEventClassifier.h.

void AliMultEventClassifier::Print ( Option_t option = "") const

Print the task

Parameters
optionNot used

Definition at line 214 of file AliMultEventClassifier.cxx.

Referenced by operator=().

void AliMultEventClassifier::Process ( AliESDEvent esd,
AliAODMultEventClass data 
)

Process an event

Parameters
esdESD event
dataOutput data

Definition at line 185 of file AliMultEventClassifier.cxx.

Referenced by operator=(), and AliMultEventClassifierTask::UserExec().

void AliMultEventClassifier::SetUseCentrality ( Bool_t  use)
inline

Set whether to estimate the centrality using the code of AliPPVsMultUtils.

Parameters
useIf true, also do centrality, otherwise not

Definition at line 127 of file AliMultEventClassifier.h.

Member Data Documentation

TH2* AliMultEventClassifier::fCorrV0A
protected

Definition at line 186 of file AliMultEventClassifier.h.

Referenced by GetCorr(), and MakeCorr().

TH2* AliMultEventClassifier::fCorrV0AEq
protected

Definition at line 189 of file AliMultEventClassifier.h.

Referenced by GetCorr(), and MakeCorr().

TH2* AliMultEventClassifier::fCorrV0C
protected

Definition at line 187 of file AliMultEventClassifier.h.

Referenced by GetCorr(), and MakeCorr().

TH2* AliMultEventClassifier::fCorrV0CEq
protected

Definition at line 190 of file AliMultEventClassifier.h.

Referenced by GetCorr(), and MakeCorr().

TH2* AliMultEventClassifier::fCorrV0M
protected

Definition at line 185 of file AliMultEventClassifier.h.

Referenced by GetCorr(), and MakeCorr().

TH2* AliMultEventClassifier::fCorrV0MEq
protected

Definition at line 188 of file AliMultEventClassifier.h.

Referenced by GetCorr(), and MakeCorr().

TList* AliMultEventClassifier::fList
protected

Definition at line 184 of file AliMultEventClassifier.h.

Referenced by CreateOutputObjects(), MakeCorr(), and MakeVs().

UInt_t AliMultEventClassifier::fMax
protected

Definition at line 183 of file AliMultEventClassifier.h.

Referenced by CreateOutputObjects(), and Process().

TH2* AliMultEventClassifier::fMultCND
protected

Definition at line 191 of file AliMultEventClassifier.h.

Referenced by GetVs(), and MakeVs().

TH2* AliMultEventClassifier::fMultV0A
protected

Definition at line 193 of file AliMultEventClassifier.h.

Referenced by GetVs(), and MakeVs().

TH2* AliMultEventClassifier::fMultV0AEq
protected

Definition at line 196 of file AliMultEventClassifier.h.

Referenced by GetVs(), and MakeVs().

TH2* AliMultEventClassifier::fMultV0C
protected

Definition at line 194 of file AliMultEventClassifier.h.

Referenced by GetVs(), and MakeVs().

TH2* AliMultEventClassifier::fMultV0CEq
protected

Definition at line 197 of file AliMultEventClassifier.h.

Referenced by GetVs(), and MakeVs().

TH2* AliMultEventClassifier::fMultV0M
protected

Definition at line 192 of file AliMultEventClassifier.h.

Referenced by GetVs(), and MakeVs().

TH2* AliMultEventClassifier::fMultV0MEq
protected

Definition at line 195 of file AliMultEventClassifier.h.

Referenced by GetVs(), and MakeVs().

Bool_t AliMultEventClassifier::fUseCentrality
protected

Definition at line 198 of file AliMultEventClassifier.h.

Referenced by GetCentrality(), Process(), and SetUseCentrality().

AliPPVsMultUtils* AliMultEventClassifier::fUtil
protected

Definition at line 182 of file AliMultEventClassifier.h.

Referenced by CreateOutputObjects(), and GetCentrality().


The documentation for this class was generated from the following files: