10#include <klm/modules/KLMDigitTimeShifter/KLMDigitTimeShifterModule.h>
19 setDescription(
"Shift the time of KLMDigits according to the cable delay corrections.");
35 B2FATAL(
"KLM time cable delay data are not available.");
42 float digitTimeShifted = digit.getTime() -
m_TimeDelay->getTimeDelay(channel);
43 digit.setTime(digitTimeShifted);
StoreArray< KLMDigit > m_Digits
KLM digits.
DBObjPtr< KLMTimeCableDelay > m_TimeDelay
KLM time cable delay.
void initialize() override
Initializer.
void event() override
This method is called for each event.
void beginRun() override
Called when entering a new run.
KLMDigitTimeShifterModule()
Constructor.
~KLMDigitTimeShifterModule()
Destructor.
KLM digit (class representing a digitized hit in RPCs or scintillators).
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...
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
uint16_t KLMChannelNumber
Channel number.
Abstract base class for different kinds of events.