1 #ifndef SimDataFormats_EncodedEventId_H
2 #define SimDataFormats_EncodedEventId_H 1
30 int event()
const {
return int(
id_ & 0xFFFF); }
static const unsigned int eventMask_
int event() const
get the contents of the subdetector field (should be protected?)
static const unsigned int bunchXMask_
static const unsigned int bunchXStartBit_
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)
uint32_t operator()() const
int bunchCrossing() const
get the detector field from this detid
Abs< T >::type abs(const T &t)
int operator!=(const EncodedEventId &id) const
inequality
uint32_t rawId() const
get the raw id
static const unsigned int eventStartBit_
int operator<(const EncodedEventId &id) const
comparison
static const unsigned int bunchNegMask_
int operator==(const EncodedEventId &id) const
equality