1 ////////////////////////////////////////////////////////////////////////////////
3 // Author: Artur Szostak
4 // Email: artur@alice.phy.uct.ac.za | artursz@iafrica.com
6 ////////////////////////////////////////////////////////////////////////////////
8 #ifndef dHLT_EVENT_ID_HPP
9 #define dHLT_EVENT_ID_HPP
11 #include "BasicTypes.hpp"
18 // Must correct this definition!!!!
25 EventID(UInt bunch = 0, UInt timestamp = 0)
28 this->timestamp = timestamp;
32 bool operator == (const EventID& rhs)
34 return bunch == rhs.bunch and timestamp == rhs.timestamp;
37 bool operator != (const EventID& rhs)
39 return not (*this == rhs);
46 #endif // dHLT_EVENT_ID_HPP