#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 (uint32_t id) | |
Create an id from a raw number. More... | |
EncodedEventId (int bunchX, int event) | |
Create an id, filling the bunch crossing and event infomrations. 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 24 of file EncodedEventId.h.
References bunchNegMask_, bunchXStartBit_, id_, and createfilelist::int.
Referenced by TrackingTruthAccumulator::accumulateEvent(), MultiTrackValidator::analyze(), edm::TestMix::analyze(), TrackingNtuple::analyze(), VertexAssociatorByPositionAndTracks::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), SiPixelRecHitsValid::fillBarrel(), SiPixelRecHitsValid::fillForward(), TrackingTruthAccumulator::fillSimHits(), TrackingNtuple::fillTrackingVertices(), MultiTrackValidator::getRecoPVPosition(), DTHitAssociator::initEvent(), TrackingParticleSelector::operator()(), operator<<(), SiStripRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), VertexClassifier::simulationInformation(), TrackClassifier::simulationInformation(), and MultiTrackValidator::tpParametersAndSelection().
|
inline |
get the contents of the subdetector field (should be protected?)
Definition at line 26 of file EncodedEventId.h.
References id_, and createfilelist::int.
Referenced by TrackingTruthAccumulator::accumulateEvent(), MultiTrackValidator::analyze(), edm::TestMix::analyze(), VertexAssociatorByPositionAndTracks::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), EncodedEventId(), SiPixelRecHitsValid::fillBarrel(), SiPixelRecHitsValid::fillForward(), PrimaryVertexAnalyzer4PUSlimmed::fillGenericGenVertexHistograms(), TrackingTruthAccumulator::fillSimHits(), TrackingNtuple::fillTrackingVertices(), MultiTrackValidator::getRecoPVPosition(), DTHitAssociator::initEvent(), TrackingParticleSelector::operator()(), operator<<(), SiStripRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), VertexClassifier::simulationInformation(), and TrackClassifier::simulationInformation().
|
inline |
|
inline |
|
inline |
|
inline |
equality
Definition at line 31 of file EncodedEventId.h.
References id_.
Referenced by EncodedTruthId::operator==().
|
inline |
get the raw id
Definition at line 29 of file EncodedEventId.h.
References id_.
Referenced by operator<<().
|
staticprivate |
Definition at line 40 of file EncodedEventId.h.
Referenced by bunchCrossing(), and EncodedEventId().
|
staticprivate |
Definition at line 39 of file EncodedEventId.h.
|
staticprivate |
Definition at line 37 of file EncodedEventId.h.
Referenced by bunchCrossing(), and EncodedEventId().
|
staticprivate |
Definition at line 41 of file EncodedEventId.h.
|
staticprivate |
Definition at line 38 of file EncodedEventId.h.
|
protected |
Definition at line 43 of file EncodedEventId.h.
Referenced by bunchCrossing(), EncodedEventId(), event(), operator!=(), operator()(), operator<(), operator==(), and rawId().