#include <EUDRBEvent.hh>
Public Member Functions | |
virtual void | Serialize (Serializer &) const |
EUDRBEvent (Deserializer &) | |
virtual void | Print (std::ostream &) const |
unsigned | NumBoards () const |
EUDRBBoard & | GetBoard (unsigned i) |
const EUDRBBoard & | GetBoard (unsigned i) const |
void | Debug () |
Public Member Functions inherited from eudaq::Event | |
Event (unsigned run, unsigned event, uint64_t timestamp=NOTIMESTAMP, unsigned flags=0) | |
Event (Deserializer &ds) | |
unsigned | GetRunNumber () const |
unsigned | GetEventNumber () const |
uint64_t | GetTimestamp () const |
virtual std::string | GetSubType () const |
bool | HasTag (const std::string &name) const |
std::vector< std::string > | GetTagList (const std::string &prefix) const |
Event & | SetTag (const std::string &name, const std::string &val) |
template<typename T > | |
Event & | SetTag (const std::string &name, const T &val) |
std::string | GetTag (const std::string &name, const std::string &def="") const |
std::string | GetTag (const std::string &name, const char *def) const |
template<typename T > | |
T | GetTag (const std::string &name, T def) const |
bool | IsBORE () const |
bool | IsEORE () const |
bool | HasHits () const |
bool | IsFake () const |
bool | IsSimulation () const |
unsigned | GetFlags (unsigned f=FLAG_ALL) const |
void | SetFlags (unsigned f) |
void | SetTimeStampToNow () |
void | setTimeStamp (uint64_t timeStamp) |
void | ClearFlags (unsigned f=FLAG_ALL) |
virtual unsigned | get_id () const =0 |
Additional Inherited Members | |
Public Types inherited from eudaq::Event | |
enum | Flags { FLAG_BORE = 1, FLAG_EORE = 2, FLAG_HITS = 4, FLAG_FAKE = 8, FLAG_SIMU = 16, FLAG_EUDAQ2 = 32, FLAG_PACKET = 64, FLAG_BROKEN = 128, FLAG_STATUS = 256, FLAG_ALL = (unsigned)-1 } |
Static Public Member Functions inherited from eudaq::Event | |
static unsigned | str2id (const std::string &idstr) |
static std::string | id2str (unsigned id) |
Protected Types inherited from eudaq::Event | |
typedef std::map< std::string, std::string > | map_t |
Protected Attributes inherited from eudaq::Event | |
unsigned | m_flags |
unsigned | m_runnumber |
unsigned | m_eventnumber |
uint64_t | m_timestamp |
map_t | m_tags |
Metadata tags in (name=value) pairs of strings. | |
An Event type consisting of just a vector of bytes.