9#include <trg/grl/modules/TRGGRLInjectionVetoFromOverlay/TRGGRLInjectionVetoFromOverlayModule.h>
17 setDescription(
"Module for adding to MC samples the information about the TRG injection veto from "
18 "beam background overlay files.");
22 "Name added to default branch names", std::string(
"_beamBG"));
34 B2FATAL(
"TRGGDLInputBits database object is not available");
44 const unsigned int inputBitNumber =
m_TRGInputBits->getinbitnum(inputBitName.c_str());
48 }
catch (
const std::exception&) {
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
TRGGRLInjectionVetoFromOverlayModule()
Constructor.
StoreObjPtr< TRGGRLInfo > m_TRGGRLInfoFromSimulation
TRGGRLInfo object from MC simulation.
void initialize() override
Initialize.
void event() override
Event.
const std::array< std::string, 4 > m_inputBitNames
Array of L1 input bit names to overlay.
StoreObjPtr< TRGSummary > m_TRGSummaryFromOverlay
TRGSummary object from beam background overlay.
std::string m_extensionName
Extension name for branches from beam background overlay.
void beginRun() override
Begin run.
std::string m_TRGGRLInfoName
Name of TRGGRLInfo object.
DBObjPtr< TRGGDLDBInputBits > m_TRGInputBits
TRGGDLInputBits database object.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.