#include <VertexWord.h>
Public Types | |
enum | VertexBitLocations { kValidLSB = 0, kValidMSB = kValidLSB + VertexBitWidths::kValidSize - 1, kZ0LSB = kValidMSB + 1, kZ0MSB = kZ0LSB + VertexBitWidths::kZ0Size - 1, kNTrackInPVLSB = kZ0MSB + 1, kNTrackInPVMSB = kNTrackInPVLSB + VertexBitWidths::kNTrackInPVSize - 1, kSumPtLSB = kNTrackInPVMSB + 1, kSumPtMSB = kSumPtLSB + VertexBitWidths::kSumPtSize - 1, kQualityLSB = kSumPtMSB + 1, kQualityMSB = kQualityLSB + VertexBitWidths::kQualitySize - 1, kNTrackOutPVLSB = kQualityMSB + 1, kNTrackOutPVMSB = kNTrackOutPVLSB + VertexBitWidths::kNTrackOutPVSize - 1, kUnassignedLSB = kNTrackOutPVMSB + 1, kUnassignedMSB = kUnassignedLSB + VertexBitWidths::kUnassignedSize - 1 } |
enum | VertexBitWidths { kValidSize = 1, kZ0Size = 15, kZ0MagSize = 6, kNTrackInPVSize = 8, kSumPtSize = 10, kSumPtMagSize = 8, kQualitySize = 3, kNTrackOutPVSize = 10, kUnassignedSize = 17, kVertexWordSize } |
typedef edm::Ref< l1t::VertexCollection > | VertexRef |
typedef ap_ufixed< VertexBitWidths::kNTrackOutPVSize, VertexBitWidths::kNTrackOutPVSize, AP_RND_CONV, AP_SAT > | vtxinversemult_t |
typedef ap_ufixed< VertexBitWidths::kNTrackInPVSize, VertexBitWidths::kNTrackInPVSize, AP_RND_CONV, AP_SAT > | vtxmultiplicity_t |
typedef ap_uint< VertexBitWidths::kQualitySize > | vtxquality_t |
typedef ap_ufixed< VertexBitWidths::kSumPtSize, VertexBitWidths::kSumPtMagSize, AP_RND_CONV, AP_SAT > | vtxsumpt_t |
typedef ap_uint< VertexBitWidths::kUnassignedSize > | vtxunassigned_t |
typedef ap_uint< VertexBitWidths::kValidSize > | vtxvalid_t |
typedef std::bitset< VertexBitWidths::kVertexWordSize > | vtxword_bs_t |
typedef ap_uint< VertexBitWidths::kVertexWordSize > | vtxword_t |
typedef ap_fixed< VertexBitWidths::kZ0Size, VertexBitWidths::kZ0MagSize, AP_RND_CONV, AP_SAT > | vtxz0_t |
Private Member Functions | |
double | unpackSignedValue (unsigned int bits, unsigned int nBits, double lsb) const |
Private Attributes | |
VertexRef | vertexRef_ |
vtxword_bs_t | vertexWord_ |
Definition at line 24 of file VertexWord.h.
Definition at line 78 of file VertexWord.h.
typedef ap_ufixed<VertexBitWidths::kNTrackOutPVSize, VertexBitWidths::kNTrackOutPVSize, AP_RND_CONV, AP_SAT> l1t::VertexWord::vtxinversemult_t |
Definition at line 70 of file VertexWord.h.
typedef ap_ufixed<VertexBitWidths::kNTrackInPVSize, VertexBitWidths::kNTrackInPVSize, AP_RND_CONV, AP_SAT> l1t::VertexWord::vtxmultiplicity_t |
Definition at line 65 of file VertexWord.h.
typedef ap_uint<VertexBitWidths::kQualitySize> l1t::VertexWord::vtxquality_t |
Definition at line 68 of file VertexWord.h.
typedef ap_ufixed<VertexBitWidths::kSumPtSize, VertexBitWidths::kSumPtMagSize, AP_RND_CONV, AP_SAT> l1t::VertexWord::vtxsumpt_t |
Definition at line 67 of file VertexWord.h.
typedef ap_uint<VertexBitWidths::kUnassignedSize> l1t::VertexWord::vtxunassigned_t |
Definition at line 71 of file VertexWord.h.
typedef ap_uint<VertexBitWidths::kValidSize> l1t::VertexWord::vtxvalid_t |
Definition at line 62 of file VertexWord.h.
typedef std::bitset<VertexBitWidths::kVertexWordSize> l1t::VertexWord::vtxword_bs_t |
Definition at line 74 of file VertexWord.h.
typedef ap_uint<VertexBitWidths::kVertexWordSize> l1t::VertexWord::vtxword_t |
Definition at line 75 of file VertexWord.h.
typedef ap_fixed<VertexBitWidths::kZ0Size, VertexBitWidths::kZ0MagSize, AP_RND_CONV, AP_SAT> l1t::VertexWord::vtxz0_t |
Definition at line 63 of file VertexWord.h.
Enumerator | |
---|---|
kValidLSB | |
kValidMSB | |
kZ0LSB | |
kZ0MSB | |
kNTrackInPVLSB | |
kNTrackInPVMSB | |
kSumPtLSB | |
kSumPtMSB | |
kQualityLSB | |
kQualityMSB | |
kNTrackOutPVLSB | |
kNTrackOutPVMSB | |
kUnassignedLSB | |
kUnassignedMSB |
Definition at line 43 of file VertexWord.h.
Enumerator | |
---|---|
kValidSize | |
kZ0Size | |
kZ0MagSize | |
kNTrackInPVSize | |
kSumPtSize | |
kSumPtMagSize | |
kQualitySize | |
kNTrackOutPVSize | |
kUnassignedSize | |
kVertexWordSize |
Definition at line 27 of file VertexWord.h.
|
inline |
Definition at line 82 of file VertexWord.h.
l1t::VertexWord::VertexWord | ( | unsigned int | valid, |
double | z0, | ||
unsigned int | multiplicity, | ||
double | pt, | ||
unsigned int | quality, | ||
unsigned int | inverseMultiplicity, | ||
unsigned int | unassigned | ||
) |
Definition at line 15 of file VertexWord.cc.
References inverseMultiplicity(), multiplicity(), pt(), quality(), setVertexWord(), unassigned(), valid(), and z0().
l1t::VertexWord::VertexWord | ( | unsigned int | valid, |
unsigned int | z0, | ||
unsigned int | multiplicity, | ||
unsigned int | pt, | ||
unsigned int | quality, | ||
unsigned int | inverseMultiplicity, | ||
unsigned int | unassigned | ||
) |
Definition at line 34 of file VertexWord.cc.
References inverseMultiplicity(), multiplicity(), quality(), setVertexWord(), unassigned(), unpackSignedValue(), valid(), and z0().
l1t::VertexWord::VertexWord | ( | vtxvalid_t | valid, |
vtxz0_t | z0, | ||
vtxmultiplicity_t | multiplicity, | ||
vtxsumpt_t | pt, | ||
vtxquality_t | quality, | ||
vtxinversemult_t | inverseMultiplicity, | ||
vtxunassigned_t | unassigned | ||
) |
Definition at line 55 of file VertexWord.cc.
References inverseMultiplicity(), multiplicity(), pt(), quality(), setVertexWord(), unassigned(), valid(), and z0().
|
inline |
Definition at line 105 of file VertexWord.h.
|
inline |
|
inline |
Definition at line 160 of file VertexWord.h.
References inverseMultiplicityWord().
Referenced by setVertexWord(), and VertexWord().
|
inline |
Definition at line 150 of file VertexWord.h.
References inverseMultiplicityWord().
|
inline |
Definition at line 135 of file VertexWord.h.
References vertexWord().
Referenced by inverseMultiplicity(), and inverseMultiplicityBits().
|
inline |
Definition at line 157 of file VertexWord.h.
References multiplicityWord().
Referenced by setVertexWord(), and VertexWord().
|
inline |
Definition at line 147 of file VertexWord.h.
References multiplicityWord().
|
inline |
Definition at line 124 of file VertexWord.h.
References vertexWord().
Referenced by multiplicity(), and multiplicityBits().
|
inline |
|
inline |
Definition at line 158 of file VertexWord.h.
References ptWord().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), l1tVertexFinder::VertexFinder::findPrimaryVertex(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), Jet.Jet::setCorrP4(), setVertexWord(), l1tVertexFinder::VertexFinder::sortVerticesInPt(), and VertexWord().
|
inline |
|
inline |
Definition at line 127 of file VertexWord.h.
References runTheMatrix::ret, and vertexWord().
Referenced by pt(), and ptBits().
|
inline |
Definition at line 159 of file VertexWord.h.
References qualityWord().
Referenced by setVertexWord(), and VertexWord().
|
inline |
|
inline |
Definition at line 132 of file VertexWord.h.
References vertexWord().
Referenced by quality(), and qualityBits().
|
inline |
void l1t::VertexWord::setVertexWord | ( | vtxvalid_t | valid, |
vtxz0_t | z0, | ||
vtxmultiplicity_t | multiplicity, | ||
vtxsumpt_t | pt, | ||
vtxquality_t | quality, | ||
vtxinversemult_t | inverseMultiplicity, | ||
vtxunassigned_t | unassigned | ||
) |
Definition at line 65 of file VertexWord.cc.
References b, inverseMultiplicity(), l1tmhtemu::kUnassignedSize, l1tmhtemu::kValidSize, multiplicity(), hltrates_dqm_sourceclient-live_cfg::offset, pt(), quality(), unassigned(), valid(), vertexWord_, and z0().
Referenced by VertexWord().
|
inline |
Definition at line 161 of file VertexWord.h.
References unassignedWord().
Referenced by setVertexWord(), and VertexWord().
|
inline |
|
inline |
Definition at line 138 of file VertexWord.h.
References l1tmhtemu::kUnassignedLSB, l1tmhtemu::kUnassignedMSB, and vertexWord().
Referenced by unassigned(), and unassignedBits().
|
inlineprivate |
Definition at line 180 of file VertexWord.h.
References gpuClustering::pixelStatus::bits, and l1tHGCalVFEProducer_cfi::lsb.
Referenced by VertexWord().
|
inline |
Definition at line 155 of file VertexWord.h.
References validWord().
Referenced by setVertexWord(), and VertexWord().
|
inline |
|
inline |
Definition at line 118 of file VertexWord.h.
References l1tmhtemu::kValidLSB, l1tmhtemu::kValidMSB, and vertexWord().
Referenced by valid(), and validBits().
|
inline |
|
inline |
Definition at line 141 of file VertexWord.h.
References vertexWord_.
Referenced by inverseMultiplicityWord(), multiplicityWord(), L1TCorrelatorLayer1Producer::produce(), ptWord(), qualityWord(), unassignedWord(), validWord(), and z0Word().
|
inline |
Definition at line 156 of file VertexWord.h.
References z0Word().
Referenced by L1TCorrelatorLayer1Producer::produce(), L1TrackSelectionProducer::produce(), setVertexWord(), l1tVertexFinder::VertexFinder::sortVerticesInZ0(), and VertexWord().
|
inline |
|
inline |
Definition at line 119 of file VertexWord.h.
References runTheMatrix::ret, and vertexWord().
Referenced by z0(), and z0Bits().
|
private |
Definition at line 192 of file VertexWord.h.
Referenced by setVertexRef(), and vertexRef().
|
private |
Definition at line 191 of file VertexWord.h.
Referenced by operator=(), setVertexWord(), VertexWord(), and vertexWord().