7#ifndef EVENT_SELECTOR_EVENTSCALARSELECTORALG_H
8#define EVENT_SELECTOR_EVENTSCALARSELECTORALG_H
36 virtual StatusCode
execute(
const EventContext& ctx)
override;
41 Gaudi::Property<std::string>
m_sign {
this,
"sign",
"SetMe",
"comparison sign to use"};
44 Gaudi::Property<float>
m_refValue {
this,
"refValue", 0.,
"reference value to compare against"};
54 this,
"eventInfo",
"EventInfo",
"the EventInfo container to read from"
60 this,
"floatVariable",
"",
"EventInfo float decoration to cut on"
63 this,
"intVariable",
"",
"EventInfo int decoration to cut on"
66 this,
"doubleVariable",
"",
"EventInfo double decoration to cut on"
71 this,
"eventPreselection",
"SetMe",
"name of the preselection to check before applying this one"
76 this,
"decorationName",
"SetMe",
"decoration name for the EVENTVAR selector"
CP::SysReadSelectionHandle m_preselection
the preselection
CP::SysReadDecorHandle< int > m_intVariable
Gaudi::Property< std::string > m_sign
the comparison sign (GT, LT, etc)
Gaudi::Property< float > m_refValue
the reference value against which to compare
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
CP::SysReadDecorHandle< float > m_floatVariable
the EventInfo scalar decoration to cut on; exactly one of the typed handles below is configured,...
CP::SysListHandle m_systematicsList
the systematics list
CP::SysReadDecorHandle< double > m_doubleVariable
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
virtual StatusCode initialize() override
EventScalarSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for writing systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.
ComparisonOperator
all possible comparison user inputs