27 #ifndef ALIEMCALTRIGGERSELECTIONCUTS_H
28 #define ALIEMCALTRIGGERSELECTIONCUTS_H
32 class AliEMCALTriggerPatchInfo;
Class for the selection of trigger patches in the EMCAL triggered event selection.
Double_t GetThreshold() const
Bool_t SelectPatchType(const AliEMCALTriggerPatchInfo *const patch) const
Select type of the patch according the definitions in the header file.
SelectionMethod_t GetSelectionMethod() const
PatchType_t GetPatchType() const
void SetSelectionMethod(SelectionMethod_t selectionMethod)
Bool_t SelectAcceptance(const AliEMCALTriggerPatchInfo *const patch) const
Select detector acceptance.
Bool_t fUseSimpleOffline
Request simple offline patches.
void SetUseSimpleOfflinePatches(Bool_t doUse=kTRUE)
AliEmcalTriggerSelectionCuts()
Dummy constructor.
void SetThreshold(Double_t threshold)
Bool_t IsSelected(const AliEMCALTriggerPatchInfo *const patch) const
Apply selection of the given trigger patch according to the selections described in the object...
Bool_t fUseRecalc
Request recalc patch.
Bool_t IsRequestingSimpleOfflinePatches() const
Double_t GetCutPrimitive(const AliEMCALTriggerPatchInfo *const patch) const
Return (energy) measure we cut on, depending on the selection method specified.
virtual ~AliEmcalTriggerSelectionCuts()
SelectionMethod_t fSelectionMethod
Variable to cut on.
Int_t CompareTriggerPatches(const AliEMCALTriggerPatchInfo *first, const AliEMCALTriggerPatchInfo *second) const
Compare two patches according to the energy measure specified in the cut object.
AcceptanceType_t fAcceptanceType
Acceptance type (EMCAL or DCAL acceptance)
void SetAcceptanceType(AcceptanceType_t acceptance)
Double_t fThreshold
Threshold used.
PatchType_t fPatchType
Type of the patch to be selected.
void SetPatchType(PatchType_t patchType)
void SetUseRecalcPatches(Bool_t doUse=kTRUE)