12#include <klm/dataobjects/KLMDigit.h>
13#include <klm/dataobjects/KLMElementNumbers.h>
14#include <klm/dbobjects/KLMElectronicsMap.h>
17#include <framework/core/Module.h>
18#include <framework/database/DBObjPtr.h>
19#include <framework/dataobjects/EventMetaData.h>
20#include <framework/datastore/StoreArray.h>
21#include <framework/datastore/StoreObjPtr.h>
22#include <rawdata/dataobjects/RawKLM.h>
63 void event()
override;
91 void formatData(
int flag,
int lane,
int plane,
int strip,
int charge, uint16_t ctime, uint16_t tdc,
92 uint16_t& bword1, uint16_t& bword2, uint16_t& bword3, uint16_t& bword4);
Class for accessing objects in the database.
StoreArray< KLMDigit > m_Digits
KLM digits.
void initialize() override
Initializer.
void event() override
This method is called for each event.
const KLMElementNumbers * m_ElementNumbers
Element numbers.
void endRun() override
This method is called if the current run ends.
void terminate() override
This method is called at the end of the event processing.
void formatData(int flag, int lane, int plane, int strip, int charge, uint16_t ctime, uint16_t tdc, uint16_t &bword1, uint16_t &bword2, uint16_t &bword3, uint16_t &bword4)
Creation of raw data.
void beginRun() override
Called when entering a new run.
~KLMPackerModule()
Destructor.
DBObjPtr< KLMElectronicsMap > m_ElectronicsMap
Electronics map.
StoreArray< RawKLM > m_RawKLMs
Raw data.
KLMPackerModule()
Constructor.
StoreObjPtr< EventMetaData > m_EventMetaData
Event meta data.
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.