8#ifndef TRGTOPUNPACKER_H
9#define TRGTOPUNPACKER_H
14#include "rawdata/dataobjects/RawTRG.h"
16#include "trg/top/dataobjects/TRGTOPCombinedT0Decision.h"
18#include "trg/top/dataobjects/TRGTOPSlotTiming.h"
20#include <framework/datastore/StoreArray.h>
21#include <framework/core/Module.h>
23#define NUMBER_OF_SLOTS 16
42 static constexpr double clkTo1ns = 0.5 / 0.508877;
59 virtual void event()
override;
62 virtual void endRun()
override;
85 bool m_reportedAlreadyRun_2;
87 bool m_overrideControlBits;
92 static constexpr int revoToNS = 1280 * 8;
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.
virtual void readDAQEvent(RawTRG *, int, int)
Read data from TRG DAQ.
bool m_reportedAlreadyRun_1
PCIe40 data or copper data.
bool m_pciedata
N words in raw data.
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 terminate() override
This method is called at the end of the event processing.
virtual void beginRun() override
Called when entering a new run.
virtual void unpackT0Decisions(int *, int)
Unpacker main function.
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.
Abstract base class for different kinds of events.