#include <EncodedEventId.h>
Definition at line 11 of file EncodedEventId.h.
◆ EncodedEventId() [1/3]
EncodedEventId::EncodedEventId |
( |
| ) |
|
Create an empty or null id (also for persistence)
Definition at line 3 of file EncodedEventId.cc.
◆ EncodedEventId() [2/3]
EncodedEventId::EncodedEventId |
( |
uint32_t |
id | ) |
|
|
explicit |
◆ EncodedEventId() [3/3]
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 funct::abs(), bunchNegMask_, bunchXStartBit_, event(), and id_.
int event() const
get the contents of the subdetector field (should be protected?)
static const unsigned int bunchXStartBit_
Abs< T >::type abs(const T &t)
static const unsigned int bunchNegMask_
◆ bunchCrossing()
int EncodedEventId::bunchCrossing |
( |
| ) |
const |
|
inline |
◆ event()
int EncodedEventId::event |
( |
| ) |
const |
|
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(), StubsSimHitsMatcher::match(), VertexClassifier::simulationInformation(), TrackClassifier::simulationInformation(), trackingParticleIsMuonInOmtfBx0(), and trackingParticleIsMuonInOmtfEvent0().
30 {
return int(
id_ & 0xFFFF); }
◆ operator!=()
◆ operator()()
uint32_t EncodedEventId::operator() |
( |
| ) |
const |
|
inline |
◆ operator<()
◆ operator==()
◆ rawId()
uint32_t EncodedEventId::rawId |
( |
| ) |
const |
|
inline |
◆ bunchNegMask_
const unsigned int EncodedEventId::bunchNegMask_ = 0x80000000 |
|
staticprivate |
◆ bunchXMask_
const unsigned int EncodedEventId::bunchXMask_ = 0x10 |
|
staticprivate |
◆ bunchXStartBit_
const unsigned int EncodedEventId::bunchXStartBit_ = 16 |
|
staticprivate |
◆ eventMask_
const unsigned int EncodedEventId::eventMask_ = 0x10 |
|
staticprivate |
◆ eventStartBit_
const unsigned int EncodedEventId::eventStartBit_ = 0 |
|
staticprivate |
◆ id_
uint32_t EncodedEventId::id_ |
|
protected |