1 #ifndef EUDAQ_INCLUDED_TLUEvent
2 #define EUDAQ_INCLUDED_TLUEvent
5 #include "eudaq/Event.hh"
6 #include "eudaq/Platform.hh"
14 typedef std::vector<uint64_t> vector_t;
16 explicit TLUEvent(
unsigned run,
unsigned event, uint64_t timestamp,
17 const vector_t &extratimes = vector_t())
18 :
Event(run, event, timestamp), m_extratimes(extratimes) {}
20 virtual void Print(std::ostream &)
const;
23 virtual std::string
GetType()
const {
return "TLUEvent"; }
26 static TLUEvent EORE(
unsigned run,
unsigned event) {
27 return TLUEvent(run, event);
31 TLUEvent(
unsigned run,
unsigned event = 0)
32 : Event(run, event, NOTIMESTAMP,
33 event ? Event::FLAG_EORE : Event::FLAG_BORE) {}
34 vector_t m_extratimes;
38 #endif // EUDAQ_INCLUDED_TLUEvent
Definition: TLUEvent.hh:10
Definition: Serializer.hh:156
virtual std::string GetType() const
Return "TLUEvent" as type.
Definition: TLUEvent.hh:23
Definition: Serializer.hh:19