#include <EncodedEventId.h>
Public Member Functions | |
int | bunchCrossing () const |
get the detector field from this detid More... | |
EncodedEventId () | |
Create an empty or null id (also for persistence) More... | |
EncodedEventId (int bunchX, int event) | |
Create an id, filling the bunch crossing and event infomrations. More... | |
EncodedEventId (uint32_t id) | |
Create an id from a raw number. More... | |
int | event () const |
get the contents of the subdetector field (should be protected?) More... | |
int | operator!= (const EncodedEventId &id) const |
inequality More... | |
uint32_t | operator() () |
int | operator< (const EncodedEventId &id) const |
comparison More... | |
int | operator== (const EncodedEventId &id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
Protected Attributes | |
uint32_t | id_ |
Static Private Attributes | |
static const unsigned int | bunchNegMask_ = 0x80000000 |
static const unsigned int | bunchXMask_ = 0x10 |
static const unsigned int | bunchXStartBit_ = 16 |
static const unsigned int | eventMask_ = 0x10 |
static const unsigned int | eventStartBit_ = 0 |
Definition at line 11 of file EncodedEventId.h.
EncodedEventId::EncodedEventId | ( | ) |
|
explicit |
|
inline |
Create an id, filling the bunch crossing and event infomrations.
Definition at line 18 of file EncodedEventId.h.
References Abs(), bunchNegMask_, bunchXStartBit_, event(), and id_.
|
inline |
get the detector field from this detid
Definition at line 25 of file EncodedEventId.h.
References bunchNegMask_, bunchXStartBit_, id_, and createfilelist::int.
Referenced by edm::TestMix::analyze(), TrackerHitAssociator::associateHit(), MultiTrackValidator::dqmAnalyze(), MultiTrackValidator::getRecoPVPosition(), SiStripRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), VertexClassifier::simulationInformation(), and TrackClassifier::simulationInformation().
|
inline |
get the contents of the subdetector field (should be protected?)
Definition at line 30 of file EncodedEventId.h.
References id_, and createfilelist::int.
Referenced by edm::TestMix::analyze(), TrackerHitAssociator::associateHit(), MultiTrackValidator::dqmAnalyze(), EncodedEventId(), MultiTrackValidator::getRecoPVPosition(), SiStripRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), VertexClassifier::simulationInformation(), and TrackClassifier::simulationInformation().
|
inline |
|
inline |
|
inline |
|
inline |
equality
Definition at line 35 of file EncodedEventId.h.
References id_.
Referenced by EncodedTruthId::operator==().
|
inline |
get the raw id
Definition at line 33 of file EncodedEventId.h.
References id_.
Referenced by operator<<().
|
staticprivate |
Definition at line 45 of file EncodedEventId.h.
Referenced by bunchCrossing(), and EncodedEventId().
|
staticprivate |
Definition at line 44 of file EncodedEventId.h.
|
staticprivate |
Definition at line 42 of file EncodedEventId.h.
Referenced by bunchCrossing(), and EncodedEventId().
|
staticprivate |
Definition at line 46 of file EncodedEventId.h.
|
staticprivate |
Definition at line 43 of file EncodedEventId.h.
|
protected |
Definition at line 49 of file EncodedEventId.h.
Referenced by bunchCrossing(), EncodedEventId(), event(), operator!=(), operator()(), operator<(), operator==(), and rawId().