12 #include <framework/logging/Logger.h>
13 #include <klm/dataobjects/eklm/EKLMElementNumbers.h>
68 if (nLayers > threshold)
69 B2FATAL(
"The value passed to 'setNLayers' exceed the maximum allowed number of layers."
70 <<
LogVar(
"nLayers", nLayers)
71 <<
LogVar(
"layers threshold", threshold));
81 if (whichLayers.empty())
82 B2FATAL(
"The string passed to 'setWhichLayers' is empty."
83 <<
LogVar(
"string", whichLayers));
int getMaximalDetectorLayerNumber(int section) const
Get maximal detector layer number.
static const EKLMElementNumbers & Instance()
Instantiation.
@ c_BackwardSection
Backward.
DBObject containing parameters used in KLMTrigger module.
KLMTriggerParameters(unsigned int nLayers, const std::string &whichLayers)
Constructor.
std::string m_whichLayers
Pattern of layers used in the trigger logic.
void setWhichLayers(const std::string &whichLayers)
Set the pattern of layers used in the trigger logic.
void setNLayers(unsigned int nLayers)
Set the number of layers used in the trigger logic.
unsigned int getNLayers() const
Get the number of layers used in the trigger logic.
ClassDef(KLMTriggerParameters, 1)
Class version.
~KLMTriggerParameters()
Destructor.
unsigned int m_nLayers
Number of layers used in the trigger logic.
std::string getWhichLayers() const
Get the pattern of layers used in the trigger logic.
KLMTriggerParameters()
Default constructor.
Class to store variables with their name which were sent to the logging service.
Abstract base class for different kinds of events.