![]() |
AliPhysics
e0babb4 (e0babb4)
|
#include <AliFMDMCHitEnergyFitterTask.h>
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 |
AliFMDEventInspector & | GetEventInspector () |
const AliFMDEventInspector & | GetEventInspector () const |
AliFMDMCHitEnergyFitter & | GetEnergyFitter () |
const AliFMDMCHitEnergyFitter & | GetEnergyFitter () const |
void | SetDebug (Int_t dbg) |
![]() | |
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 Attributes | |
AliFMDEventInspector | fEventInspector |
AliFMDMCHitEnergyFitter | fEnergyFitter |
AliMCAuxHandler * | fHitHandler |
![]() | |
Bool_t | fFirstEvent |
TList * | fList |
TList * | fResults |
UInt_t | fNeededCorrections |
UInt_t | fExtraCorrections |
Bool_t | fCloneList |
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.
|
inline |
Default CTOR - do not use
Definition at line 55 of file AliFMDMCHitEnergyFitterTask.h.
AliFMDMCHitEnergyFitterTask::AliFMDMCHitEnergyFitterTask | ( | const char * | name, |
Bool_t | useTuple = false |
||
) |
CTOR
name | Name - not used |
useTuple | Whether to use store an NTuple |
Definition at line 9 of file AliFMDMCHitEnergyFitterTask.cxx.
|
inline |
DTOR
Definition at line 72 of file AliFMDMCHitEnergyFitterTask.h.
|
protected |
Copy CTOR - not Implemented
o | Object to copy from |
|
virtual |
Called at start-up on the clients - i.e., called once per worker node before the event processing.
Implements AliBaseESDTask.
Definition at line 46 of file AliFMDMCHitEnergyFitterTask.cxx.
|
protected |
|
protectedvirtual |
Get the default \(\eta=-\log[\tan^{-1}(\theta/2)]\) axis to use
Reimplemented from AliBaseESDTask.
Definition at line 22 of file AliFMDMCHitEnergyFitterTask.cxx.
|
protectedvirtual |
Get the default interaction point Z–coordinate axis to use
Reimplemented from AliBaseESDTask.
Definition at line 29 of file AliFMDMCHitEnergyFitterTask.cxx.
|
virtual |
Process a single event
esd | ESD input event |
Implements AliBaseESDTask.
Definition at line 72 of file AliFMDMCHitEnergyFitterTask.cxx.
|
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.
Reimplemented from AliBaseESDTask.
Definition at line 114 of file AliFMDMCHitEnergyFitterTask.h.
|
inline |
Get the energy fitter
Definition at line 141 of file AliFMDMCHitEnergyFitterTask.h.
Referenced by AddTaskFMDMCHit(), and SetDebug().
|
inline |
Get the energy fitter
Definition at line 147 of file AliFMDMCHitEnergyFitterTask.h.
|
inlinevirtual |
Get the event inspector
Implements AliBaseESDTask.
Definition at line 126 of file AliFMDMCHitEnergyFitterTask.h.
Referenced by AddTaskFMDMCHit().
|
inlinevirtual |
Get the event inspector
Implements AliBaseESDTask.
Definition at line 132 of file AliFMDMCHitEnergyFitterTask.h.
|
protected |
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.
ipz | Interaction point Z–coordinate axis to use |
eta | \(\eta=-\log[\tan^{-1}(\theta/2)]\) axis to use |
Reimplemented from AliBaseESDTask.
Definition at line 62 of file AliFMDMCHitEnergyFitterTask.cxx.
|
virtual |
Print information to standard out
option | Passed to sub objects as-is |
Reimplemented from AliBaseESDTask.
Definition at line 122 of file AliFMDMCHitEnergyFitterTask.cxx.
|
inlinevirtual |
Set the debug level
dbg |
Reimplemented from AliBaseESDTask.
Definition at line 151 of file AliFMDMCHitEnergyFitterTask.h.
Referenced by AddTaskFMDMCHit().
|
virtual |
Called when setting up the train on the client - i.e., called once before the job hits the worker nodes
Reimplemented from AliBaseESDTask.
Definition at line 37 of file AliFMDMCHitEnergyFitterTask.cxx.
|
protected |
Definition at line 182 of file AliFMDMCHitEnergyFitterTask.h.
Referenced by Book(), Event(), Finalize(), GetEnergyFitter(), PreData(), Print(), and Setup().
|
protected |
Definition at line 181 of file AliFMDMCHitEnergyFitterTask.h.
Referenced by Event(), and GetEventInspector().
|
protected |
Definition at line 183 of file AliFMDMCHitEnergyFitterTask.h.