10 #ifndef ALIEMCALTRIGGERANATRIGGERDECISION_H
11 #define ALIEMCALTRIGGERANATRIGGERDECISION_H
28 namespace EMCalTriggerPtAnalysis {
30 class AliEMCalTriggerEventData;
31 class AliEMCalTriggerDecisionConfig;
193 Bool_t result = kFALSE;
216 void Print(Option_t * opt = NULL)
const;
Bool_t SelectTriggerPatch(ETATriggerType trigger, const AliEmcalTriggerPatchInfo *const recpatch) const
ETriggerMethod_t
Methods available to select event as triggered events.
Class performing the selection of triggered events.
Online energy, estimated from L0 time sums.
Double_t GetPatchEnergy(EPatchEnergyType_t energytype, const AliEmcalTriggerPatchInfo *const patch) const
void SetEnergyThreshold(ETATriggerType trigger, double threshold)
void Print(Option_t *opt=NULL) const
Gamma trigger, low threshold.
Offline amplitude, estimated from EMCAL cells.
void SetPatchEnergyType(EPatchEnergyType_t energyType)
Online amplitude of the patch, from L0 time sums.
Bool_t fUseOfflinePatches
Switch for using offline patches for event selection.
void ConfigureTriggerDecision(const AliEMCalTriggerAnaTriggerDecisionConfig &conf)
const AliEMCalTriggerAnaTriggerDecisionConfig * GetConfiguration() const
Bool_t IsTriggered(ETATriggerType trigger, ETriggerMethod_t method=kTriggerString) const
void MakeDecisionFromPatches(const TClonesArray &listOfPatches)
Bool_t IsUsingOfflinePatches() const
ETATriggerType
Trigger types defined for this analysis.
EPatchEnergyType_t GetPatchEnergyType() const
void SetSwapThresholds(Bool_t doSwap=kTRUE)
EPatchEnergyType_t fEnergyType
Energy type from patch used for the patch energy selection.
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
AliEMCalTriggerAnaTriggerDecision()
AliEMCalTriggerAnaTriggerDecisionConfig()
Bool_t fDecisionFromPatches[4]
Storage for result from trigger string.
virtual ~AliEMCalTriggerAnaTriggerDecisionConfig()
bool CheckConsistency() const
Jet trigger, high threshold.
Bool_t fSwapThresholds
Flag for swapping high and low energy threshold.
Bool_t IsSwapThresholds() const
void SetDebugMode(Bool_t doDebug=true)
void SetUseOfflinePatches(Bool_t doUse=kTRUE)
void MakeDecisionFromString(const TString &triggerstring)
AliEMCalTriggerAnaTriggerDecisionConfig fConfiguration
Configuration for the trigger decision handler.
Double_t fEnergyThresholds[4]
Energy thresholds applied in the analysis.
Simple event container within the high- track analysis.
Jet trigger, low threshold.
Double_t GetEnergyThreshold(ETATriggerType trigger) const
virtual ~AliEMCalTriggerAnaTriggerDecision()
Bool_t fDecisionFromString[4]
Storage for result from trigger patches.
Offline energy, from cells, calibrated, exluding hot towers.
Bool_t fDoDebug
Switch for debug mode.
void Create(const AliEMCalTriggerEventData *const data)
Gamma trigger, high threshold.
Bool_t HasEnergyThreshold(ETATriggerType trigger) const