1 #ifndef ALIEMCALTRIGGEROFFLINESELECTION_H 2 #define ALIEMCALTRIGGEROFFLINESELECTION_H EMCAL L1 Jet trigger, low threshold.
Bool_t IsOfflineSelected(EmcalTriggerClass trgcls, const AliVEvent *const data) const
Select event as triggered event.
virtual ~AliEmcalTriggerOfflineSelection()
Destructor.
static const TString fgkTriggerNames[kTrgn]
Names of the various trigger classes.
Cluster transverse energy.
DCAL L1 Gamma trigger, low threshold.
DCAL L1 Jet trigger, high threshold.
static const TString & GetTriggerName(EmcalTriggerClass cls)
Get the name of the trigger class as string representation.
Number of supported triggers.
Helper class selecting events on the presence of a trigger patch for the given type above threshold...
bool ApplyClusterTrigger(EmcalTriggerClass trgcls, const AliVEvent *const event) const
Run event selection using a EMCAL clusters.
EMCAL L1 Gamma trigger, high threshold.
DCAL L1 Jet trigger, low threshold.
EMCAL L1 Jet trigger, high threshold.
Double_t fOfflineEnergyThreshold[kTrgn]
Thresholds applied on offline energy.
void SetAcceptanceMap(EmcalTriggerClass trgcls, const TH2 *accmap)
Set acceptance map for a given trigger class.
Bool_t fUseSmearedEnergy
Switch whether to use smeared or original energy.
EmcalTriggerClass
Definition of the various supported trigger types.
static Bool_t IsSingleShower(EmcalTriggerClass cls)
Checks if the trigger class is a single shower patch trigger class.
Double_t GetThresholdForTrigger(EmcalTriggerClass trgcls) const
Get the offline trigger threshold (on energy) for a given trigger class.
void SetOfflineEnergyThreshold(EmcalTriggerClass trgcls, double threshold)
Specify threshold for a given offline trigger class.
void SetEnergyResolution(Double_t resolution)
Set the energy resolution used to smear the threshold.
void SetClusterContainer(const TString &clustercont)
Double_t fResolution
Resolution for threshold smearing.
DCAL L1 Gamma trigger, high threshold.
FEE transverse converted to L1 transverse ADC.
EMCAL L1 Gamma trigger, low threshold.
const TString & GetNameClusterContainer() const
Get the name of the cluster container.
TString fNameClusterContainer
Name of the cluster container.
bool UseClusters() const
Check whether the trigger observable is based on clusters.
FEE energy converted to L1 ADC.
void SetUseSmearedEnergy(Bool_t doUse)
Switch whether to use original or smeared energy.
Analysis of high- tracks in triggered events.
EmcalEnergyDefinition_t
Definition of EMCAL patch energy measurements.
bool ApplyPatchTrigger(EmcalTriggerClass trgcls, const TClonesArray *const triggerpatches) const
Run event selection using trigger patches.
static Bool_t IsDCAL(EmcalTriggerClass cls)
Checks if the trigger class is a jet patch trigger class.
EmcalEnergyDefinition_t fEnergyDefinition
Define type of energy to be use for the patch selection.
const TH2 * fAcceptanceMaps[kTrgn]
! Online acceptance distribution
void SetEnergyDefinition(EmcalEnergyDefinition_t endef)
Define according to which energy measurement a patch is selected as trigger patch.
bool UsePatches() const
Check whether the trigger observable is based on trigger patches.
AliEmcalTriggerOfflineSelection()
Default constructor.