AliPhysics  b76e98e (b76e98e)

#include <AliForwardMCMultiplicityTask.h>

Inheritance diagram for AliForwardMCMultiplicityTask:

Public Member Functions

 AliForwardMCMultiplicityTask (const char *name)
 
 AliForwardMCMultiplicityTask ()
 
Interface methods
virtual Bool_t Book ()
 
virtual Bool_t PreEvent ()
 
virtual Bool_t Event (AliESDEvent &esd)
 
virtual Bool_t PostEvent ()
 
void SetOnlyPrimary (Bool_t use)
 
Access to sub-algorithms
AliFMDEventInspectorGetEventInspector ()
 
AliFMDESDFixerGetESDFixer ()
 
AliFMDSharingFilterGetSharingFilter ()
 
AliFMDDensityCalculatorGetDensityCalculator ()
 
AliFMDCorrectorGetCorrections ()
 
AliFMDHistCollectorGetHistCollector ()
 
AliFMDEventPlaneFinderGetEventPlaneFinder ()
 
AliFMDMCTrackDensityGetTrackDensity ()
 
const AliFMDEventInspectorGetEventInspector () const
 
const AliFMDESDFixerGetESDFixer () const
 
const AliFMDSharingFilterGetSharingFilter () const
 
const AliFMDDensityCalculatorGetDensityCalculator () const
 
const AliFMDCorrectorGetCorrections () const
 
const AliFMDHistCollectorGetHistCollector () const
 
const AliFMDEventPlaneFinderGetEventPlaneFinder () const
 
const AliFMDMCTrackDensityGetTrackDensity () const
 
- Public Member Functions inherited from AliForwardMultiplicityBase
virtual void Print (Option_t *option="") const
 
virtual void SetDoTiming (Bool_t enable=true)
 
virtual void SetEnableLowFlux (Bool_t use=true)
 
virtual void SetDebug (Int_t dbg)
 
void SetStorePerRing (Bool_t use)
 
void SetAddMask (UInt_t mask)
 
virtual Bool_t PreData (const TAxis &vertex, const TAxis &eta)
 
virtual Bool_t Finalize ()
 
- 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 void SetDebugLevel (Int_t dbg)
 
void SetIPzMethod (const char *str)
 
virtual Bool_t Configure (const char *macro="-default-")
 

Protected Member Functions

 AliForwardMCMultiplicityTask (const AliForwardMCMultiplicityTask &o)
 
AliForwardMCMultiplicityTaskoperator= (const AliForwardMCMultiplicityTask &o)
 
virtual void InitMembers (const TAxis &pe, const TAxis &pv)
 
virtual void CreateBranches (AliAODHandler *ah)
 
virtual void EstimatedNdeta (const TList *input, TList *output) const
 
- Protected Member Functions inherited from AliForwardMultiplicityBase
 AliForwardMultiplicityBase (const char *name)
 
 AliForwardMultiplicityBase ()
 
 AliForwardMultiplicityBase (const AliForwardMultiplicityBase &o)
 
AliForwardMultiplicityBaseoperator= (const AliForwardMultiplicityBase &o)
 
virtual Bool_t MakeSimpledNdeta (const TList *input, TList *output, Double_t &nTr, Double_t &nTrVtx, Double_t &nAcc)
 
virtual void MakeRingdNdeta (const TList *input, const char *inName, TList *output, const char *outName, Int_t style=20) const
 
TAxisDefaultEtaAxis () const
 
TAxisDefaultVertexAxis () const
 
- 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

AliESDFMD fESDFMD
 
AliESDFMD fMCESDFMD
 
AliForwardUtil::Histos fMCHistos
 
AliAODForwardMult fMCAODFMD
 
AliForwardUtil::Histos fMCRingSums
 
TH2DfPrimary
 
AliFMDMCEventInspector fEventInspector
 
AliFMDESDFixer fESDFixer
 
AliFMDMCSharingFilter fSharingFilter
 
AliFMDMCDensityCalculator fDensityCalculator
 
AliFMDMCCorrector fCorrections
 
AliFMDHistCollector fHistCollector
 
AliFMDEventPlaneFinder fEventPlaneFinder
 
- Protected Attributes inherited from AliForwardMultiplicityBase
Bool_t fEnableLowFlux
 
Bool_t fStorePerRing
 
TH2DfHData
 
AliForwardUtil::Histos fHistos
 
AliAODForwardMult fAODFMD
 
AliAODForwardEP fAODEP
 
AliForwardUtil::Histos fRingSums
 
Bool_t fDoTiming
 
TProfile * fHTiming
 
TH1fHStatus
 
UInt_t fAddMask
 
- Protected Attributes inherited from AliBaseESDTask
Bool_t fFirstEvent
 
TListfList
 
TListfResults
 
UInt_t fNeededCorrections
 
UInt_t fExtraCorrections
 
Bool_t fCloneList
 

Additional Inherited Members

- Public Types inherited from AliForwardMultiplicityBase
enum  {
  kTimingEventInspector = 1, kTimingSharingFilter = 2, kTimingDensityCalculator = 3, kTimingCorrections = 4,
  kTimingHistCollector = 5, kTimingEventPlaneFinder = 6, kTimingTotal = 7
}
 
enum  {
  kStatusNoEvent = 1, kStatusNoTrigger, kStatusNoSPD, kStatusNoFMD,
  kStatusNoVertex, kStatusPileup, kStatusSPDOutlier, kStatusIPzOutOfRange,
  kStatusFailSharing, kStatusFailDensity, kStatusFailEventPlane, kStatusOutlier,
  kStatusFailCorrector, kStatusFailCollector, kStatusNotAdded, kStatusAllThrough
}
 

Detailed Description

Calculate the multiplicity in the forward regions event-by-event

Inputs:
Outputs:
Histograms
Corrections used

Definition at line 52 of file AliForwardMCMultiplicityTask.h.

Constructor & Destructor Documentation

AliForwardMCMultiplicityTask::AliForwardMCMultiplicityTask ( const char *  name)

Constructor

Parameters
nameName of task

Definition at line 75 of file AliForwardMCMultiplicityTask.cxx.

AliForwardMCMultiplicityTask::AliForwardMCMultiplicityTask ( )

Constructor

Definition at line 52 of file AliForwardMCMultiplicityTask.cxx.

Referenced by GetTrackDensity().

AliForwardMCMultiplicityTask::AliForwardMCMultiplicityTask ( const AliForwardMCMultiplicityTask o)
protected

Copy constructor

Parameters
oObject to copy from

Member Function Documentation

Bool_t AliForwardMCMultiplicityTask::Book ( )
virtual

Book output objects. Derived class should define this to book output objects on the processing output list fList before the actual event processing. This is called on the master and on each slave.

If this member function returns false, the execution is stopped with a fatal signal.

Returns
true on success.

Reimplemented from AliForwardMultiplicityBase.

Definition at line 134 of file AliForwardMCMultiplicityTask.cxx.

void AliForwardMCMultiplicityTask::CreateBranches ( AliAODHandler *  ah)
protectedvirtual

Create output branches - called from UserCreateOutputObjects

Reimplemented from AliForwardMultiplicityBase.

Definition at line 119 of file AliForwardMCMultiplicityTask.cxx.

Referenced by GetTrackDensity().

void AliForwardMCMultiplicityTask::EstimatedNdeta ( const TList input,
TList output 
) const
protectedvirtual

Do estimates of \(dN/d\eta\) - called at Terminate

Parameters
inputInput list
outputOutput list

Reimplemented from AliForwardMultiplicityBase.

Definition at line 435 of file AliForwardMCMultiplicityTask.cxx.

Referenced by GetTrackDensity().

Bool_t AliForwardMCMultiplicityTask::Event ( AliESDEvent esd)
virtual

Process each event

Parameters
esdESD event

Implements AliBaseESDTask.

Definition at line 205 of file AliForwardMCMultiplicityTask.cxx.

AliFMDCorrector& AliForwardMCMultiplicityTask::GetCorrections ( )
inlinevirtual

Get reference to the Corrections algorithm

Returns
Reference to AliFMDCorrector object

Implements AliForwardMultiplicityBase.

Definition at line 150 of file AliForwardMCMultiplicityTask.h.

const AliFMDCorrector& AliForwardMCMultiplicityTask::GetCorrections ( ) const
inlinevirtual

Get reference to the Corrections algorithm

Returns
Reference to AliFMDCorrector object

Implements AliForwardMultiplicityBase.

Definition at line 205 of file AliForwardMCMultiplicityTask.h.

AliFMDDensityCalculator& AliForwardMCMultiplicityTask::GetDensityCalculator ( )
inlinevirtual

Get reference to the DensityCalculator algorithm

Returns
Reference to AliFMDDensityCalculator object

Implements AliForwardMultiplicityBase.

Definition at line 144 of file AliForwardMCMultiplicityTask.h.

const AliFMDDensityCalculator& AliForwardMCMultiplicityTask::GetDensityCalculator ( ) const
inlinevirtual

Get reference to the DensityCalculator algorithm

Returns
Reference to AliFMDDensityCalculator object

Implements AliForwardMultiplicityBase.

Definition at line 199 of file AliForwardMCMultiplicityTask.h.

AliFMDESDFixer& AliForwardMCMultiplicityTask::GetESDFixer ( )
inlinevirtual

Get a reference to the event inspector. User must override this to return proper object

Returns
Reference to the event inspector Get reference to the ESDFixer algorithm
Reference to AliFMDESDFixer object

Implements AliForwardMultiplicityBase.

Definition at line 132 of file AliForwardMCMultiplicityTask.h.

Referenced by Book(), and Event().

const AliFMDESDFixer& AliForwardMCMultiplicityTask::GetESDFixer ( ) const
inlinevirtual

Get a reference to the event inspector. User must override this to return proper object

Returns
Reference to the event inspector Get reference to the ESDFixer algorithm
Reference to AliFMDESDFixer object

Implements AliForwardMultiplicityBase.

Definition at line 187 of file AliForwardMCMultiplicityTask.h.

AliFMDEventInspector& AliForwardMCMultiplicityTask::GetEventInspector ( )
inlinevirtual

Get reference to the EventInspector algorithm

Returns
Reference to AliFMDEventInspector object

Implements AliBaseESDTask.

Definition at line 119 of file AliForwardMCMultiplicityTask.h.

const AliFMDEventInspector& AliForwardMCMultiplicityTask::GetEventInspector ( ) const
inlinevirtual

Get reference to the EventInspector algorithm

Returns
Reference to AliFMDEventInspector object

Implements AliBaseESDTask.

Definition at line 174 of file AliForwardMCMultiplicityTask.h.

AliFMDEventPlaneFinder& AliForwardMCMultiplicityTask::GetEventPlaneFinder ( )
inlinevirtual

Get reference to the EventPlaneFinder algorithm

Returns
Reference to AliFMDEventPlaneFinder object

Implements AliForwardMultiplicityBase.

Definition at line 162 of file AliForwardMCMultiplicityTask.h.

const AliFMDEventPlaneFinder& AliForwardMCMultiplicityTask::GetEventPlaneFinder ( ) const
inlinevirtual

Get reference to the EventPlaneFinder algorithm

Returns
Reference to AliFMDEventPlaneFinder object

Implements AliForwardMultiplicityBase.

Definition at line 217 of file AliForwardMCMultiplicityTask.h.

AliFMDHistCollector& AliForwardMCMultiplicityTask::GetHistCollector ( )
inlinevirtual

Get reference to the HistCollector algorithm

Returns
Reference to AliFMDHistCollector object

Implements AliForwardMultiplicityBase.

Definition at line 156 of file AliForwardMCMultiplicityTask.h.

const AliFMDHistCollector& AliForwardMCMultiplicityTask::GetHistCollector ( ) const
inlinevirtual

Get reference to the HistCollector algorithm

Returns
Reference to AliFMDHistCollector object

Implements AliForwardMultiplicityBase.

Definition at line 211 of file AliForwardMCMultiplicityTask.h.

AliFMDSharingFilter& AliForwardMCMultiplicityTask::GetSharingFilter ( )
inlinevirtual

Get reference to the SharingFilter algorithm

Returns
Reference to AliFMDSharingFilter object

Implements AliForwardMultiplicityBase.

Definition at line 138 of file AliForwardMCMultiplicityTask.h.

const AliFMDSharingFilter& AliForwardMCMultiplicityTask::GetSharingFilter ( ) const
inlinevirtual

Get reference to the SharingFilter algorithm

Returns
Reference to AliFMDSharingFilter object

Implements AliForwardMultiplicityBase.

Definition at line 193 of file AliForwardMCMultiplicityTask.h.

AliFMDMCTrackDensity& AliForwardMCMultiplicityTask::GetTrackDensity ( )
inline

Get the track density calculator in the sharing filter

Returns
Reference to AliFMDMCTrackDensity object in sharing filter

Definition at line 168 of file AliForwardMCMultiplicityTask.h.

const AliFMDMCTrackDensity& AliForwardMCMultiplicityTask::GetTrackDensity ( ) const
inline

Get the track density calculator in the sharing filter

Returns
Reference to AliFMDMCTrackDensity object in sharing filter

Definition at line 223 of file AliForwardMCMultiplicityTask.h.

void AliForwardMCMultiplicityTask::InitMembers ( const TAxis pe,
const TAxis pv 
)
protectedvirtual

Initialize members based on eta and vertex axis - only available after first event - called from SetupForData.

Parameters
pe\(\eta\) axis
pvInteraction point Z-coordinate axis

Reimplemented from AliForwardMultiplicityBase.

Definition at line 147 of file AliForwardMCMultiplicityTask.cxx.

Referenced by GetTrackDensity().

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

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Referenced by GetTrackDensity().

Bool_t AliForwardMCMultiplicityTask::PostEvent ( )
virtual

Called after processing a single event - should not do anything but clear data, etc.

Returns
true on success

Reimplemented from AliForwardMultiplicityBase.

Definition at line 425 of file AliForwardMCMultiplicityTask.cxx.

Bool_t AliForwardMCMultiplicityTask::PreEvent ( )
virtual

Called before processing a single event - should not do anything but clear data, etc.

Returns
true on success

Reimplemented from AliBaseESDTask.

Definition at line 188 of file AliForwardMCMultiplicityTask.cxx.

void AliForwardMCMultiplicityTask::SetOnlyPrimary ( Bool_t  use)

Process only primary MC tracks

Parameters
use

Definition at line 111 of file AliForwardMCMultiplicityTask.cxx.

Member Data Documentation

AliFMDMCCorrector AliForwardMCMultiplicityTask::fCorrections
protected

Definition at line 275 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), GetCorrections(), and SetOnlyPrimary().

AliFMDMCDensityCalculator AliForwardMCMultiplicityTask::fDensityCalculator
protected

Definition at line 274 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), and GetDensityCalculator().

AliFMDESDFixer AliForwardMCMultiplicityTask::fESDFixer
protected

Definition at line 272 of file AliForwardMCMultiplicityTask.h.

Referenced by GetESDFixer().

AliESDFMD AliForwardMCMultiplicityTask::fESDFMD
protected

Definition at line 263 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), and PreEvent().

AliFMDMCEventInspector AliForwardMCMultiplicityTask::fEventInspector
protected

Definition at line 270 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), GetEventInspector(), and PreEvent().

AliFMDEventPlaneFinder AliForwardMCMultiplicityTask::fEventPlaneFinder
protected

Definition at line 277 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), and GetEventPlaneFinder().

AliFMDHistCollector AliForwardMCMultiplicityTask::fHistCollector
protected

Definition at line 276 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), and GetHistCollector().

AliAODForwardMult AliForwardMCMultiplicityTask::fMCAODFMD
protected
AliESDFMD AliForwardMCMultiplicityTask::fMCESDFMD
protected

Definition at line 264 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), and PreEvent().

AliForwardUtil::Histos AliForwardMCMultiplicityTask::fMCHistos
protected

Definition at line 265 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), InitMembers(), and PreEvent().

AliForwardUtil::Histos AliForwardMCMultiplicityTask::fMCRingSums
protected

Definition at line 267 of file AliForwardMCMultiplicityTask.h.

Referenced by Event(), and InitMembers().

TH2D* AliForwardMCMultiplicityTask::fPrimary
protected
AliFMDMCSharingFilter AliForwardMCMultiplicityTask::fSharingFilter
protected

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