![]() |
AliPhysics
d497afb (d497afb)
|
Class for the selection of trigger patches in the EMCAL triggered event selection. More...
#include <AliEmcalTriggerSelectionCuts.h>
Public Types | |
enum | SelectionMethod_t { kADC = 0, kEnergyRough = 1, kEnergyOffline = 2, kEnergyOfflineSmeared = 3 } |
enum | PatchType_t { kAnyPatch = 0, kL1JetPatch = 1, kL1GammaPatch = 2, kL0Patch = 3, kL1JetLowPatch = 4, kL1JetHighPatch = 5, kL1GammaLowPatch = 6, kL1GammaHighPatch = 7 } |
enum | AcceptanceType_t { kEMCALAcceptance = 0, kDCALAcceptance = 1, kEMCALDCALAcceptance = 2 } |
Public Member Functions | |
AliEmcalTriggerSelectionCuts () | |
Dummy constructor. More... | |
virtual | ~AliEmcalTriggerSelectionCuts () |
PatchType_t | GetPatchType () const |
SelectionMethod_t | GetSelectionMethod () const |
Double_t | GetThreshold () const |
Bool_t | IsRequestingSimpleOfflinePatches () const |
void | SetPatchType (PatchType_t patchType) |
void | SetAcceptanceType (AcceptanceType_t acceptance) |
void | SetSelectionMethod (SelectionMethod_t selectionMethod) |
void | SetThreshold (Double_t threshold) |
void | SetUseSimpleOfflinePatches (Bool_t doUse=kTRUE) |
void | SetUseRecalcPatches (Bool_t doUse=kTRUE) |
Bool_t | IsSelected (const AliEMCALTriggerPatchInfo *const patch) const |
Apply selection of the given trigger patch according to the selections described in the object. More... | |
Int_t | CompareTriggerPatches (const AliEMCALTriggerPatchInfo *first, const AliEMCALTriggerPatchInfo *second) const |
Compare two patches according to the energy measure specified in the cut object. More... | |
Protected Member Functions | |
Double_t | GetCutPrimitive (const AliEMCALTriggerPatchInfo *const patch) const |
Return (energy) measure we cut on, depending on the selection method specified. More... | |
Bool_t | SelectPatchType (const AliEMCALTriggerPatchInfo *const patch) const |
Select type of the patch according the definitions in the header file. More... | |
Bool_t | SelectAcceptance (const AliEMCALTriggerPatchInfo *const patch) const |
Select detector acceptance. More... | |
Protected Attributes | |
SelectionMethod_t | fSelectionMethod |
Variable to cut on. More... | |
PatchType_t | fPatchType |
Type of the patch to be selected. More... | |
AcceptanceType_t | fAcceptanceType |
Acceptance type (EMCAL or DCAL acceptance) More... | |
Double_t | fThreshold |
Threshold used. More... | |
Bool_t | fUseSimpleOffline |
Request simple offline patches. More... | |
Bool_t | fUseRecalc |
Request recalc patch. More... | |
Class for the selection of trigger patches in the EMCAL triggered event selection.
Definition at line 44 of file AliEmcalTriggerSelectionCuts.h.
Enumerator | |
---|---|
kEMCALAcceptance | |
kDCALAcceptance | |
kEMCALDCALAcceptance |
Definition at line 62 of file AliEmcalTriggerSelectionCuts.h.
Enumerator | |
---|---|
kAnyPatch | |
kL1JetPatch | |
kL1GammaPatch | |
kL0Patch | |
kL1JetLowPatch | |
kL1JetHighPatch | |
kL1GammaLowPatch | |
kL1GammaHighPatch |
Definition at line 52 of file AliEmcalTriggerSelectionCuts.h.
Enumerator | |
---|---|
kADC | |
kEnergyRough | |
kEnergyOffline | |
kEnergyOfflineSmeared |
Definition at line 46 of file AliEmcalTriggerSelectionCuts.h.
PWG::EMCAL::AliEmcalTriggerSelectionCuts::AliEmcalTriggerSelectionCuts | ( | ) |
Dummy constructor.
Definition at line 36 of file AliEmcalTriggerSelectionCuts.cxx.
|
inlinevirtual |
Definition at line 72 of file AliEmcalTriggerSelectionCuts.h.
Int_t PWG::EMCAL::AliEmcalTriggerSelectionCuts::CompareTriggerPatches | ( | const AliEMCALTriggerPatchInfo * | first, |
const AliEMCALTriggerPatchInfo * | second | ||
) | const |
Compare two patches according to the energy measure specified in the cut object.
[in] | first | the first patch |
[in] | second | the second patch |
Definition at line 56 of file AliEmcalTriggerSelectionCuts.cxx.
Referenced by PWG::EMCAL::AliEmcalTriggerSelection::MakeDecison().
|
protected |
Return (energy) measure we cut on, depending on the selection method specified.
[in] | patch | The patch from which to obtain the value |
Definition at line 63 of file AliEmcalTriggerSelectionCuts.cxx.
Referenced by CompareTriggerPatches(), and IsSelected().
|
inline |
Definition at line 74 of file AliEmcalTriggerSelectionCuts.h.
|
inline |
Definition at line 75 of file AliEmcalTriggerSelectionCuts.h.
|
inline |
Definition at line 76 of file AliEmcalTriggerSelectionCuts.h.
|
inline |
Definition at line 77 of file AliEmcalTriggerSelectionCuts.h.
Bool_t PWG::EMCAL::AliEmcalTriggerSelectionCuts::IsSelected | ( | const AliEMCALTriggerPatchInfo *const | patch | ) | const |
Apply selection of the given trigger patch according to the selections described in the object.
[in] | patch | the trigger patch to check |
Definition at line 47 of file AliEmcalTriggerSelectionCuts.cxx.
Referenced by PWG::EMCAL::AliEmcalTriggerSelection::MakeDecison().
|
protected |
Select detector acceptance.
Detector acceptance can be either of
patch | Trigger patch to be checked |
Definition at line 97 of file AliEmcalTriggerSelectionCuts.cxx.
Referenced by IsSelected().
|
protected |
Select type of the patch according the definitions in the header file.
[in] | patch | the patch to be checked |
Definition at line 75 of file AliEmcalTriggerSelectionCuts.cxx.
Referenced by IsSelected().
|
inline |
Definition at line 80 of file AliEmcalTriggerSelectionCuts.h.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigureMCPP2016(), and PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigurePP2016().
|
inline |
Definition at line 79 of file AliEmcalTriggerSelectionCuts.h.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigureMCPP2016(), and PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigurePP2016().
|
inline |
Definition at line 81 of file AliEmcalTriggerSelectionCuts.h.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigureMCPP2016(), and PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigurePP2016().
|
inline |
Definition at line 82 of file AliEmcalTriggerSelectionCuts.h.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigureMCPP2016(), and PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigurePP2016().
|
inline |
Definition at line 84 of file AliEmcalTriggerSelectionCuts.h.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigurePP2016().
|
inline |
Definition at line 83 of file AliEmcalTriggerSelectionCuts.h.
Referenced by PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigureMCPP2016(), and PWG::EMCAL::AliAnalysisTaskEmcalTriggerSelection::ConfigurePP2016().
|
protected |
Acceptance type (EMCAL or DCAL acceptance)
Definition at line 136 of file AliEmcalTriggerSelectionCuts.h.
Referenced by SelectAcceptance(), and SetAcceptanceType().
|
protected |
Type of the patch to be selected.
Definition at line 135 of file AliEmcalTriggerSelectionCuts.h.
Referenced by GetPatchType(), SelectPatchType(), and SetPatchType().
|
protected |
Variable to cut on.
Definition at line 134 of file AliEmcalTriggerSelectionCuts.h.
Referenced by GetCutPrimitive(), GetSelectionMethod(), and SetSelectionMethod().
|
protected |
Threshold used.
Definition at line 137 of file AliEmcalTriggerSelectionCuts.h.
Referenced by GetThreshold(), IsSelected(), and SetThreshold().
|
protected |
Request recalc patch.
Definition at line 139 of file AliEmcalTriggerSelectionCuts.h.
Referenced by SelectPatchType(), and SetUseRecalcPatches().
|
protected |
Request simple offline patches.
Definition at line 138 of file AliEmcalTriggerSelectionCuts.h.
Referenced by IsRequestingSimpleOfflinePatches(), SelectPatchType(), and SetUseSimpleOfflinePatches().