![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
20 if (
event.m_info->isAvailable<
unsigned int>(
"RandomRunNumber"))
number =
event.m_info->auxdataConst<
unsigned int>(
23 throw std::runtime_error(
"RunNumberSelector: RandomRunNumber EventInfo decoration not available. Indicates issue with PRW tool.");
bool checkInt(int value, int cut) const
Compare a cut supplied by the user with the value calculated in the event.
TopConfig A simple configuration that is NOT a singleton.
std::shared_ptr< top::TopConfig > m_config
Many of the tools need a sign (>=) and a value (2).
RunNumberSelector(const std::string ¶ms, std::shared_ptr< top::TopConfig > config)
POOL::TEvent event(POOL::TEvent::kClassAccess)
bool apply(const top::Event &event) const override
This does stuff based on the information in an event.
double value() const
Get the cut value assigned in the constructor.
std::vector< std::string > config
Very simple class to hold event data after reading from a file.