AliPhysics  32b88a8 (32b88a8)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalFastOrMonitorTask Class Reference

Simlple monitoring of EMCAL FastOr quantities. More...

#include <AliEmcalFastOrMonitorTask.h>

Inheritance diagram for AliEmcalFastOrMonitorTask:

Public Member Functions

 AliEmcalFastOrMonitorTask ()
 
 AliEmcalFastOrMonitorTask (const char *name)
 
virtual ~AliEmcalFastOrMonitorTask ()
 
void SetRequestTrigger (ULong_t triggerbits, TString triggerstring="")
 

Protected Member Functions

virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *)
 
virtual void ExecOnce ()
 
virtual void RunChanged ()
 

Protected Attributes

THistManagerfHistos
 ! Histogram handler More...
 
AliEMCALGeometry * fGeom
 ! EMCAL Geometry object More...
 
Bool_t fInitialized
 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...
 

Detailed Description

Simlple monitoring of EMCAL FastOr quantities.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
Sept 8, 2016

Simple monitoring task for FastOr related quantities. Filling the following distributions:

  • Frequency
  • Amplitude
  • L0timeSum
  • Number of LO times
  • Position in the col-row space

The wagon can be added to the train using the corresponding AddMacro (AddEmcalFastOrMonitorTask):

gROOT->LoadMacro("$ALICE_PHYSICS/PWG/EMCAL/macros/AddEmcalFastOrMonitorTask.C");
AddEmcalFastOrMonitorTask();

Definition at line 34 of file AliEmcalFastOrMonitorTask.h.

Constructor & Destructor Documentation

AliEmcalFastOrMonitorTask::AliEmcalFastOrMonitorTask ( )

Default constructor. For ROOT I/O

Definition at line 28 of file AliEmcalFastOrMonitorTask.cxx.

AliEmcalFastOrMonitorTask::AliEmcalFastOrMonitorTask ( const char *  name)

Named constructor

Parameters
nameName of the task

Definition at line 40 of file AliEmcalFastOrMonitorTask.cxx.

AliEmcalFastOrMonitorTask::~AliEmcalFastOrMonitorTask ( )
virtual

Destructor

Definition at line 52 of file AliEmcalFastOrMonitorTask.cxx.

Member Function Documentation

void AliEmcalFastOrMonitorTask::ExecOnce ( )
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 71 of file AliEmcalFastOrMonitorTask.cxx.

Referenced by UserExec().

void AliEmcalFastOrMonitorTask::RunChanged ( )
protectedvirtual

Performing run-dependent initializations. This function is useful i.e. to load parameters from the OCDB/OADB

Definition at line 75 of file AliEmcalFastOrMonitorTask.cxx.

Referenced by UserExec().

void AliEmcalFastOrMonitorTask::SetRequestTrigger ( ULong_t  triggerbits,
TString  triggerstring = "" 
)
inline

Define trigger selection. It can consist of trigger bits and a trigger string

Parameters
triggerbitsTrigger bit selection
triggerstringTrigger string (i.e. EG1, EG2, DG1, ...)

Definition at line 58 of file AliEmcalFastOrMonitorTask.h.

void AliEmcalFastOrMonitorTask::UserCreateOutputObjects ( )
protectedvirtual

Creating output objects. In this case only the histogram handler is created. Histograms are done inside the function ExecOnce.

Definition at line 56 of file AliEmcalFastOrMonitorTask.cxx.

void AliEmcalFastOrMonitorTask::UserExec ( Option_t )
protectedvirtual

Event loop. Filling the monitoring histograms for each FastOR:

  • Frequency
  • Amplitude
  • L0timeSum
  • Number of LO times
  • Position in the col-row space
    Parameters

Definition at line 79 of file AliEmcalFastOrMonitorTask.cxx.

Member Data Documentation

AliEMCALGeometry* AliEmcalFastOrMonitorTask::fGeom
protected

! EMCAL Geometry object

Definition at line 97 of file AliEmcalFastOrMonitorTask.h.

Referenced by ExecOnce(), and UserExec().

THistManager* AliEmcalFastOrMonitorTask::fHistos
protected

! Histogram handler

Definition at line 96 of file AliEmcalFastOrMonitorTask.h.

Referenced by UserCreateOutputObjects(), and UserExec().

Bool_t AliEmcalFastOrMonitorTask::fInitialized
protected

Switch whether task is initialized (for ExecOnce)

Definition at line 98 of file AliEmcalFastOrMonitorTask.h.

Referenced by UserExec().

Int_t AliEmcalFastOrMonitorTask::fOldRun
protected

Old Run (for RunChanged())

Definition at line 99 of file AliEmcalFastOrMonitorTask.h.

Referenced by UserExec().

ULong_t AliEmcalFastOrMonitorTask::fRequestTrigger
protected

Trigger selection bits.

Definition at line 101 of file AliEmcalFastOrMonitorTask.h.

Referenced by SetRequestTrigger(), and UserExec().

TString AliEmcalFastOrMonitorTask::fTriggerPattern
protected

Trigger string pattern used in addition to the trigger selection bits.

Definition at line 102 of file AliEmcalFastOrMonitorTask.h.

Referenced by SetRequestTrigger(), and UserExec().


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