1 #ifndef EUDAQ_INCLUDED_StringEvent
2 #define EUDAQ_INCLUDED_StringEvent
5 #include "eudaq/Event.hh"
17 StringEvent(
unsigned run,
unsigned event,
const std::string &str)
18 :
Event(run, event), m_str(str) {}
20 virtual void Print(std::ostream &)
const;
23 virtual std::string
GetType()
const {
return "StringEvent"; }
26 static StringEvent EORE(
unsigned run,
unsigned event) {
27 return StringEvent(run, event);
31 StringEvent(
unsigned run,
unsigned event = 0)
32 : Event(run, event, NOTIMESTAMP,
33 event ? Event::FLAG_EORE : Event::FLAG_BORE) {}
38 #endif // EUDAQ_INCLUDED_StringEvent
Definition: Serializer.hh:156
virtual std::string GetType() const
Return "StringEvent" as type.
Definition: StringEvent.hh:23
Definition: Serializer.hh:19
Definition: StringEvent.hh:12