10#include <framework/logging/Logger.h>
36 B2ASSERT(
"Prescale factor should only have a single entry!",
m_preScaleFactor.size() == 1);
Base class for the SoftwareTriggerCut and its DBRepresentation.
SoftwareTriggerCutBase & operator=(const SoftwareTriggerCutBase &)=delete
Do not copy/assign this object.
SoftwareTriggerCutBase(const SoftwareTriggerCutBase &rhs)=delete
Do not copy this object.
SoftwareTriggerCutBase(unsigned int preScaleFactor=1, const bool &isRejectCut=false)
Create a new base instance. This should rarely be called by yourself.
bool isRejectCut() const
Returns true, if the cut is a reject cut and false otherwise.
bool m_isRejectCut
The internal storage if it is a reject cut.
unsigned int getPreScaleFactor() const
Return the list of pre scale factors.
std::vector< unsigned int > m_preScaleFactor
The internal storage of the prescale factor of the cut. In former times, this was a vector but is not...
Abstract base class for different kinds of events.