AliPhysics  de71be2 (de71be2)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AliEmcalTriggerQAPP Class Reference

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

#include <AliEmcalTriggerQAPP.h>

Inheritance diagram for AliEmcalTriggerQAPP:

Public Types

enum  PatchTypes_t { kOnlinePatch, kRecalcPatch, kOfflinePatch }
 
typedef
EMCALTrigger::EMCalTriggerType_t 
EMCalTriggerType_t
 

Public Member Functions

 AliEmcalTriggerQAPP ()
 Dummy constructor for ROOT I/O. More...
 
 AliEmcalTriggerQAPP (const char *name)
 
 AliEmcalTriggerQAPP (const AliEmcalTriggerQAPP &triggerQA)
 
virtual ~AliEmcalTriggerQAPP ()
 Destructor. More...
 
void SetDebugLevel (Int_t l)
 
void SetADCperBin (Int_t i)
 
Int_t GetDebugLevel () const
 
void EnablePatchType (PatchTypes_t type, Bool_t e=kTRUE)
 
void EnableTriggerType (EMCalTriggerType_t type, Bool_t e=kTRUE)
 
void Init ()
 Initialize the class, i.e. allocate histograms. More...
 
void ProcessPatch (AliEMCALTriggerPatchInfo *patch)
 
void ProcessFastor (AliEMCALTriggerFastOR *fastor)
 
void EventCompleted ()
 
void ComputeBackground ()
 
THashList * GetListOfHistograms ()
 

Static Public Attributes

static const Int_t fgkMaxPatchAmp [6] = {3000, 3000, 3000, 6000, 6000, 5000}
 Maximum patch amplitude for the histograms. More...
 
static const TString fgkPatchTypes [3] = {"Online", "Recalc", "Offline"}
 Patch type names. More...
 

Protected Attributes

Bool_t fEnabledPatchTypes [3]
 Patch types to be plotted. More...
 
Bool_t fEnabledTriggerTypes [6]
 Trigger 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...
 
THistManager fHistManager
 Histogram manager. More...
 
Int_t fMaxPatchEMCal [6][3]
 ! EMCal max ADC amplitude (0=online, 1=offline) (will be reset each event) More...
 
Int_t fMaxPatchDCal [6][3]
 ! DCal max ADC amplitude (0=online, 1=offline) (will be reset each event) More...
 
Int_t fPatchAreas [6]
 ! Patch sizes retrieved directly during the patch processing More...
 

Private Member Functions

AliEmcalTriggerQAPPoperator= (const AliEmcalTriggerQAPP &)
 

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
Feb. 20, 2016

Definition at line 35 of file AliEmcalTriggerQAPP.h.

Member Typedef Documentation

typedef EMCALTrigger::EMCalTriggerType_t AliEmcalTriggerQAPP::EMCalTriggerType_t

Definition at line 38 of file AliEmcalTriggerQAPP.h.

Member Enumeration Documentation

Enumerator
kOnlinePatch 
kRecalcPatch 
kOfflinePatch 

Definition at line 40 of file AliEmcalTriggerQAPP.h.

Constructor & Destructor Documentation

AliEmcalTriggerQAPP::AliEmcalTriggerQAPP ( )

Dummy constructor for ROOT I/O.

Definition at line 44 of file AliEmcalTriggerQAPP.cxx.

AliEmcalTriggerQAPP::AliEmcalTriggerQAPP ( const char *  name)

Default constructor

Parameters
nameName of the object

Definition at line 74 of file AliEmcalTriggerQAPP.cxx.

AliEmcalTriggerQAPP::AliEmcalTriggerQAPP ( const AliEmcalTriggerQAPP triggerQA)

Copy constructor

Parameters
triggerQAReference to an object to copy from

Definition at line 104 of file AliEmcalTriggerQAPP.cxx.

AliEmcalTriggerQAPP::~AliEmcalTriggerQAPP ( )
virtual

Destructor.

Definition at line 125 of file AliEmcalTriggerQAPP.cxx.

Member Function Documentation

void AliEmcalTriggerQAPP::ComputeBackground ( )
void AliEmcalTriggerQAPP::EnablePatchType ( PatchTypes_t  type,
Bool_t  e = kTRUE 
)

Set the patch types to be plotted

Parameters
typePatch type of which the status is being changed
eEither enable or disable

Definition at line 134 of file AliEmcalTriggerQAPP.cxx.

void AliEmcalTriggerQAPP::EnableTriggerType ( EMCalTriggerType_t  type,
Bool_t  e = kTRUE 
)
void AliEmcalTriggerQAPP::EventCompleted ( )

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

Definition at line 351 of file AliEmcalTriggerQAPP.cxx.

Referenced by AliEmcalTriggerQATaskPP::FillHistograms().

Int_t AliEmcalTriggerQAPP::GetDebugLevel ( ) const
inline

Definition at line 54 of file AliEmcalTriggerQAPP.h.

THashList* AliEmcalTriggerQAPP::GetListOfHistograms ( )
inline

Definition at line 65 of file AliEmcalTriggerQAPP.h.

void AliEmcalTriggerQAPP::Init ( )

Initialize the class, i.e. allocate histograms.

Definition at line 140 of file AliEmcalTriggerQAPP.cxx.

Referenced by AliEmcalTriggerQATaskPP::UserCreateOutputObjects().

AliEmcalTriggerQAPP& AliEmcalTriggerQAPP::operator= ( const AliEmcalTriggerQAPP )
private
void AliEmcalTriggerQAPP::ProcessFastor ( AliEMCALTriggerFastOR *  fastor)

Process a FastOR, filling relevant histograms.

Parameters
patchPointer to a valid trigger FastOR

Definition at line 303 of file AliEmcalTriggerQAPP.cxx.

Referenced by AliEmcalTriggerQATaskPP::FillHistograms().

void AliEmcalTriggerQAPP::ProcessPatch ( AliEMCALTriggerPatchInfo *  patch)

Process a patch, filling relevant histograms.

Parameters
patchPointer to a valid trigger patch

Definition at line 231 of file AliEmcalTriggerQAPP.cxx.

Referenced by AliEmcalTriggerQATaskPP::FillHistograms().

void AliEmcalTriggerQAPP::SetADCperBin ( Int_t  i)
inline

Definition at line 52 of file AliEmcalTriggerQAPP.h.

Referenced by AliEmcalTriggerQATaskPP::SetADCperBin().

void AliEmcalTriggerQAPP::SetDebugLevel ( Int_t  l)
inline

Member Data Documentation

Int_t AliEmcalTriggerQAPP::fADCperBin
protected

ADC counts per bin.

Definition at line 76 of file AliEmcalTriggerQAPP.h.

Referenced by Init(), and SetADCperBin().

Int_t AliEmcalTriggerQAPP::fDebugLevel
protected

Debug level.

Definition at line 77 of file AliEmcalTriggerQAPP.h.

Referenced by GetDebugLevel(), ProcessPatch(), and SetDebugLevel().

Bool_t AliEmcalTriggerQAPP::fEnabledPatchTypes[3]
protected

Patch types to be plotted.

Definition at line 72 of file AliEmcalTriggerQAPP.h.

Referenced by AliEmcalTriggerQAPP(), EnablePatchType(), EventCompleted(), Init(), and ProcessPatch().

Bool_t AliEmcalTriggerQAPP::fEnabledTriggerTypes[6]
protected

Trigger types to be plotted.

Definition at line 73 of file AliEmcalTriggerQAPP.h.

Referenced by AliEmcalTriggerQAPP(), EventCompleted(), Init(), and ProcessPatch().

Int_t AliEmcalTriggerQAPP::fFastorL0Th
protected

FastOR L0 threshold.

Definition at line 74 of file AliEmcalTriggerQAPP.h.

Referenced by Init(), and ProcessFastor().

Int_t AliEmcalTriggerQAPP::fFastorL1Th
protected

FastOR L1 threshold.

Definition at line 75 of file AliEmcalTriggerQAPP.h.

Referenced by Init(), and ProcessFastor().

const Int_t AliEmcalTriggerQAPP::fgkMaxPatchAmp = {3000, 3000, 3000, 6000, 6000, 5000}
static

Maximum patch amplitude for the histograms.

Definition at line 67 of file AliEmcalTriggerQAPP.h.

Referenced by Init().

const TString AliEmcalTriggerQAPP::fgkPatchTypes = {"Online", "Recalc", "Offline"}
static

Patch type names.

Definition at line 68 of file AliEmcalTriggerQAPP.h.

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

THistManager AliEmcalTriggerQAPP::fHistManager
protected

Histogram manager.

Definition at line 79 of file AliEmcalTriggerQAPP.h.

Referenced by EventCompleted(), GetListOfHistograms(), Init(), ProcessFastor(), and ProcessPatch().

Int_t AliEmcalTriggerQAPP::fMaxPatchDCal[6][3]
protected

! DCal max ADC amplitude (0=online, 1=offline) (will be reset each event)

Definition at line 81 of file AliEmcalTriggerQAPP.h.

Referenced by AliEmcalTriggerQAPP(), EventCompleted(), and ProcessPatch().

Int_t AliEmcalTriggerQAPP::fMaxPatchEMCal[6][3]
protected

! EMCal max ADC amplitude (0=online, 1=offline) (will be reset each event)

Definition at line 80 of file AliEmcalTriggerQAPP.h.

Referenced by AliEmcalTriggerQAPP(), EventCompleted(), and ProcessPatch().

Int_t AliEmcalTriggerQAPP::fPatchAreas[6]
protected

! Patch sizes retrieved directly during the patch processing

Definition at line 82 of file AliEmcalTriggerQAPP.h.

Referenced by AliEmcalTriggerQAPP(), and ProcessPatch().


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