AliPhysics  3e97e6d (3e97e6d)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCellMonitorTask Class Reference

Simple monitoring task for cell related quantities. More...

#include <AliEmcalCellMonitorTask.h>

Inheritance diagram for AliEmcalCellMonitorTask:

Classes

class  AliEmcalCellMonitorAmplitudeBinning
 Defining binning in amplitude direction. More...
 

Public Member Functions

 AliEmcalCellMonitorTask ()
 
 AliEmcalCellMonitorTask (const char *name)
 
virtual ~AliEmcalCellMonitorTask ()
 
void SetMinCellAmplitudeForCellTime (Double_t minAmp)
 
void SetRequestTrigger (ULong_t triggerbits, TString triggerstring="")
 
void SetRun2 ()
 

Protected Member Functions

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

Private Member Functions

 AliEmcalCellMonitorTask (const AliEmcalCellMonitorTask &ref)
 
AliEmcalCellMonitorTaskoperator= (const AliEmcalCellMonitorTask &ref)
 

Private Attributes

THistManagerfHistManager
 ! Histogram handler More...
 
AliEMCALGeometry * fGeometry
 ! EMCAL geometry More...
 
Double_t fMinCellAmplitude
 Min. cell amplitude requested for cell time. More...
 
ULong_t fRequestTrigger
 Trigger selection. More...
 
TString fTriggerString
 Trigger string in addition to trigger selection. More...
 
Int_t fNumberOfCells
 Number of cells. More...
 

Detailed Description

Simple monitoring task for cell related quantities.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Lawrence Berkeley National Laboratory
Since
May 19, 2016

This task monitors simple cell quantities like

  • Amplitude distribution
  • Time distribution
  • Count rate in col-row space
  • Integrated amplitude in col-row space

It can be added to the train using the add macro

$ALICE_PHYSICS/PWG/EMCAL/AddEmcalCellMonitorTask.C

Definition at line 32 of file AliEmcalCellMonitorTask.h.

Constructor & Destructor Documentation

AliEmcalCellMonitorTask::AliEmcalCellMonitorTask ( )

Dummy constructor, for ROOT I/O only

Definition at line 18 of file AliEmcalCellMonitorTask.cxx.

AliEmcalCellMonitorTask::AliEmcalCellMonitorTask ( const char *  name)

Default constructor, setting also the name and defining the output type

Parameters
nameName of the task

Definition at line 30 of file AliEmcalCellMonitorTask.cxx.

AliEmcalCellMonitorTask::~AliEmcalCellMonitorTask ( )
virtual

Destructor

Definition at line 42 of file AliEmcalCellMonitorTask.cxx.

AliEmcalCellMonitorTask::AliEmcalCellMonitorTask ( const AliEmcalCellMonitorTask ref)
private

Member Function Documentation

AliEmcalCellMonitorTask& AliEmcalCellMonitorTask::operator= ( const AliEmcalCellMonitorTask ref)
private
void AliEmcalCellMonitorTask::SetMinCellAmplitudeForCellTime ( Double_t  minAmp)
inline

Set the minimum amplitude requested for a cell in order to use the cell time in the cell time plot

Parameters
minAmpMin. cell amplitude

Definition at line 56 of file AliEmcalCellMonitorTask.h.

void AliEmcalCellMonitorTask::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 63 of file AliEmcalCellMonitorTask.h.

void AliEmcalCellMonitorTask::SetRun2 ( )
inline

Set number of Cells in order to match run2 geometry

Definition at line 71 of file AliEmcalCellMonitorTask.h.

void AliEmcalCellMonitorTask::UserCreateOutputObjects ( )
protectedvirtual

Create the output histograms

For all supermodules the following histograms will be created:

  • cellAmplitude with the cell amplitude distribution
  • cellTime with the cell time distribution

For each supermodule the followign histograms will be created:

  • cellAmpSM with the integrated amplitude for cells within a supermodule in col and row
  • cellCountSM with the count rate for cells within a supermodule in col and row

Definition at line 46 of file AliEmcalCellMonitorTask.cxx.

void AliEmcalCellMonitorTask::UserExec ( Option_t *  )
protectedvirtual

Event loop.

Running over all cells and filling the cell-related quantities specified in the class documentation.

Parameters
[in]

Definition at line 64 of file AliEmcalCellMonitorTask.cxx.

Member Data Documentation

AliEMCALGeometry* AliEmcalCellMonitorTask::fGeometry
private

! EMCAL geometry

Definition at line 126 of file AliEmcalCellMonitorTask.h.

Referenced by UserExec(), and ~AliEmcalCellMonitorTask().

THistManager* AliEmcalCellMonitorTask::fHistManager
private

! Histogram handler

Definition at line 125 of file AliEmcalCellMonitorTask.h.

Referenced by UserCreateOutputObjects(), and UserExec().

Double_t AliEmcalCellMonitorTask::fMinCellAmplitude
private

Min. cell amplitude requested for cell time.

Definition at line 128 of file AliEmcalCellMonitorTask.h.

Referenced by SetMinCellAmplitudeForCellTime(), and UserExec().

Int_t AliEmcalCellMonitorTask::fNumberOfCells
private

Number of cells.

Definition at line 131 of file AliEmcalCellMonitorTask.h.

Referenced by SetRun2(), and UserCreateOutputObjects().

ULong_t AliEmcalCellMonitorTask::fRequestTrigger
private

Trigger selection.

Definition at line 129 of file AliEmcalCellMonitorTask.h.

Referenced by SetRequestTrigger(), and UserExec().

TString AliEmcalCellMonitorTask::fTriggerString
private

Trigger string in addition to trigger selection.

Definition at line 130 of file AliEmcalCellMonitorTask.h.

Referenced by SetRequestTrigger(), and UserExec().


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