AliPhysics  5364b50 (5364b50)
AliCentralMultiplicityTask Class Reference

#include <AliCentralMultiplicityTask.h>

Inheritance diagram for AliCentralMultiplicityTask:

Classes

struct  VtxBin
 

Interface methods

AliFMDEventInspector fInspector
 
AliAODCentralMult fAODCentral
 
Bool_t fUseSecondary
 
Bool_t fUseAcceptance
 
Int_t fIvz
 
TH2DfNClusterTracklet
 
TH2DfClusterPerTracklet
 
TH1DfNCluster
 
TH1DfNTracklet
 Number of clusters. More...
 
TObjArrayfVtxList
 number of tracklets More...
 
Bool_t fStore
 Array of vertex bins. More...
 
TH2DfHData
 
 AliCentralMultiplicityTask (const char *name)
 
 AliCentralMultiplicityTask ()
 
virtual Bool_t Book ()
 
virtual void CreateBranches (AliAODHandler *ah)
 
virtual Bool_t PreData (const TAxis &v, const TAxis &e)
 
virtual Bool_t PreEvent ()
 
virtual Bool_t Event (AliESDEvent &esd)
 
virtual Bool_t Finalize ()
 
virtual void Print (Option_t *option="") const
 
virtual void SetUseSecondary (Bool_t use)
 
virtual void SetUseAcceptance (Bool_t use)
 
virtual void SetMakeDiagnostics (Bool_t use=true)
 
AliFMDEventInspectorGetEventInspector ()
 
const AliFMDEventInspectorGetEventInspector () const
 
 AliCentralMultiplicityTask (const AliCentralMultiplicityTask &o)
 
AliCentralMultiplicityTaskoperator= (const AliCentralMultiplicityTask &o)
 
virtual void ProcessESD (TH2D &hist, const AliMultiplicity *spdmult) const
 
Bool_t MakeSimpledNdeta (const TList *input, TList *output, Double_t &nTr, Double_t &nTrVtx, Double_t &nAcc)
 
TAxisDefaultEtaAxis () const
 
TAxisDefaultVertexAxis () const
 

Additional Inherited Members

- Public Member Functions inherited from AliBaseESDTask
 AliBaseESDTask ()
 
 AliBaseESDTask (const char *name, const char *title, AliCorrectionManagerBase *manager)
 
virtual Bool_t Connect (const char *sumFile=0, const char *resFile=0)
 
virtual Bool_t Connect (const char *sumFile, const char *resFile, Bool_t old)
 
virtual Bool_t Setup ()
 
virtual void PreCorrections (const AliESDEvent *esd)
 
virtual Bool_t PostEvent ()
 
virtual void SetDebug (Int_t dbg)
 
virtual void SetDebugLevel (Int_t dbg)
 
void SetIPzMethod (const char *str)
 
virtual Bool_t Configure (const char *macro="-default-")
 
- Protected Member Functions inherited from AliBaseESDTask
 AliBaseESDTask (const AliBaseESDTask &o)
 
AliBaseESDTaskoperator= (const AliBaseESDTask &o)
 
virtual Bool_t IsMC () const
 
virtual AliCorrectionManagerBaseGetManager () const
 
virtual AliCorrectionManagerBaseGetManager ()
 
virtual void MarkEventForStore () const
 
virtual Bool_t CheckCorrections (UInt_t what) const
 
virtual Bool_t ReadCorrections (const TAxis *&pe, const TAxis *&pv, Bool_t mc=false, Bool_t sat=false)
 
virtual AliESDEventGetESDEvent ()
 
virtual Bool_t StoreTrainName (Int_t no)
 
virtual const char * DefaultConfig () const
 
void LocalInit ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
void Terminate (Option_t *option)
 
- Protected Attributes inherited from AliBaseESDTask
Bool_t fFirstEvent
 
TListfList
 
TListfResults
 
UInt_t fNeededCorrections
 
UInt_t fExtraCorrections
 
Bool_t fCloneList
 

Detailed Description

Class that calculates the multiplicity in the central region event-by-event

Inputs:
Outputs:
Histograms
Corrections used

Definition at line 46 of file AliCentralMultiplicityTask.h.

Constructor & Destructor Documentation

AliCentralMultiplicityTask::AliCentralMultiplicityTask ( const char *  name)

Constructor

Parameters
nameName of task

Definition at line 36 of file AliCentralMultiplicityTask.cxx.

AliCentralMultiplicityTask::AliCentralMultiplicityTask ( )

Constructor

Reserved for ROOT's I/O system - do not use

Definition at line 61 of file AliCentralMultiplicityTask.cxx.

Referenced by GetEventInspector().

AliCentralMultiplicityTask::AliCentralMultiplicityTask ( const AliCentralMultiplicityTask o)
protected

Copy constructor

Parameters
oObject to copy from

Member Function Documentation

Bool_t AliCentralMultiplicityTask::Book ( )
virtual

Create output objects

Returns
true on success

Implements AliBaseESDTask.

Reimplemented in AliCentralMCMultiplicityTask.

Definition at line 101 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMCMultiplicityTask::Book().

void AliCentralMultiplicityTask::CreateBranches ( AliAODHandler *  ah)
virtual

Creat output objects in tree

Parameters
ahHandler

Reimplemented from AliBaseESDTask.

Reimplemented in AliCentralMCMultiplicityTask.

Definition at line 84 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMCMultiplicityTask::CreateBranches().

TAxis* AliCentralMultiplicityTask::DefaultEtaAxis ( ) const
inlineprotectedvirtual

Set the default eta axis to use in case we didn't get one from the read-in corretions. Override this if the sub class should go on even without a valid eta axis from the corrections (e.g. QA task)

Returns
null

Reimplemented from AliBaseESDTask.

Definition at line 258 of file AliCentralMultiplicityTask.h.

TAxis* AliCentralMultiplicityTask::DefaultVertexAxis ( ) const
inlineprotectedvirtual

Set the default eta axis to use in case we didn't get one from the read-in corretions. Override this if the sub class should go on even without a valid eta axis from the corrections (e.g. QA task)

Returns
null

Reimplemented from AliBaseESDTask.

Definition at line 259 of file AliCentralMultiplicityTask.h.

Bool_t AliCentralMultiplicityTask::Event ( AliESDEvent esd)
virtual

Process each event

Parameters
esdESD event
Returns
true on success

Implements AliBaseESDTask.

Reimplemented in AliCentralMCMultiplicityTask.

Definition at line 198 of file AliCentralMultiplicityTask.cxx.

Bool_t AliCentralMultiplicityTask::Finalize ( )
virtual

End of job

Returns
true on success

Reimplemented from AliBaseESDTask.

Definition at line 279 of file AliCentralMultiplicityTask.cxx.

AliFMDEventInspector& AliCentralMultiplicityTask::GetEventInspector ( )
inlinevirtual

Get the event inspector

Returns
Reference to used event inspector

Implements AliBaseESDTask.

Definition at line 135 of file AliCentralMultiplicityTask.h.

Referenced by CentralAODConfig(), and MakeSimpledNdeta().

const AliFMDEventInspector& AliCentralMultiplicityTask::GetEventInspector ( ) const
inlinevirtual

Get the event inspector

Returns
Reference to used event inspector

Implements AliBaseESDTask.

Definition at line 141 of file AliCentralMultiplicityTask.h.

Bool_t AliCentralMultiplicityTask::MakeSimpledNdeta ( const TList input,
TList output,
Double_t nTr,
Double_t nTrVtx,
Double_t nAcc 
)
protected

Make a simple \(\frac{dN_{ch}}{d\eta}\) estimate.

Parameters
inputSum list
outputOutput list
nTrOn return, the number of events w/triggers
nTrVtxOn return, the number of events w/triggers+vertex
nAccOn return, the number of accepted events
Returns
true on success, false otherwise

Definition at line 301 of file AliCentralMultiplicityTask.cxx.

Referenced by Finalize().

AliCentralMultiplicityTask& AliCentralMultiplicityTask::operator= ( const AliCentralMultiplicityTask o)
protected

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Referenced by GetEventInspector().

Bool_t AliCentralMultiplicityTask::PreData ( const TAxis v,
const TAxis e 
)
virtual

Called just before first event

Parameters
vVertex axis
e\(\eta\) axis
Returns
true on success

Reimplemented from AliBaseESDTask.

Reimplemented in AliCentralMCMultiplicityTask.

Definition at line 110 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMCMultiplicityTask::PreData().

Bool_t AliCentralMultiplicityTask::PreEvent ( )
virtual

Called before event

Returns
true on success

Reimplemented from AliBaseESDTask.

Reimplemented in AliCentralMCMultiplicityTask.

Definition at line 191 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMCMultiplicityTask::PreEvent().

void AliCentralMultiplicityTask::Print ( Option_t option = "") const
virtual

Print information

Parameters
optionNot used

Reimplemented from AliBaseESDTask.

Reimplemented in AliCentralMCMultiplicityTask.

Definition at line 402 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMCMultiplicityTask::Print().

void AliCentralMultiplicityTask::ProcessESD ( TH2D hist,
const AliMultiplicity *  spdmult 
) const
protectedvirtual

Process the ESD SPD information

Parameters
histHistogram to fill
spdmultSPD multiplicity object

Definition at line 247 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMCMultiplicityTask::Event(), Event(), and GetEventInspector().

virtual void AliCentralMultiplicityTask::SetMakeDiagnostics ( Bool_t  use = true)
inlinevirtual

Set whether to make diagnostics or not

Parameters
useIf true, store some extra diagnostic histograms

Definition at line 129 of file AliCentralMultiplicityTask.h.

virtual void AliCentralMultiplicityTask::SetUseAcceptance ( Bool_t  use)
inlinevirtual

Set whether to use the acceptance corrections

Parameters
useWhether to use acceptance corrections

Definition at line 123 of file AliCentralMultiplicityTask.h.

Referenced by CentralAODConfig().

virtual void AliCentralMultiplicityTask::SetUseSecondary ( Bool_t  use)
inlinevirtual

Set whether to use the secondary corrections

Parameters
useWhether to use secondary corrections

Definition at line 117 of file AliCentralMultiplicityTask.h.

Referenced by CentralAODConfig().

Member Data Documentation

AliAODCentralMult AliCentralMultiplicityTask::fAODCentral
protected
TH2D* AliCentralMultiplicityTask::fClusterPerTracklet
protected

Definition at line 266 of file AliCentralMultiplicityTask.h.

Referenced by PreData(), and ProcessESD().

TH2D* AliCentralMultiplicityTask::fHData
protected
AliFMDEventInspector AliCentralMultiplicityTask::fInspector
protected
Int_t AliCentralMultiplicityTask::fIvz
protected

Definition at line 264 of file AliCentralMultiplicityTask.h.

Referenced by AliCentralMCMultiplicityTask::Event(), and Event().

TH1D* AliCentralMultiplicityTask::fNCluster
protected

Definition at line 267 of file AliCentralMultiplicityTask.h.

Referenced by PreData(), and ProcessESD().

TH2D* AliCentralMultiplicityTask::fNClusterTracklet
protected

Definition at line 265 of file AliCentralMultiplicityTask.h.

Referenced by PreData(), and ProcessESD().

TH1D* AliCentralMultiplicityTask::fNTracklet
protected

Number of clusters.

Definition at line 268 of file AliCentralMultiplicityTask.h.

Referenced by PreData(), and ProcessESD().

Bool_t AliCentralMultiplicityTask::fStore
protected

Array of vertex bins.

Definition at line 270 of file AliCentralMultiplicityTask.h.

Referenced by PreData(), and SetMakeDiagnostics().

Bool_t AliCentralMultiplicityTask::fUseAcceptance
protected
Bool_t AliCentralMultiplicityTask::fUseSecondary
protected
TObjArray* AliCentralMultiplicityTask::fVtxList
protected

number of tracklets

Definition at line 269 of file AliCentralMultiplicityTask.h.

Referenced by AliCentralMCMultiplicityTask::Event(), Event(), PreData(), and Print().


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