AliPhysics  05c4c93 (05c4c93)
AliFMDEnergyFitterTask Class Reference

#include <AliFMDEnergyFitterTask.h>

Inheritance diagram for AliFMDEnergyFitterTask:

Public Member Functions

 AliFMDEnergyFitterTask (const char *name)
 
 AliFMDEnergyFitterTask ()
 
void Print (Option_t *option="") const
 
Interface methods
virtual Bool_t Setup ()
 
virtual Bool_t Book ()
 
virtual void PreCorrections (const AliESDEvent *esd)
 
virtual Bool_t PreData (const TAxis &vertex, const TAxis &eta)
 
virtual Bool_t Event (AliESDEvent &esd)
 
virtual Bool_t Finalize ()
 
Access to sub-algorithms
AliFMDEventInspectorGetEventInspector ()
 
const AliFMDEventInspectorGetEventInspector () const
 
AliFMDESDFixerGetESDFixer ()
 
AliFMDEnergyFitterGetEnergyFitter ()
 
Settings
void SetDebug (Int_t dbg)
 
void SetOnlyMB (Bool_t onlyMB)
 
Default axes
virtual TAxisDefaultEtaAxis () const
 
virtual TAxisDefaultVertexAxis () 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 Bool_t PreEvent ()
 
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

 AliFMDEnergyFitterTask (const AliFMDEnergyFitterTask &o)
 
AliFMDEnergyFitterTaskoperator= (const AliFMDEnergyFitterTask &o)
 
virtual const char * DefaultConfig () 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 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)
 
void LocalInit ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
void Terminate (Option_t *option)
 

Protected Attributes

AliFMDEventInspector fEventInspector
 
AliFMDESDFixer fESDFixer
 
AliFMDEnergyFitter fEnergyFitter
 
Bool_t fOnlyMB
 
- Protected Attributes inherited from AliBaseESDTask
Bool_t fFirstEvent
 
TListfList
 
TListfResults
 
UInt_t fNeededCorrections
 
UInt_t fExtraCorrections
 
Bool_t fCloneList
 

Detailed Description

Histogram and fit the energy loss distributions for the FMD

Inputs:
Outputs:
  • None
Histograms
Corrections used
  • None

Definition at line 44 of file AliFMDEnergyFitterTask.h.

Constructor & Destructor Documentation

AliFMDEnergyFitterTask::AliFMDEnergyFitterTask ( const char *  name)

Constructor

Parameters
nameName of task

Definition at line 48 of file AliFMDEnergyFitterTask.cxx.

AliFMDEnergyFitterTask::AliFMDEnergyFitterTask ( )

Constructor

Definition at line 33 of file AliFMDEnergyFitterTask.cxx.

Referenced by SetOnlyMB().

AliFMDEnergyFitterTask::AliFMDEnergyFitterTask ( const AliFMDEnergyFitterTask o)
protected

Copy constructor

Parameters
oObject to copy from

Member Function Documentation

Bool_t AliFMDEnergyFitterTask::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 105 of file AliFMDEnergyFitterTask.cxx.

virtual const char* AliFMDEnergyFitterTask::DefaultConfig ( ) const
inlineprotectedvirtual

Get default configuration script name

Returns
Script name

Reimplemented from AliBaseESDTask.

Definition at line 205 of file AliFMDEnergyFitterTask.h.

TAxis * AliFMDEnergyFitterTask::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 82 of file AliFMDEnergyFitterTask.cxx.

Referenced by SetOnlyMB().

TAxis * AliFMDEnergyFitterTask::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 89 of file AliFMDEnergyFitterTask.cxx.

Referenced by SetOnlyMB().

Bool_t AliFMDEnergyFitterTask::Event ( AliESDEvent esd)
virtual

Process each event

Parameters
esdEvent to analyse
Returns
true on success

Implements AliBaseESDTask.

Definition at line 164 of file AliFMDEnergyFitterTask.cxx.

Bool_t AliFMDEnergyFitterTask::Finalize ( )
virtual

End of job

Returns
true on success

Reimplemented from AliBaseESDTask.

Definition at line 230 of file AliFMDEnergyFitterTask.cxx.

AliFMDEnergyFitter& AliFMDEnergyFitterTask::GetEnergyFitter ( )
inline

Get reference to the EnergyFitter algorithm

Returns
Reference to AliFMDEnergyFitter object

Definition at line 144 of file AliFMDEnergyFitterTask.h.

Referenced by AddTaskFMDELoss(), and elossFitConfig().

AliFMDESDFixer& AliFMDEnergyFitterTask::GetESDFixer ( )
inline

Get reference to the ESDFixer algorithm

Returns
Reference to AliFMDESDFixer object

Definition at line 138 of file AliFMDEnergyFitterTask.h.

Referenced by AddTaskFMDELoss(), and elossFitConfig().

AliFMDEventInspector& AliFMDEnergyFitterTask::GetEventInspector ( )
inlinevirtual

Get reference to the EventInspector algorithm

Returns
Reference to AliFMDEventInspector object

Implements AliBaseESDTask.

Definition at line 126 of file AliFMDEnergyFitterTask.h.

Referenced by elossFitConfig(), and PreData().

const AliFMDEventInspector& AliFMDEnergyFitterTask::GetEventInspector ( ) const
inlinevirtual

Get reference to the EventInspector algorithm

Returns
Reference to AliFMDEventInspector object

Implements AliBaseESDTask.

Definition at line 132 of file AliFMDEnergyFitterTask.h.

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

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Referenced by SetOnlyMB().

void AliFMDEnergyFitterTask::PreCorrections ( const AliESDEvent esd)
virtual

Called on first event before reading corrections. Here, the user class can do additional checking to see if the some (more or less) corrections are needed.

Parameters
esdEvent

Reimplemented from AliBaseESDTask.

Definition at line 127 of file AliFMDEnergyFitterTask.cxx.

Bool_t AliFMDEnergyFitterTask::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 148 of file AliFMDEnergyFitterTask.cxx.

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

Print information

Parameters
optionNot used

Reimplemented from AliBaseESDTask.

Definition at line 253 of file AliFMDEnergyFitterTask.cxx.

Referenced by PreData().

void AliFMDEnergyFitterTask::SetDebug ( Int_t  dbg)
virtual

Set the debug level

Parameters
dbgDebug level

Reimplemented from AliBaseESDTask.

Definition at line 69 of file AliFMDEnergyFitterTask.cxx.

Referenced by GetEnergyFitter().

void AliFMDEnergyFitterTask::SetOnlyMB ( Bool_t  onlyMB)
inline

Set whether to only look at MB (INEL) data, so as to avoid bias from different trigger scalars.

Parameters
onlyMBif true, only analyse MB events

Definition at line 164 of file AliFMDEnergyFitterTask.h.

Referenced by AddTaskFMDELoss().

Bool_t AliFMDEnergyFitterTask::Setup ( )
virtual

Called on master when setting up the train.

Returns
Always true

Reimplemented from AliBaseESDTask.

Definition at line 97 of file AliFMDEnergyFitterTask.cxx.

Member Data Documentation

AliFMDEnergyFitter AliFMDEnergyFitterTask::fEnergyFitter
protected
AliFMDESDFixer AliFMDEnergyFitterTask::fESDFixer
protected

Definition at line 208 of file AliFMDEnergyFitterTask.h.

Referenced by Book(), Event(), GetESDFixer(), PreCorrections(), and Print().

AliFMDEventInspector AliFMDEnergyFitterTask::fEventInspector
protected

Definition at line 207 of file AliFMDEnergyFitterTask.h.

Referenced by Event(), and GetEventInspector().

Bool_t AliFMDEnergyFitterTask::fOnlyMB
protected

Definition at line 210 of file AliFMDEnergyFitterTask.h.

Referenced by Book(), Event(), Print(), and SetOnlyMB().


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