AliPhysics  5403132 (5403132)
AliFMDMCHitEnergyFitterTask Class Reference

#include <AliFMDMCHitEnergyFitterTask.h>

Inheritance diagram for AliFMDMCHitEnergyFitterTask:

Public Member Functions

 AliFMDMCHitEnergyFitterTask ()
 
 AliFMDMCHitEnergyFitterTask (const char *name, Bool_t useTuple=false)
 
 ~AliFMDMCHitEnergyFitterTask ()
 
Bool_t Setup ()
 
Bool_t Book ()
 
Bool_t PreData (const TAxis &ipz, const TAxis &eta)
 
Bool_t Event (AliESDEvent &esd)
 
Bool_t Finalize ()
 
void Print (Option_t *option="") const
 
AliFMDEventInspectorGetEventInspector ()
 
const AliFMDEventInspectorGetEventInspector () const
 
AliFMDMCHitEnergyFitterGetEnergyFitter ()
 
const AliFMDMCHitEnergyFitterGetEnergyFitter () const
 
void SetDebug (Int_t dbg)
 
- 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 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

 AliFMDMCHitEnergyFitterTask (const AliFMDMCHitEnergyFitterTask &o)
 
AliFMDMCHitEnergyFitterTaskoperator= (const AliFMDMCHitEnergyFitterTask &o)
 
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 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

AliFMDEventInspector fEventInspector
 
AliFMDMCHitEnergyFitter fEnergyFitter
 
AliMCAuxHandlerfHitHandler
 
- Protected Attributes inherited from AliBaseESDTask
Bool_t fFirstEvent
 
TListfList
 
TListfResults
 
UInt_t fNeededCorrections
 
UInt_t fExtraCorrections
 
Bool_t fCloneList
 

Detailed Description

This task is designed to read in MC truth information about the energy loss in each strip, and then fit the distributions from secondaries and primaries separately.

Then (this is not implemented yet) it tries to deconvolve the contributions from secondaries and primaries separately from the total sum energy loss distribution, and in that way estimate the secondary to primary charge particle ratios per \(\eta\) bin. If the same procedure is applied to real data, then we can have an estimate - from data - of the ratio of secondaries to primaries and thus perhaps get a clearer picture of the secondary particle contamination.

The the function fitted to the (scaled) energy loss ( \(\Delta/\Delta_{mip}\) distributions is

\[ F(\Delta;\Delta_p,\xi,\sigma,\mathbf{a}) = \sum_{i=1}^{N}a_i f(\Delta;\Delta_i,\xi_i,\sigma_i) \]

where \( a\) is of length \( N\) and

\[ f(\Delta;\Delta,\xi,\sigma) = \int_{-\infty}^{+\infty}d\Delta' L(\Delta,\Delta',\xi) \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(\Delta'-\Delta_mp^2}{2\sigma^2}} \]

and

\[ \Delta_i = i(\Delta_1+\xi\log(i))\\ \xi_i = i\xi_1\\ \sigma_i = \sqrt{i}\sigma_1\\ a_1 = 1\\ \Delta_p = \Delta_1\\ \xi = \xi_1\\ \sigma = \sigma_1 \]

See also AliLandauGausFitter

Definition at line 49 of file AliFMDMCHitEnergyFitterTask.h.

Constructor & Destructor Documentation

AliFMDMCHitEnergyFitterTask::AliFMDMCHitEnergyFitterTask ( )
inline

Default CTOR - do not use

Definition at line 55 of file AliFMDMCHitEnergyFitterTask.h.

Referenced by SetDebug().

AliFMDMCHitEnergyFitterTask::AliFMDMCHitEnergyFitterTask ( const char *  name,
Bool_t  useTuple = false 
)

CTOR

Parameters
nameName - not used
useTupleWhether to use store an NTuple

Definition at line 9 of file AliFMDMCHitEnergyFitterTask.cxx.

AliFMDMCHitEnergyFitterTask::~AliFMDMCHitEnergyFitterTask ( )
inline

DTOR

Definition at line 72 of file AliFMDMCHitEnergyFitterTask.h.

AliFMDMCHitEnergyFitterTask::AliFMDMCHitEnergyFitterTask ( const AliFMDMCHitEnergyFitterTask o)
protected

Copy CTOR - not Implemented

Parameters
oObject to copy from

Member Function Documentation

Bool_t AliFMDMCHitEnergyFitterTask::Book ( )
virtual

Called at start-up on the clients - i.e., called once per worker node before the event processing.

Returns
true

Implements AliBaseESDTask.

Definition at line 46 of file AliFMDMCHitEnergyFitterTask.cxx.

Referenced by ~AliFMDMCHitEnergyFitterTask().

TAxis * AliFMDMCHitEnergyFitterTask::DefaultEtaAxis ( ) const
protectedvirtual

Get the default \(\eta=-\log[\tan^{-1}(\theta/2)]\) axis to use

Returns
Pointer to static object

Reimplemented from AliBaseESDTask.

Definition at line 22 of file AliFMDMCHitEnergyFitterTask.cxx.

Referenced by SetDebug().

TAxis * AliFMDMCHitEnergyFitterTask::DefaultVertexAxis ( ) const
protectedvirtual

Get the default interaction point Z–coordinate axis to use

Returns
Pointer to static object

Reimplemented from AliBaseESDTask.

Definition at line 29 of file AliFMDMCHitEnergyFitterTask.cxx.

Referenced by SetDebug().

Bool_t AliFMDMCHitEnergyFitterTask::Event ( AliESDEvent esd)
virtual

Process a single event

Parameters
esdESD input event
Returns
true on success

Implements AliBaseESDTask.

Definition at line 72 of file AliFMDMCHitEnergyFitterTask.cxx.

Referenced by ~AliFMDMCHitEnergyFitterTask().

Bool_t AliFMDMCHitEnergyFitterTask::Finalize ( )
inlinevirtual

Finalize the task. This is called once after all event processing and after all outputs have been merged. This is called on the master/client once.

Returns
true on success

Reimplemented from AliBaseESDTask.

Definition at line 114 of file AliFMDMCHitEnergyFitterTask.h.

AliFMDMCHitEnergyFitter& AliFMDMCHitEnergyFitterTask::GetEnergyFitter ( )
inline

Get the energy fitter

Returns
Reference to the energy fitter

Definition at line 141 of file AliFMDMCHitEnergyFitterTask.h.

Referenced by AddTaskFMDMCHit(), and SetDebug().

const AliFMDMCHitEnergyFitter& AliFMDMCHitEnergyFitterTask::GetEnergyFitter ( ) const
inline

Get the energy fitter

Returns
Constant reference to the energy fitter

Definition at line 147 of file AliFMDMCHitEnergyFitterTask.h.

AliFMDEventInspector& AliFMDMCHitEnergyFitterTask::GetEventInspector ( )
inlinevirtual

Get the event inspector

Returns
Reference to the event inspector

Implements AliBaseESDTask.

Definition at line 126 of file AliFMDMCHitEnergyFitterTask.h.

Referenced by AddTaskFMDMCHit().

const AliFMDEventInspector& AliFMDMCHitEnergyFitterTask::GetEventInspector ( ) const
inlinevirtual

Get the event inspector

Returns
Constant reference to the event inspector

Implements AliBaseESDTask.

Definition at line 132 of file AliFMDMCHitEnergyFitterTask.h.

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

Assignment operator - not implemented

Parameters
oObject to assign from
Returns
Reference to this

Referenced by SetDebug().

Bool_t AliFMDMCHitEnergyFitterTask::PreData ( const TAxis ipz,
const TAxis eta 
)
virtual

Called after the first event was seen - i.e., called once per worker node just after the first event was seen, but before event processing.

Parameters
ipzInteraction point Z–coordinate axis to use
eta\(\eta=-\log[\tan^{-1}(\theta/2)]\) axis to use
Returns
true

Reimplemented from AliBaseESDTask.

Definition at line 62 of file AliFMDMCHitEnergyFitterTask.cxx.

Referenced by ~AliFMDMCHitEnergyFitterTask().

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

Print information to standard out

Parameters
optionPassed to sub objects as-is

Reimplemented from AliBaseESDTask.

Definition at line 122 of file AliFMDMCHitEnergyFitterTask.cxx.

Referenced by Finalize().

void AliFMDMCHitEnergyFitterTask::SetDebug ( Int_t  dbg)
inlinevirtual

Set the debug level

Parameters
dbg

Reimplemented from AliBaseESDTask.

Definition at line 151 of file AliFMDMCHitEnergyFitterTask.h.

Referenced by AddTaskFMDMCHit().

Bool_t AliFMDMCHitEnergyFitterTask::Setup ( )
virtual

Called when setting up the train on the client - i.e., called once before the job hits the worker nodes

Returns
true

Reimplemented from AliBaseESDTask.

Definition at line 37 of file AliFMDMCHitEnergyFitterTask.cxx.

Referenced by ~AliFMDMCHitEnergyFitterTask().

Member Data Documentation

AliFMDMCHitEnergyFitter AliFMDMCHitEnergyFitterTask::fEnergyFitter
protected
AliFMDEventInspector AliFMDMCHitEnergyFitterTask::fEventInspector
protected

Definition at line 181 of file AliFMDMCHitEnergyFitterTask.h.

Referenced by Event(), and GetEventInspector().

AliMCAuxHandler* AliFMDMCHitEnergyFitterTask::fHitHandler
protected

Definition at line 183 of file AliFMDMCHitEnergyFitterTask.h.

Referenced by Book(), and Event().


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