![]() |
AliPhysics
0d55a7a (0d55a7a)
|
#include <AliFMDMCTrackInspectorTask.h>
Public Member Functions | |
AliFMDMCTrackInspectorTask () | |
AliFMDMCTrackInspectorTask (const char *name, Bool_t useTuple=false) | |
~AliFMDMCTrackInspectorTask () | |
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 |
AliFMDMCTrackInspector & | GetTrackInspector () |
const AliFMDMCTrackInspector & | GetTrackInspector () 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 Member Functions | |
AliFMDMCTrackInspectorTask (const AliFMDMCTrackInspectorTask &o) | |
AliFMDMCTrackInspectorTask & | operator= (const AliFMDMCTrackInspectorTask &o) |
TAxis * | DefaultEtaAxis () const |
TAxis * | DefaultVertexAxis () const |
![]() | |
AliBaseESDTask (const AliBaseESDTask &o) | |
AliBaseESDTask & | operator= (const AliBaseESDTask &o) |
virtual Bool_t | IsMC () const |
virtual AliCorrectionManagerBase * | GetManager () const |
virtual AliCorrectionManagerBase * | GetManager () |
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 AliESDEvent * | GetESDEvent () |
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 |
AliFMDMCTrackInspector | fTrackInspector |
![]() | |
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 48 of file AliFMDMCTrackInspectorTask.h.
|
inline |
Default CTOR - do not use
Definition at line 54 of file AliFMDMCTrackInspectorTask.h.
Referenced by SetDebug().
AliFMDMCTrackInspectorTask::AliFMDMCTrackInspectorTask | ( | const char * | name, |
Bool_t | useTuple = false |
||
) |
CTOR
name | Name - not used |
useTuple | Whether to use store an NTuple |
Definition at line 8 of file AliFMDMCTrackInspectorTask.cxx.
|
inline |
DTOR
Definition at line 69 of file AliFMDMCTrackInspectorTask.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 45 of file AliFMDMCTrackInspectorTask.cxx.
Referenced by ~AliFMDMCTrackInspectorTask().
|
protectedvirtual |
Get the default \(\eta=-\log[\tan^{-1}(\theta/2)]\) axis to use
Reimplemented from AliBaseESDTask.
Definition at line 21 of file AliFMDMCTrackInspectorTask.cxx.
Referenced by SetDebug().
|
protectedvirtual |
Get the default interaction point Z–coordinate axis to use
Reimplemented from AliBaseESDTask.
Definition at line 28 of file AliFMDMCTrackInspectorTask.cxx.
Referenced by SetDebug().
|
virtual |
Process a single event
esd | ESD input event |
Implements AliBaseESDTask.
Definition at line 67 of file AliFMDMCTrackInspectorTask.cxx.
Referenced by ~AliFMDMCTrackInspectorTask().
|
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 111 of file AliFMDMCTrackInspectorTask.h.
|
inlinevirtual |
Get the event inspector
Implements AliBaseESDTask.
Definition at line 123 of file AliFMDMCTrackInspectorTask.h.
Referenced by AddTaskFMDMCTracks().
|
inlinevirtual |
Get the event inspector
Implements AliBaseESDTask.
Definition at line 129 of file AliFMDMCTrackInspectorTask.h.
|
inline |
Get the energy fitter
Definition at line 138 of file AliFMDMCTrackInspectorTask.h.
Referenced by AddTaskFMDMCTracks(), and SetDebug().
|
inline |
Get the energy fitter
Definition at line 144 of file AliFMDMCTrackInspectorTask.h.
|
protected |
Assignment operator - not implemented
o | Object to assign from |
Referenced by SetDebug().
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 57 of file AliFMDMCTrackInspectorTask.cxx.
Referenced by ~AliFMDMCTrackInspectorTask().
|
virtual |
Print information to standard out
option | Passed to sub objects as-is |
Reimplemented from AliBaseESDTask.
Definition at line 117 of file AliFMDMCTrackInspectorTask.cxx.
Referenced by Finalize().
|
inlinevirtual |
Set the debug level
dbg |
Reimplemented from AliBaseESDTask.
Definition at line 148 of file AliFMDMCTrackInspectorTask.h.
Referenced by AddTaskFMDMCTracks().
|
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 36 of file AliFMDMCTrackInspectorTask.cxx.
Referenced by ~AliFMDMCTrackInspectorTask().
|
protected |
Definition at line 178 of file AliFMDMCTrackInspectorTask.h.
Referenced by Event(), and GetEventInspector().
|
protected |
Definition at line 179 of file AliFMDMCTrackInspectorTask.h.
Referenced by AliFMDMCTrackInspectorTask(), Book(), Event(), Finalize(), GetTrackInspector(), PreData(), Print(), and Setup().