8 #ifndef TRGTOPUNPACKER_H
9 #define TRGTOPUNPACKER_H
13 #include "rawdata/dataobjects/RawTRG.h"
14 #include "trg/top/dataobjects/TRGTOPUnpackerStore.h"
16 #include <framework/datastore/StoreArray.h>
17 #include <framework/core/Module.h>
19 #define NUMBER_OF_SLOTS 16
41 static constexpr
double clkTo1ns = 0.5 / 0.508877;
58 virtual void event()
override;
61 virtual void endRun()
override;
The Raw TOP class Class for RawCOPPER class data taken by TOP Currently, this class is almost same as...
Accessor to arrays stored in the data store.
int m_nodeId
Trigger type.
virtual void initialize() override
Initialize the Module.
int m_nWords
Our read-out ID.
virtual void event() override
This method is the core of the module.
virtual void endRun() override
This method is called if the current run ends.
virtual void fillTreeTRGTOP(int *)
Unpacker main function.
virtual void terminate() override
This method is called at the end of the event processing.
virtual void beginRun() override
Called when entering a new run.
StoreArray< TRGTOPUnpackerStore > m_TRGTOPCombinedTimingArray
N words in raw data.
TRGTOPUnpackerModule()
Constructor: Sets the description, the properties and the parameters of the module.
int m_trigType
Event number (according to L1/global)
std::string version() const
returns version of TRGGDLUnpackerModule.
virtual void readCOPPEREvent(RawTRG *, int)
Read data from TRG copper.
Abstract base class for different kinds of events.