27 #ifndef ALIEMCALTRIGGERDECISION_H 28 #define ALIEMCALTRIGGERDECISION_H 33 class AliEMCALTriggerPatchInfo;
39 class AliEmcalTriggerSelectionCuts;
Class for the selection of trigger patches in the EMCAL triggered event selection.
const AliEMCALTriggerPatchInfo * fMainPatch
Main trigger patch which fires the decision.
Container for trigger decision.
AliEmcalTriggerDecision & operator=(const AliEmcalTriggerDecision &ref)
AliEmcalTriggerDecision()
Dummy constructor.
const AliEmcalTriggerSelectionCuts * GetSelectionCuts() const
Get the selection cuts used in the trigger selection.
void SetSelectionCuts(const AliEmcalTriggerSelectionCuts *const cuts)
Set the selection cuts used in the trigger selection.
virtual ~AliEmcalTriggerDecision()
Destructor.
Namespace for EMCAL framework classes and task.
const AliEMCALTriggerPatchInfo * GetMainPatch() const
Get the highest energetic trigger patch of the event firing the trigger.
void AddAcceptedPatch(AliEMCALTriggerPatchInfo *const acceptedPatch)
void SetMainPatch(const AliEMCALTriggerPatchInfo *const mainpatch)
Set the main (highest-energetic) trigger patch.
Namespace for PWG framework classes.
TList fAcceptedPatches
All trigger patches which are accepted as well.
const AliEmcalTriggerSelectionCuts * fSelectionCuts
Pointer to the cuts used for the trigger selection.
const TList * GetAcceptedPatches() const
Get the list of all patches in the event satisfying the trigger condition.
Bool_t IsSelected() const
Check whether event is selected under the given trigger.