#include <TkJetWord.h>
Public Types | |
typedef ap_int< kGlbEtaSize > | glbeta_t |
typedef ap_int< kGlbPhiSize > | glbphi_t |
typedef ap_uint< kNtSize > | nt_t |
typedef ap_uint< kXtSize > | nx_t |
typedef ap_ufixed< kPtSize, kPtMagSize, AP_TRN, AP_SAT > | pt_t |
enum | TkJetBitLocations { kPtLSB = 0, kPtMSB = kPtLSB + TkJetBitWidths::kPtSize - 1, kGlbEtaLSB = kPtMSB + 1, kGlbEtaMSB = kGlbEtaLSB + TkJetBitWidths::kGlbEtaSize - 1, kGlbPhiLSB = kGlbEtaMSB + 1, kGlbPhiMSB = kGlbPhiLSB + TkJetBitWidths::kGlbPhiSize - 1, kZ0LSB = kGlbPhiMSB + 1, kZ0MSB = kZ0LSB + TkJetBitWidths::kZ0Size - 1, kNtLSB = kZ0MSB + 1, kNtMSB = kNtLSB + TkJetBitWidths::kNtSize - 1, kXtLSB = kNtMSB + 1, kXtMSB = kXtLSB + TkJetBitWidths::kXtSize - 1, kUnassignedLSB = kXtMSB + 1, kUnassignedMSB = kUnassignedLSB + TkJetBitWidths::kUnassignedSize - 1 } |
enum | TkJetBitWidths { kPtSize = 16, kPtMagSize = 11, kGlbEtaSize = 14, kGlbPhiSize = 13, kZ0Size = 10, kNtSize = 5, kXtSize = 4, kUnassignedSize = 8, kTkJetWordSize = kPtSize + kGlbEtaSize + kGlbPhiSize + kZ0Size + kNtSize + kXtSize + kUnassignedSize } |
typedef ap_uint< TkJetBitWidths::kUnassignedSize > | tkjetunassigned_t |
typedef std::bitset< TkJetBitWidths::kTkJetWordSize > | tkjetword_bs_t |
typedef ap_uint< TkJetBitWidths::kTkJetWordSize > | tkjetword_t |
typedef ap_int< kZ0Size > | z0_t |
Public Member Functions | |
float | glbeta () const |
unsigned int | glbEtaBits () const |
glbeta_t | glbEtaWord () const |
float | glbphi () const |
unsigned int | glbPhiBits () const |
glbphi_t | glbPhiWord () const |
int | nt () const |
unsigned int | ntBits () const |
nt_t | ntWord () const |
TkJetWord & | operator= (const TkJetWord &word) |
float | pt () const |
unsigned int | ptBits () const |
pt_t | ptWord () const |
void | setTkJetWord (pt_t pt, glbeta_t eta, glbphi_t phi, z0_t z0, nt_t nt, nx_t nx, tkjetunassigned_t unassigned) |
TkJetWord () | |
TkJetWord (pt_t pt, glbeta_t eta, glbphi_t phi, z0_t z0, nt_t nt, nx_t nx, tkjetunassigned_t unassigned) | |
TkJetWord (const TkJetWord &word) | |
tkjetword_t | tkJetWord () const |
unsigned int | unassigned () const |
unsigned int | unassignedBits () const |
tkjetunassigned_t | unassignedWord () const |
int | xt () const |
unsigned int | xtBits () const |
nx_t | xtWord () const |
float | z0 () const |
unsigned int | z0Bits () const |
z0_t | z0Word () const |
~TkJetWord () | |
Public Attributes | |
float | ETAPHI_LSB = M_PI / (1 << 12) |
int | INTPHI_PI = 720 |
int | INTPHI_TWOPI = 2 * INTPHI_PI |
float | INTPT_LSB = 1 >> 5 |
float | Z0_LSB = 0.05 |
Private Member Functions | |
double | unpackSignedValue (unsigned int bits, unsigned int nBits, double lsb) const |
Private Attributes | |
tkjetword_bs_t | tkJetWord_ |
Definition at line 16 of file TkJetWord.h.
typedef ap_int<kGlbEtaSize> l1t::TkJetWord::glbeta_t |
Definition at line 55 of file TkJetWord.h.
typedef ap_int<kGlbPhiSize> l1t::TkJetWord::glbphi_t |
Definition at line 56 of file TkJetWord.h.
typedef ap_uint<kNtSize> l1t::TkJetWord::nt_t |
Definition at line 58 of file TkJetWord.h.
typedef ap_uint<kXtSize> l1t::TkJetWord::nx_t |
Definition at line 59 of file TkJetWord.h.
typedef ap_ufixed<kPtSize, kPtMagSize, AP_TRN, AP_SAT> l1t::TkJetWord::pt_t |
Definition at line 54 of file TkJetWord.h.
typedef ap_uint<TkJetBitWidths::kUnassignedSize> l1t::TkJetWord::tkjetunassigned_t |
Definition at line 60 of file TkJetWord.h.
typedef std::bitset<TkJetBitWidths::kTkJetWordSize> l1t::TkJetWord::tkjetword_bs_t |
Definition at line 61 of file TkJetWord.h.
typedef ap_uint<TkJetBitWidths::kTkJetWordSize> l1t::TkJetWord::tkjetword_t |
Definition at line 62 of file TkJetWord.h.
typedef ap_int<kZ0Size> l1t::TkJetWord::z0_t |
Definition at line 57 of file TkJetWord.h.
Enumerator | |
---|---|
kPtLSB | |
kPtMSB | |
kGlbEtaLSB | |
kGlbEtaMSB | |
kGlbPhiLSB | |
kGlbPhiMSB | |
kZ0LSB | |
kZ0MSB | |
kNtLSB | |
kNtMSB | |
kXtLSB | |
kXtMSB | |
kUnassignedLSB | |
kUnassignedMSB |
Definition at line 37 of file TkJetWord.h.
Enumerator | |
---|---|
kPtSize | |
kPtMagSize | |
kGlbEtaSize | |
kGlbPhiSize | |
kZ0Size | |
kNtSize | |
kXtSize | |
kUnassignedSize | |
kTkJetWordSize |
Definition at line 25 of file TkJetWord.h.
|
inline |
Definition at line 66 of file TkJetWord.h.
l1t::TkJetWord::TkJetWord | ( | pt_t | pt, |
glbeta_t | eta, | ||
glbphi_t | phi, | ||
z0_t | z0, | ||
nt_t | nt, | ||
nx_t | nx, | ||
tkjetunassigned_t | unassigned | ||
) |
Definition at line 7 of file TkJetWord.cc.
References PVValHelper::eta, nt(), pt(), setTkJetWord(), unassigned(), and z0().
|
inline |
Definition at line 69 of file TkJetWord.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 87 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by glbeta(), and glbEtaBits().
|
inline |
|
inline |
|
inline |
Definition at line 92 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by glbphi(), and glbPhiBits().
|
inline |
Definition at line 133 of file TkJetWord.h.
References ntWord().
Referenced by setTkJetWord(), and TkJetWord().
|
inline |
|
inline |
Definition at line 102 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by nt(), and ntBits().
|
inline |
Definition at line 129 of file TkJetWord.h.
References ptWord().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), datamodel.Object::p4(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), Jet.Jet::setCorrP4(), setTkJetWord(), and TkJetWord().
|
inline |
|
inline |
Definition at line 82 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by pt(), and ptBits().
void l1t::TkJetWord::setTkJetWord | ( | pt_t | pt, |
glbeta_t | eta, | ||
glbphi_t | phi, | ||
z0_t | z0, | ||
nt_t | nt, | ||
nx_t | nx, | ||
tkjetunassigned_t | unassigned | ||
) |
Definition at line 11 of file TkJetWord.cc.
References b, PVValHelper::eta, l1tmhtemu::kUnassignedSize, nt(), hltrates_dqm_sourceclient-live_cfg::offset, pt(), tkJetWord_, unassigned(), and z0().
Referenced by TkJetWord().
|
inline |
Definition at line 115 of file TkJetWord.h.
References tkJetWord_.
Referenced by glbEtaWord(), glbPhiWord(), ntWord(), ptWord(), unassignedWord(), xtWord(), and z0Word().
|
inline |
Definition at line 135 of file TkJetWord.h.
References unassignedWord().
Referenced by setTkJetWord(), and TkJetWord().
|
inline |
|
inline |
Definition at line 112 of file TkJetWord.h.
References l1tmhtemu::kUnassignedLSB, l1tmhtemu::kUnassignedMSB, and tkJetWord().
Referenced by unassigned(), and unassignedBits().
|
inlineprivate |
Definition at line 142 of file TkJetWord.h.
References gpuClustering::pixelStatus::bits, and l1tHGCalVFEProducer_cfi::lsb.
|
inline |
|
inline |
|
inline |
Definition at line 107 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by xt(), and xtBits().
|
inline |
Definition at line 132 of file TkJetWord.h.
References Z0_LSB, and z0Word().
Referenced by setTkJetWord(), and TkJetWord().
|
inline |
|
inline |
Definition at line 97 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by z0(), and z0Bits().
float l1t::TkJetWord::ETAPHI_LSB = M_PI / (1 << 12) |
Definition at line 22 of file TkJetWord.h.
int l1t::TkJetWord::INTPHI_PI = 720 |
Definition at line 19 of file TkJetWord.h.
int l1t::TkJetWord::INTPHI_TWOPI = 2 * INTPHI_PI |
Definition at line 20 of file TkJetWord.h.
float l1t::TkJetWord::INTPT_LSB = 1 >> 5 |
Definition at line 21 of file TkJetWord.h.
|
private |
Definition at line 153 of file TkJetWord.h.
Referenced by operator=(), setTkJetWord(), TkJetWord(), and tkJetWord().
float l1t::TkJetWord::Z0_LSB = 0.05 |
Definition at line 23 of file TkJetWord.h.
Referenced by z0().