AliPhysics  764b6ea (764b6ea)
AliForwardQATask Class Reference

#include <AliForwardQATask.h>

Inheritance diagram for AliForwardQATask:

Public Member Functions

 AliForwardQATask (const char *name)
 
 AliForwardQATask ()
 
void SetDebug (Int_t dbg)
 
void Print (Option_t *option="") const
 
Bool_t IsMC () const
 
Interface methods
virtual Bool_t Setup ()
 
virtual Bool_t Book ()
 
virtual Bool_t PreData (const TAxis &vertex, const TAxis &eta)
 
virtual Bool_t PreEvent ()
 
virtual Bool_t Event (AliESDEvent &esd)
 
virtual Bool_t Finalize ()
 
Default axes
virtual TAxisDefaultEtaAxis () const
 
virtual TAxisDefaultVertexAxis () const
 
Access to sub-algorithms
AliFMDEventInspectorGetEventInspector ()
 
AliFMDESDFixerGetESDFixer ()
 
AliFMDEnergyFitterGetEnergyFitter ()
 
AliFMDSharingFilterGetSharingFilter ()
 
AliFMDDensityCalculatorGetDensityCalculator ()
 
const AliFMDEventInspectorGetEventInspector () const
 
const AliFMDESDFixerGetESDFixer () const
 
const AliFMDEnergyFitterGetEnergyFitter () const
 
const AliFMDSharingFilterGetSharingFilter () const
 
const AliFMDDensityCalculatorGetDensityCalculator () const
 
- 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 void PreCorrections (const AliESDEvent *esd)
 
virtual Bool_t PostEvent ()
 
virtual void SetDebugLevel (Int_t dbg)
 
void SetIPzMethod (const char *str)
 
virtual Bool_t Configure (const char *macro="-default-")
 

Protected Member Functions

 AliForwardQATask (const AliForwardQATask &o)
 
AliForwardQATaskoperator= (const AliForwardQATask &o)
 
- Protected Member Functions inherited from AliBaseESDTask
 AliBaseESDTask (const AliBaseESDTask &o)
 
AliBaseESDTaskoperator= (const AliBaseESDTask &o)
 
virtual AliCorrectionManagerBaseGetManager () const
 
virtual AliCorrectionManagerBaseGetManager ()
 
virtual void CreateBranches (AliAODHandler *)
 
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

Bool_t fEnableLowFlux
 
AliESDFMD fESDFMD
 
AliForwardUtil::Histos fHistos
 
AliFMDEventInspector fEventInspector
 
AliFMDESDFixer fESDFixer
 
AliFMDEnergyFitter fEnergyFitter
 
AliFMDSharingFilter fSharingFilter
 
AliFMDDensityCalculator fDensityCalculator
 
- Protected Attributes inherited from AliBaseESDTask
Bool_t fFirstEvent
 
TListfList
 
TListfResults
 
UInt_t fNeededCorrections
 
UInt_t fExtraCorrections
 
Bool_t fCloneList
 

Detailed Description

Calculate the QA in the forward regions

Inputs:
Outputs:
  • Histograms
Histograms
Corrections used

Definition at line 43 of file AliForwardQATask.h.

Constructor & Destructor Documentation

AliForwardQATask::AliForwardQATask ( const char *  name)

Constructor

Parameters
nameName of task

Definition at line 51 of file AliForwardQATask.cxx.

AliForwardQATask::AliForwardQATask ( )

Constructor

Definition at line 33 of file AliForwardQATask.cxx.

Referenced by IsMC().

AliForwardQATask::AliForwardQATask ( const AliForwardQATask o)
protected

Copy constructor

Parameters
oObject to copy from

Member Function Documentation

Bool_t AliForwardQATask::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.

Implements AliBaseESDTask.

Definition at line 121 of file AliForwardQATask.cxx.

TAxis * AliForwardQATask::DefaultEtaAxis ( ) const
virtual

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 98 of file AliForwardQATask.cxx.

TAxis * AliForwardQATask::DefaultVertexAxis ( ) const
virtual

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 105 of file AliForwardQATask.cxx.

Bool_t AliForwardQATask::Event ( AliESDEvent esd)
virtual

Process each event

Parameters
esdEvent
Returns
true on success

Implements AliBaseESDTask.

Definition at line 205 of file AliForwardQATask.cxx.

Bool_t AliForwardQATask::Finalize ( )
virtual

End of job

Returns
true on success

Reimplemented from AliBaseESDTask.

Definition at line 286 of file AliForwardQATask.cxx.

AliFMDDensityCalculator& AliForwardQATask::GetDensityCalculator ( )
inline

Get reference to the DensityCalculator algorithm

Returns
Reference to AliFMDDensityCalculator object

Definition at line 167 of file AliForwardQATask.h.

Referenced by AddTaskForwardQA(), PreData(), Print(), and SetDebug().

const AliFMDDensityCalculator& AliForwardQATask::GetDensityCalculator ( ) const
inline

Get reference to the DensityCalculator algorithm

Returns
Reference to AliFMDDensityCalculator object

Definition at line 197 of file AliForwardQATask.h.

AliFMDEnergyFitter& AliForwardQATask::GetEnergyFitter ( )
inline

Get reference to the EnergyFitter algorithm

Returns
Reference to AliFMDEnergyFitter object

Definition at line 155 of file AliForwardQATask.h.

Referenced by AddTaskForwardQA(), PreData(), Print(), and SetDebug().

const AliFMDEnergyFitter& AliForwardQATask::GetEnergyFitter ( ) const
inline

Get reference to the EnergyFitter algorithm

Returns
Reference to AliFMDEnergyFitter object

Definition at line 185 of file AliForwardQATask.h.

AliFMDESDFixer& AliForwardQATask::GetESDFixer ( )
inline

Get reference to the ESDFixer algorithm

Returns
Reference to AliFMDESDFixer object

Definition at line 149 of file AliForwardQATask.h.

Referenced by Event(), and Print().

const AliFMDESDFixer& AliForwardQATask::GetESDFixer ( ) const
inline

Get reference to the ESDFixer algorithm

Returns
Reference to AliFMDESDFixer object

Definition at line 179 of file AliForwardQATask.h.

AliFMDEventInspector& AliForwardQATask::GetEventInspector ( )
inlinevirtual

Get reference to the EventInspector algorithm

Returns
Reference to AliFMDEventInspector object

Implements AliBaseESDTask.

Definition at line 143 of file AliForwardQATask.h.

Referenced by AddTaskForwardQA(), IsMC(), and PreData().

const AliFMDEventInspector& AliForwardQATask::GetEventInspector ( ) const
inlinevirtual

Get reference to the EventInspector algorithm

Returns
Reference to AliFMDEventInspector object

Implements AliBaseESDTask.

Definition at line 173 of file AliForwardQATask.h.

AliFMDSharingFilter& AliForwardQATask::GetSharingFilter ( )
inline

Get reference to the SharingFilter algorithm

Returns
Reference to AliFMDSharingFilter object

Definition at line 161 of file AliForwardQATask.h.

Referenced by AddTaskForwardQA(), PreData(), Print(), and SetDebug().

const AliFMDSharingFilter& AliForwardQATask::GetSharingFilter ( ) const
inline

Get reference to the SharingFilter algorithm

Returns
Reference to AliFMDSharingFilter object

Definition at line 191 of file AliForwardQATask.h.

Bool_t AliForwardQATask::IsMC ( ) const
inlinevirtual

Check if we're running over MC data

Returns
true if the event inspector thinks it's MC

Reimplemented from AliBaseESDTask.

Definition at line 218 of file AliForwardQATask.h.

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

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Referenced by IsMC().

Bool_t AliForwardQATask::PreData ( const TAxis vertex,
const TAxis eta 
)
virtual

Called after reading in the first event. Here we can setup stuff depending on the conditions we're running under.

Returns
true on success. If this returns false, then we turn the task into a zombie and we do no more processing.

Reimplemented from AliBaseESDTask.

Definition at line 145 of file AliForwardQATask.cxx.

Bool_t AliForwardQATask::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 196 of file AliForwardQATask.cxx.

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

Print information

Parameters
optionNot used

Reimplemented from AliBaseESDTask.

Definition at line 335 of file AliForwardQATask.cxx.

Referenced by GetDensityCalculator().

void AliForwardQATask::SetDebug ( Int_t  dbg)
virtual

Set debug level

Parameters
dbgDebug level

Reimplemented from AliBaseESDTask.

Definition at line 82 of file AliForwardQATask.cxx.

Referenced by AddTaskForwardQA(), and GetDensityCalculator().

Bool_t AliForwardQATask::Setup ( )
virtual

Called when initialising the train.

Returns
Always true

Reimplemented from AliBaseESDTask.

Definition at line 113 of file AliForwardQATask.cxx.

Member Data Documentation

AliFMDDensityCalculator AliForwardQATask::fDensityCalculator
protected

Definition at line 242 of file AliForwardQATask.h.

Referenced by Book(), Event(), Finalize(), and GetDensityCalculator().

Bool_t AliForwardQATask::fEnableLowFlux
protected

Definition at line 235 of file AliForwardQATask.h.

Referenced by Event().

AliFMDEnergyFitter AliForwardQATask::fEnergyFitter
protected

Definition at line 240 of file AliForwardQATask.h.

Referenced by AliForwardQATask(), Book(), Event(), Finalize(), GetEnergyFitter(), and Setup().

AliFMDESDFixer AliForwardQATask::fESDFixer
protected

Definition at line 239 of file AliForwardQATask.h.

Referenced by Book(), and GetESDFixer().

AliESDFMD AliForwardQATask::fESDFMD
protected

Definition at line 236 of file AliForwardQATask.h.

Referenced by Event(), and PreEvent().

AliFMDEventInspector AliForwardQATask::fEventInspector
protected

Definition at line 238 of file AliForwardQATask.h.

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

AliForwardUtil::Histos AliForwardQATask::fHistos
protected

Definition at line 237 of file AliForwardQATask.h.

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

AliFMDSharingFilter AliForwardQATask::fSharingFilter
protected

Definition at line 241 of file AliForwardQATask.h.

Referenced by Book(), Event(), Finalize(), and GetSharingFilter().


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