AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEMCALTriggerOnlineQAPP Class Reference

Class to generate EMCal trigger QA plots in pp collisions. More...

#include <AliEMCALTriggerOnlineQAPP.h>

Inheritance diagram for AliEMCALTriggerOnlineQAPP:

Public Member Functions

 AliEMCALTriggerOnlineQAPP ()
 Dummy constructor for ROOT I/O. More...
 
 AliEMCALTriggerOnlineQAPP (const char *name)
 
 AliEMCALTriggerOnlineQAPP (const AliEMCALTriggerOnlineQAPP &triggerQA)
 
virtual ~AliEMCALTriggerOnlineQAPP ()
 Destructor. More...
 
void SetL0TimeRange (Int_t min, Int_t max)
 
void SetFastORandCellThresholds (Int_t l0, Int_t l1, Double_t cell)
 
void Init ()
 Initialize the class, i.e. allocate histograms. More...
 
void ProcessPatch (const AliEMCALTriggerPatchInfo *patch)
 
void ProcessFastor (const AliEMCALTriggerFastOR *fastor, AliVCaloCells *cells=0)
 
void EventCompleted ()
 
TCollection * GetListOfHistograms ()
 
- Public Member Functions inherited from AliEMCALTriggerQA
 AliEMCALTriggerQA ()
 
 AliEMCALTriggerQA (const char *name)
 
 AliEMCALTriggerQA (const AliEMCALTriggerQA &ref)
 
virtual ~AliEMCALTriggerQA ()
 
void SetDebugLevel (Int_t l)
 
void SetADCperBin (Int_t i)
 
Int_t GetDebugLevel () const
 
void EnablePatchType (PatchTypes_t patchtype, EMCalTriggerType_t triggertype, Bool_t e)
 
Bool_t IsPatchTypeEnabled (Int_t patchtype, Int_t triggertype) const
 
void EnableHistogramsByTimeStamp (UInt_t binWidth=600)
 
void SetEMCALGeometry (const AliEMCALGeometry *geom)
 
virtual void ExecOnce ()
 Actions to be executed only once for the first event. More...
 
virtual void ProcessCell (const AliEMCALCellInfo &)
 
virtual void EventTimeStamp (UInt_t timeStamp)
 
virtual void ProcessBkgPatch (const AliEMCALTriggerPatchInfo *)
 
virtual void ComputeBackground ()
 
virtual void GetEMCalMedian (Double_t[3]) const
 
virtual void GetDCalMedian (Double_t[3]) const
 
virtual void GetEMCalBkg (Double_t[3]) const
 
virtual void GetDCalBkg (Double_t[3]) const
 

Protected Attributes

Int_t fL0MinTime
 Minimum L0 time. More...
 
Int_t fL0MaxTime
 Maximum L0 time. More...
 
Double_t fMinCellAmp
 Minimum offline amplitude of the cells. More...
 
Int_t fMinL0FastORAmp
 Minimum L0 amplitude of the FastORs. More...
 
Int_t fMinL1FastORAmp
 Minimum L1 amplitude of the FastORs. More...
 
AliEMCALTriggerPatchInfofMaxPatchEMCal [fgkNTriggerTypes][fgkNPatchTypes]
 ! EMCal max patch (will be reset each event) More...
 
AliEMCALTriggerPatchInfofMaxPatchDCal [fgkNTriggerTypes][fgkNPatchTypes]
 ! DCal max patch (will be reset each event) More...
 
TList fHistograms
 ! List of histograms More...
 
TH1 * fHistEvents
 ! Total number of events More...
 
TH1 * fHistFastORL0
 ! Counter of FastOR L0 signal above zero More...
 
TH1 * fHistFastORL0LargeAmp
 ! Counter of FastOR L0 signal above some large amplitude More...
 
TH2 * fHistFastORL0Time
 ! Time spectra of each FastOR L0 channel More...
 
TH2 * fHistFastORL0Amp
 ! Integrated amplitude of each FastOR L0 channel More...
 
TH1 * fHistFastORL1
 ! Counter of FastOR L1 signal above zero More...
 
TH1 * fHistFastORL1LargeAmp
 ! Counter of FastOR L1 signal above some large amplitude More...
 
TH2 * fHistFastORL1Amp
 ! Integrated amplitude of each FastOR L1 channel More...
 
TH2 * fHistMaxEdgePos [fgkNTriggerTypes][fgkNPatchTypes]
 ! Position of the maximum patch More...
 
TH2 * fHistAmpEdgePos [fgkNTriggerTypes][fgkNPatchTypes]
 ! Integrated amplitude of all patches (edge position) More...
 
- Protected Attributes inherited from AliEMCALTriggerQA
UInt_t fEnabledTriggerPatches [fgkNPatchTypes]
 Patch types to be plotted. More...
 
Int_t fFastorL0Th
 FastOR L0 threshold. More...
 
Int_t fFastorL1Th
 FastOR L1 threshold. More...
 
Int_t fADCperBin
 ADC counts per bin. More...
 
Int_t fDebugLevel
 Debug level. More...
 
UInt_t fTimeStampBinWidth
 Time stamp bin width. More...
 
const AliEMCALGeometry * fGeom
 ! Pointer to the EMCal geometry More...
 
UInt_t fEventTimeStamp
 ! Time stamp of the current event More...
 
UInt_t fEventTimeStampBin
 ! Time stamp bin More...
 

Private Member Functions

AliEMCALTriggerOnlineQAPPoperator= (const AliEMCALTriggerOnlineQAPP &)
 

Additional Inherited Members

- Public Types inherited from AliEMCALTriggerQA
enum  PatchTypes_t { kOnlinePatch = 0, kRecalcPatch = 1, kOfflinePatch = 2 }
 
typedef
EMCALTrigger::EMCalTriggerType_t 
EMCalTriggerType_t
 
- Static Public Member Functions inherited from AliEMCALTriggerQA
static Int_t GetAmplitude (const AliEMCALTriggerPatchInfo *patch, Int_t itype)
 
- Static Public Attributes inherited from AliEMCALTriggerQA
static const Int_t fgkSM = 20
 
static const Int_t fgkNPatchTypes = 3
 
static const Int_t fgkNTriggerTypes = 6
 
static const Int_t fgkNDet = 2
 
static const Int_t fgkMaxPatchAmp [fgkNTriggerTypes] = {2000, 2000, 2000, 6000, 6000, 5000}
 Maximum patch amplitude for the histograms. More...
 
static const TString fgkPatchTypes [fgkNPatchTypes] = {"Online", "Recalc", "Offline"}
 Patch type names. More...
 

Detailed Description

Class to generate EMCal trigger QA plots in pp collisions.

This class generates QA plots for EMCal trigger in pp collisions

Author
Salvatore Aiola salva.nosp@m.tore.nosp@m..aiol.nosp@m.a@ce.nosp@m.rn.ch, Yale University
Date
Apr. 4, 2016

Definition at line 45 of file AliEMCALTriggerOnlineQAPP.h.

Constructor & Destructor Documentation

AliEMCALTriggerOnlineQAPP::AliEMCALTriggerOnlineQAPP ( )

Dummy constructor for ROOT I/O.

Definition at line 34 of file AliEMCALTriggerOnlineQAPP.cxx.

AliEMCALTriggerOnlineQAPP::AliEMCALTriggerOnlineQAPP ( const char *  name)

Default constructor

Parameters
nameName of the object

Definition at line 79 of file AliEMCALTriggerOnlineQAPP.cxx.

AliEMCALTriggerOnlineQAPP::AliEMCALTriggerOnlineQAPP ( const AliEMCALTriggerOnlineQAPP triggerQA)

Copy constructor

Parameters
triggerQAReference to an object to copy from

Definition at line 126 of file AliEMCALTriggerOnlineQAPP.cxx.

AliEMCALTriggerOnlineQAPP::~AliEMCALTriggerOnlineQAPP ( )
virtual

Destructor.

Definition at line 158 of file AliEMCALTriggerOnlineQAPP.cxx.

Member Function Documentation

void AliEMCALTriggerOnlineQAPP::EventCompleted ( )
virtual

This method should be called at the end of each event.

Implements AliEMCALTriggerQA.

Definition at line 333 of file AliEMCALTriggerOnlineQAPP.cxx.

TCollection* AliEMCALTriggerOnlineQAPP::GetListOfHistograms ( )
inlinevirtual

Implements AliEMCALTriggerQA.

Definition at line 61 of file AliEMCALTriggerOnlineQAPP.h.

void AliEMCALTriggerOnlineQAPP::Init ( void  )
virtual

Initialize the class, i.e. allocate histograms.

Implements AliEMCALTriggerQA.

Definition at line 169 of file AliEMCALTriggerOnlineQAPP.cxx.

AliEMCALTriggerOnlineQAPP& AliEMCALTriggerOnlineQAPP::operator= ( const AliEMCALTriggerOnlineQAPP )
private
void AliEMCALTriggerOnlineQAPP::ProcessFastor ( const AliEMCALTriggerFastOR fastor,
AliVCaloCells *  cells = 0 
)
virtual

Process a FastOR, filling relevant histograms.

Parameters
patchPointer to a valid trigger FastOR

Implements AliEMCALTriggerQA.

Definition at line 303 of file AliEMCALTriggerOnlineQAPP.cxx.

void AliEMCALTriggerOnlineQAPP::ProcessPatch ( const AliEMCALTriggerPatchInfo patch)
virtual

Process a patch, filling relevant histograms.

Parameters
patchPointer to a valid trigger patch

Implements AliEMCALTriggerQA.

Definition at line 240 of file AliEMCALTriggerOnlineQAPP.cxx.

void AliEMCALTriggerOnlineQAPP::SetFastORandCellThresholds ( Int_t  l0,
Int_t  l1,
Double_t  cell 
)
inline

Definition at line 54 of file AliEMCALTriggerOnlineQAPP.h.

void AliEMCALTriggerOnlineQAPP::SetL0TimeRange ( Int_t  min,
Int_t  max 
)
inline

Definition at line 53 of file AliEMCALTriggerOnlineQAPP.h.

Member Data Documentation

TH2* AliEMCALTriggerOnlineQAPP::fHistAmpEdgePos[fgkNTriggerTypes][fgkNPatchTypes]
protected

! Integrated amplitude of all patches (edge position)

Definition at line 90 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by AliEMCALTriggerOnlineQAPP(), Init(), and ProcessPatch().

TH1* AliEMCALTriggerOnlineQAPP::fHistEvents
protected

! Total number of events

Definition at line 75 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by EventCompleted(), and Init().

TH1* AliEMCALTriggerOnlineQAPP::fHistFastORL0
protected

! Counter of FastOR L0 signal above zero

Definition at line 78 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by Init(), and ProcessFastor().

TH2* AliEMCALTriggerOnlineQAPP::fHistFastORL0Amp
protected

! Integrated amplitude of each FastOR L0 channel

Definition at line 81 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by Init(), and ProcessFastor().

TH1* AliEMCALTriggerOnlineQAPP::fHistFastORL0LargeAmp
protected

! Counter of FastOR L0 signal above some large amplitude

Definition at line 79 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by Init(), and ProcessFastor().

TH2* AliEMCALTriggerOnlineQAPP::fHistFastORL0Time
protected

! Time spectra of each FastOR L0 channel

Definition at line 80 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by Init(), and ProcessFastor().

TH1* AliEMCALTriggerOnlineQAPP::fHistFastORL1
protected

! Counter of FastOR L1 signal above zero

Definition at line 84 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by Init(), and ProcessFastor().

TH2* AliEMCALTriggerOnlineQAPP::fHistFastORL1Amp
protected

! Integrated amplitude of each FastOR L1 channel

Definition at line 86 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by Init(), and ProcessFastor().

TH1* AliEMCALTriggerOnlineQAPP::fHistFastORL1LargeAmp
protected

! Counter of FastOR L1 signal above some large amplitude

Definition at line 85 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by Init(), and ProcessFastor().

TH2* AliEMCALTriggerOnlineQAPP::fHistMaxEdgePos[fgkNTriggerTypes][fgkNPatchTypes]
protected

! Position of the maximum patch

Definition at line 89 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by AliEMCALTriggerOnlineQAPP(), EventCompleted(), and Init().

TList AliEMCALTriggerOnlineQAPP::fHistograms
protected

! List of histograms

Definition at line 72 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by AliEMCALTriggerOnlineQAPP(), GetListOfHistograms(), and Init().

Int_t AliEMCALTriggerOnlineQAPP::fL0MaxTime
protected

Maximum L0 time.

Definition at line 65 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by SetL0TimeRange().

Int_t AliEMCALTriggerOnlineQAPP::fL0MinTime
protected

Minimum L0 time.

Definition at line 64 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by SetL0TimeRange().

AliEMCALTriggerPatchInfo* AliEMCALTriggerOnlineQAPP::fMaxPatchDCal[fgkNTriggerTypes][fgkNPatchTypes]
protected

! DCal max patch (will be reset each event)

Definition at line 71 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by AliEMCALTriggerOnlineQAPP(), EventCompleted(), ProcessPatch(), and ~AliEMCALTriggerOnlineQAPP().

AliEMCALTriggerPatchInfo* AliEMCALTriggerOnlineQAPP::fMaxPatchEMCal[fgkNTriggerTypes][fgkNPatchTypes]
protected

! EMCal max patch (will be reset each event)

Definition at line 70 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by AliEMCALTriggerOnlineQAPP(), EventCompleted(), ProcessPatch(), and ~AliEMCALTriggerOnlineQAPP().

Double_t AliEMCALTriggerOnlineQAPP::fMinCellAmp
protected

Minimum offline amplitude of the cells.

Definition at line 66 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by SetFastORandCellThresholds().

Int_t AliEMCALTriggerOnlineQAPP::fMinL0FastORAmp
protected

Minimum L0 amplitude of the FastORs.

Definition at line 67 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by ProcessFastor(), and SetFastORandCellThresholds().

Int_t AliEMCALTriggerOnlineQAPP::fMinL1FastORAmp
protected

Minimum L1 amplitude of the FastORs.

Definition at line 68 of file AliEMCALTriggerOnlineQAPP.h.

Referenced by ProcessFastor(), and SetFastORandCellThresholds().


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