EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
eudaq::StandardEvent Class Reference
Inheritance diagram for eudaq::StandardEvent:
eudaq::Event eudaq::Serializable

Public Member Functions

 StandardEvent (unsigned run=0, unsigned evnum=0, uint64_t timestamp=NOTIMESTAMP)
 
 StandardEvent (const Event &)
 
 StandardEvent (Deserializer &)
 
void SetTimestamp (uint64_t)
 
StandardPlaneAddPlane (const StandardPlane &)
 
size_t NumPlanes () const
 
const StandardPlaneGetPlane (size_t i) const
 
StandardPlaneGetPlane (size_t i)
 
virtual void Serialize (Serializer &) const
 
virtual void Print (std::ostream &) const
 
- 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
 
EventSetTag (const std::string &name, const std::string &val)
 
template<typename T >
EventSetTag (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 >
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.
 

The documentation for this class was generated from the following files: