1 #ifndef SimDataFormats_EncodedEventId_H 2 #define SimDataFormats_EncodedEventId_H 1 static const unsigned int eventMask_
uint32_t rawId() const
get the raw id
int event() const
get the contents of the subdetector field (should be protected?)
int operator==(const EncodedEventId &id) const
equality
int operator<(const EncodedEventId &id) const
comparison
static const unsigned int bunchXMask_
int operator!=(const EncodedEventId &id) const
inequality
static const unsigned int bunchXStartBit_
uint32_t operator()() const
EncodedEventId(int bunchX, int event)
Create an id, filling the bunch crossing and event infomrations.
EncodedEventId()
Create an empty or null id (also for persistence)
int bunchCrossing() const
get the detector field from this detid
Abs< T >::type abs(const T &t)
static const unsigned int eventStartBit_
static const unsigned int bunchNegMask_