AliPhysics  41af4b0 (41af4b0)
AliAODCentralMult Class Reference

#include <AliAODCentralMult.h>

Inheritance diagram for AliAODCentralMult:

Public Types

enum  { kSecondary = (1 << 14), kAcceptance = (1 << 16), kEmpirical = (1 << 19) }
 

Public Member Functions

 AliAODCentralMult ()
 
 AliAODCentralMult (Bool_t isMC)
 
virtual ~AliAODCentralMult ()
 
void Init (const TAxis &etaAxis)
 
const TH2DGetHistogram () const
 
TH2DGetHistogram ()
 
void Clear (Option_t *opt)
 
void Browse (TBrowser *b)
 
Bool_t IsFolder () const
 
Bool_t IsSecondaryCorrected () const
 
Bool_t IsAcceptanceCorrected () const
 
Bool_t IsEmpiricalCorrected () const
 
void Print (Option_t *option="") const
 
const Char_tGetName () const
 

Protected Attributes

Bool_t fIsMC
 
TH2D fHist
 

Detailed Description

Class that contains the central multiplicity data per event

This class contains a histogram of

\[ \frac{d^2N_{ch}}{d\eta d\phi}\quad, \]

as well as a trigger mask for each analysed event.

The eta acceptance of the event is stored in the underflow bins of the histogram. So to build the final histogram, one needs to correct for this acceptance (properly weighted by the events), and the vertex efficiency. This simply boils down to defining a 2D histogram and summing the event histograms in that histogram. One should of course also do proper book-keeping of the accepted event.

Definition at line 37 of file AliAODCentralMult.h.

Member Enumeration Documentation

anonymous enum

User bits of these objects (bits 14-23 can be used)

Enumerator
kSecondary 

Secondary correction maps where applied

kAcceptance 

Acceptance correction was applied

kEmpirical 

Used eta dependent empirical correction - to be implemented

Definition at line 43 of file AliAODCentralMult.h.

Constructor & Destructor Documentation

AliAODCentralMult::AliAODCentralMult ( )

Default constructor

Used by ROOT I/O sub-system - do not use

Definition at line 29 of file AliAODCentralMult.cxx.

AliAODCentralMult::AliAODCentralMult ( Bool_t  isMC)

Constructor

Parameters
isMCWhether this was from MC or not

Definition at line 39 of file AliAODCentralMult.cxx.

virtual AliAODCentralMult::~AliAODCentralMult ( )
inlinevirtual

Destructor

Definition at line 66 of file AliAODCentralMult.h.

Member Function Documentation

void AliAODCentralMult::Browse ( TBrowser *  b)

browse this object

Parameters
bBrowser

Definition at line 78 of file AliAODCentralMult.cxx.

Referenced by GetHistogram().

void AliAODCentralMult::Clear ( Option_t opt)

Clear Object between events

Parameters
optoption (not used)

Definition at line 58 of file AliAODCentralMult.cxx.

Referenced by GetHistogram(), AliCentralMCMultiplicityTask::PreEvent(), and AliCentralMultiplicityTask::PreEvent().

const TH2D& AliAODCentralMult::GetHistogram ( ) const
inline
TH2D& AliAODCentralMult::GetHistogram ( )
inline

Get the \( d^2N_{ch}/d\eta d\phi\) histogram,

Returns
\( d^2N_{ch}/d\eta d\phi\) histogram,

Definition at line 84 of file AliAODCentralMult.h.

const Char_t* AliAODCentralMult::GetName ( ) const
inline

Get the name of the object

Returns
Name of object

Definition at line 120 of file AliAODCentralMult.h.

void AliAODCentralMult::Init ( const TAxis etaAxis)

Initialize

Parameters
etaAxisPseudo-rapidity axis

Definition at line 65 of file AliAODCentralMult.cxx.

Referenced by AliCentralMCMultiplicityTask::PreData(), AliCentralMultiplicityTask::PreData(), and ~AliAODCentralMult().

Bool_t AliAODCentralMult::IsAcceptanceCorrected ( ) const
inline

Definition at line 106 of file AliAODCentralMult.h.

Bool_t AliAODCentralMult::IsEmpiricalCorrected ( ) const
inline

Definition at line 107 of file AliAODCentralMult.h.

Bool_t AliAODCentralMult::IsFolder ( ) const
inline

This is a folder

Returns
Always true

Definition at line 103 of file AliAODCentralMult.h.

Bool_t AliAODCentralMult::IsSecondaryCorrected ( ) const
inline

Definition at line 105 of file AliAODCentralMult.h.

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

Print content

Parameters
optionPassed verbatim to TH2::Print

Definition at line 90 of file AliAODCentralMult.cxx.

Referenced by IsEmpiricalCorrected().

Member Data Documentation

TH2D AliAODCentralMult::fHist
protected

Histogram of \(d^2N_{ch}/(d\eta d\phi)\) for this event

Definition at line 126 of file AliAODCentralMult.h.

Referenced by AliAODCentralMult(), Browse(), Clear(), GetHistogram(), Init(), and Print().

Bool_t AliAODCentralMult::fIsMC
protected

Whether this is MC

Definition at line 124 of file AliAODCentralMult.h.

Referenced by GetName().


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