32 if (nConfigured != 1) {
33 ANA_MSG_ERROR(
"EVENTVAR: exactly one of floatVariable / intVariable / "
34 "doubleVariable must be configured (got " << nConfigured <<
")");
35 return StatusCode::FAILURE;
38 return StatusCode::SUCCESS;
64 return StatusCode::SUCCESS;
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)
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
bool checkValue(T reference, ComparisonOperator sign, T test)
the comparison test given the specified sign and two test values
static const std::map< std::string, ComparisonOperator > stringToOperator
the map between user inputs and comparison operators
EventInfo_v1 EventInfo
Definition of the latest event info version.