23 #include "AliEMCALGeometry.h"
27 using namespace EMCALTrigger;
33 const Int_t
AliEMCALTriggerQA::fgkMaxPatchAmp[6] = {2000, 2000, 2000, 6000, 6000, 5000};
45 fTimeStampBinWidth(0),
63 fTimeStampBinWidth(0),
77 fFastorL0Th(ref.fFastorL0Th),
78 fFastorL1Th(ref.fFastorL1Th),
79 fADCperBin(ref.fADCperBin),
80 fDebugLevel(ref.fDebugLevel),
81 fTimeStampBinWidth(0),
119 if (patchtype < 0 || patchtype > 2)
return kFALSE;
120 if (triggertype < 0 || triggertype > 31)
return kFALSE;
137 if (!patch)
return 0;
138 if (itype == 0 || itype == 1) {
141 else if (itype == 2) {
169 fGeom = AliEMCALGeometry::GetInstance();
171 AliError(
"Could not get geometry!");
static const TString fgkPatchTypes[fgkNPatchTypes]
Patch type names.
UInt_t fEventTimeStamp
! Time stamp of the current event
virtual void ExecOnce()
Actions to be executed only once for the first event.
static Int_t GetAmplitude(const AliEMCALTriggerPatchInfo *patch, Int_t itype)
virtual void EventTimeStamp(UInt_t timeStamp)
UInt_t fEventTimeStampBin
! Time stamp bin
Bool_t IsPatchTypeEnabled(Int_t patchtype, Int_t triggertype) const
Int_t GetADCOfflineAmp() const
UInt_t fTimeStampBinWidth
Time stamp bin width.
UInt_t fEnabledTriggerPatches[fgkNPatchTypes]
Patch types to be plotted.
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
Class to generate EMCal trigger QA plots.
Class to make array of trigger patch objects in AOD/ESD events.
EMCalTriggerType_t
Definition of different trigger patch types.
virtual ~AliEMCALTriggerQA()
const AliEMCALGeometry * fGeom
! Pointer to the EMCal geometry
void EnablePatchType(PatchTypes_t patchtype, EMCalTriggerType_t triggertype, Bool_t e)