7 #ifndef EVENT_SELECTOR_RUNNUMBERSELECTORALG_H
8 #define EVENT_SELECTOR_RUNNUMBERSELECTORALG_H
34 virtual StatusCode
execute()
override;
39 Gaudi::Property<unsigned int>
m_runNumberRef {
this,
"runNumber", 0,
"runNumber to compare"};
42 Gaudi::Property<bool>
m_useRandomRunNumber {
this,
"useRandomRunNumber",
false,
"whether to use a random run number (for MC) instead of the actual run number (for data)"};
45 Gaudi::Property<std::string>
m_sign {
this,
"sign",
"SetMe",
"comparison sign to use"};
55 this,
"eventInfo",
"EventInfo",
"the EventInfo container to read selection decisions from"
60 this,
"eventPreselection",
"SetMe",
"name of the preselection to check before applying this one"
65 this,
"decorationName",
"SetMe",
"decoration name for the RunNumber selector"
an algorithm to select an event with 2-lepton mass compared to a specified value
virtual StatusCode initialize() override
Gaudi::Property< unsigned int > m_runNumberRef
the run number against which to compare
virtual StatusCode execute() override
CP::SysReadSelectionHandle m_preselection
the preselection
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Gaudi::Property< bool > m_useRandomRunNumber
whether to use a random run number
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
CP::SysListHandle m_systematicsList
the systematics
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
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 systematically varied selection properties from objects
a data handle for writing systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.
ComparisonOperator
all possible comparison user inputs