#include <EncodedEventId.h>
Definition at line 11 of file EncodedEventId.h.
EncodedEventId::EncodedEventId |
( |
| ) |
|
Create an empty or null id (also for persistence)
Definition at line 3 of file EncodedEventId.cc.
EncodedEventId::EncodedEventId |
( |
uint32_t |
id | ) |
|
|
explicit |
EncodedEventId::EncodedEventId |
( |
int |
bunchX, |
|
|
int |
event |
|
) |
| |
|
inline |
Create an id, filling the bunch crossing and event infomrations.
Definition at line 18 of file EncodedEventId.h.
References bunchNegMask_, bunchXStartBit_, event(), and id_.
int event() const
get the contents of the subdetector field (should be protected?)
static const unsigned int bunchXStartBit_
static const unsigned int bunchNegMask_
int EncodedEventId::bunchCrossing |
( |
| ) |
const |
|
inline |
get the detector field from this detid
Definition at line 24 of file EncodedEventId.h.
References bunchNegMask_, bunchXStartBit_, and id_.
Referenced by TrackingTruthAccumulator::accumulateEvent(), MultiTrackValidator::analyze(), TrackerSeedValidator::analyze(), edm::TestMix::analyze(), DTHitAssociator::DTHitAssociator(), PrimaryVertexAnalyzer4PU::getSimEvents(), TrackingParticleSelector::operator()(), operator<<(), PileupInformation::produce(), VertexClassifier::simulationInformation(), and TrackClassifier::simulationInformation().
static const unsigned int bunchXStartBit_
static const unsigned int bunchNegMask_
int EncodedEventId::event |
( |
| ) |
const |
|
inline |
get the contents of the subdetector field (should be protected?)
Definition at line 26 of file EncodedEventId.h.
References id_.
Referenced by TrackingTruthAccumulator::accumulateEvent(), MultiTrackValidator::analyze(), TrackerSeedValidator::analyze(), edm::TestMix::analyze(), DTHitAssociator::DTHitAssociator(), EncodedEventId(), PrimaryVertexAnalyzer4PU::getSimEvents(), TrackingParticleSelector::operator()(), operator<<(), VertexClassifier::simulationInformation(), and TrackClassifier::simulationInformation().
26 {
return int(
id_ & 0xFFFF); }
uint32_t EncodedEventId::operator() |
( |
| ) |
|
|
inline |
uint32_t EncodedEventId::rawId |
( |
| ) |
const |
|
inline |
const unsigned int EncodedEventId::bunchNegMask_ = 0x80000000 |
|
staticprivate |
const unsigned int EncodedEventId::bunchXMask_ = 0x10 |
|
staticprivate |
const unsigned int EncodedEventId::bunchXStartBit_ = 16 |
|
staticprivate |
const unsigned int EncodedEventId::eventMask_ = 0x10 |
|
staticprivate |
const unsigned int EncodedEventId::eventStartBit_ = 0 |
|
staticprivate |
uint32_t EncodedEventId::id_ |
|
protected |