![]() |
AliPhysics
e88d13b (e88d13b)
|
Simlple monitoring of EMCAL FastOr quantities. More...
#include <AliEmcalFastOrMonitorTask.h>
Public Member Functions | |
AliEmcalFastOrMonitorTask () | |
AliEmcalFastOrMonitorTask (const char *name) | |
virtual | ~AliEmcalFastOrMonitorTask () |
void | SetRequestTrigger (ULong_t triggerbits, TString triggerstring="") |
void | AddMaskedFastor (int fastorID) |
Protected Member Functions | |
virtual void | UserCreateOutputObjects () |
virtual void | UserExec (Option_t *) |
virtual void | ExecOnce () |
virtual void | RunChanged () |
Double_t | GetTransverseTimeSum (Int_t fastorAbsID, Double_t adc, const Double_t *vtx) const |
Protected Attributes | |
THistManager * | fHistos |
! Histogram handler More... | |
AliEMCALGeometry * | fGeom |
! EMCAL Geometry object More... | |
Bool_t | fLocalInitialized |
Switch whether task is initialized (for ExecOnce) More... | |
Int_t | fOldRun |
Old Run (for RunChanged()) More... | |
ULong_t | fRequestTrigger |
Trigger selection bits. More... | |
TString | fTriggerPattern |
Trigger string pattern used in addition to the trigger selection bits. More... | |
std::vector< int > | fMaskedFastors |
List of masked fastors. More... | |
Simlple monitoring of EMCAL FastOr quantities.
Simple monitoring task for FastOr related quantities. Filling the following distributions:
The wagon can be added to the train using the corresponding AddMacro (AddEmcalFastOrMonitorTask):
Definition at line 34 of file AliEmcalFastOrMonitorTask.h.
AliEmcalFastOrMonitorTask::AliEmcalFastOrMonitorTask | ( | ) |
Default constructor. For ROOT I/O
Definition at line 34 of file AliEmcalFastOrMonitorTask.cxx.
AliEmcalFastOrMonitorTask::AliEmcalFastOrMonitorTask | ( | const char * | name | ) |
Named constructor
name | Name of the task |
Definition at line 46 of file AliEmcalFastOrMonitorTask.cxx.
|
virtual |
Destructor
Definition at line 58 of file AliEmcalFastOrMonitorTask.cxx.
|
inline |
Add masked fastor to the list of masked fastors. Masked fastors will be ignored in ADC spectrum.
fastorID | Abs ID of the fastor to be masked |
Definition at line 68 of file AliEmcalFastOrMonitorTask.h.
|
protectedvirtual |
Performing initial initializations. In contrast to UserCreateOutputObjects, which is called before the event loop, ExecOnce is called for the first event within the event loop. At that step some basic event information is already available,
Definition at line 80 of file AliEmcalFastOrMonitorTask.cxx.
Referenced by UserExec().
|
protected |
Calculate transverse L1 time sum of a FastOR.
fastorAbsID | FastOR absolute ID (for position calculation) |
adc | FastOR ADC |
vtx | Position of the primary vertex |
Definition at line 141 of file AliEmcalFastOrMonitorTask.cxx.
Referenced by UserExec().
|
protectedvirtual |
Performing run-dependent initializations. This function is useful i.e. to load parameters from the OCDB/OADB
Definition at line 84 of file AliEmcalFastOrMonitorTask.cxx.
Referenced by UserExec().
|
inline |
Define trigger selection. It can consist of trigger bits and a trigger string
triggerbits | Trigger bit selection |
triggerstring | Trigger string (i.e. EG1, EG2, DG1, ...) |
Definition at line 58 of file AliEmcalFastOrMonitorTask.h.
|
protectedvirtual |
Creating output objects. In this case only the histogram handler is created. Histograms are done inside the function ExecOnce.
Definition at line 62 of file AliEmcalFastOrMonitorTask.cxx.
|
protectedvirtual |
Event loop. Filling the monitoring histograms for each FastOR:
Definition at line 88 of file AliEmcalFastOrMonitorTask.cxx.
|
protected |
! EMCAL Geometry object
Definition at line 113 of file AliEmcalFastOrMonitorTask.h.
Referenced by ExecOnce(), GetTransverseTimeSum(), and UserExec().
|
protected |
! Histogram handler
Definition at line 112 of file AliEmcalFastOrMonitorTask.h.
Referenced by UserCreateOutputObjects(), and UserExec().
|
protected |
Switch whether task is initialized (for ExecOnce)
Definition at line 114 of file AliEmcalFastOrMonitorTask.h.
Referenced by UserExec().
|
protected |
List of masked fastors.
Definition at line 120 of file AliEmcalFastOrMonitorTask.h.
Referenced by AddMaskedFastor(), and UserExec().
|
protected |
Old Run (for RunChanged())
Definition at line 115 of file AliEmcalFastOrMonitorTask.h.
Referenced by UserExec().
|
protected |
Trigger selection bits.
Definition at line 117 of file AliEmcalFastOrMonitorTask.h.
Referenced by SetRequestTrigger(), and UserExec().
|
protected |
Trigger string pattern used in addition to the trigger selection bits.
Definition at line 118 of file AliEmcalFastOrMonitorTask.h.
Referenced by SetRequestTrigger(), and UserExec().