#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 13 of file TkJetWord.h.
typedef ap_int<kGlbEtaSize> l1t::TkJetWord::glbeta_t |
Definition at line 52 of file TkJetWord.h.
typedef ap_int<kGlbPhiSize> l1t::TkJetWord::glbphi_t |
Definition at line 53 of file TkJetWord.h.
typedef ap_uint<kNtSize> l1t::TkJetWord::nt_t |
Definition at line 55 of file TkJetWord.h.
typedef ap_uint<kXtSize> l1t::TkJetWord::nx_t |
Definition at line 56 of file TkJetWord.h.
typedef ap_ufixed<kPtSize, kPtMagSize, AP_TRN, AP_SAT> l1t::TkJetWord::pt_t |
Definition at line 51 of file TkJetWord.h.
typedef ap_uint<TkJetBitWidths::kUnassignedSize> l1t::TkJetWord::tkjetunassigned_t |
Definition at line 57 of file TkJetWord.h.
typedef std::bitset<TkJetBitWidths::kTkJetWordSize> l1t::TkJetWord::tkjetword_bs_t |
Definition at line 58 of file TkJetWord.h.
typedef ap_uint<TkJetBitWidths::kTkJetWordSize> l1t::TkJetWord::tkjetword_t |
Definition at line 59 of file TkJetWord.h.
typedef ap_int<kZ0Size> l1t::TkJetWord::z0_t |
Definition at line 54 of file TkJetWord.h.
Enumerator | |
---|---|
kPtLSB | |
kPtMSB | |
kGlbEtaLSB | |
kGlbEtaMSB | |
kGlbPhiLSB | |
kGlbPhiMSB | |
kZ0LSB | |
kZ0MSB | |
kNtLSB | |
kNtMSB | |
kXtLSB | |
kXtMSB | |
kUnassignedLSB | |
kUnassignedMSB |
Definition at line 34 of file TkJetWord.h.
Enumerator | |
---|---|
kPtSize | |
kPtMagSize | |
kGlbEtaSize | |
kGlbPhiSize | |
kZ0Size | |
kNtSize | |
kXtSize | |
kUnassignedSize | |
kTkJetWordSize |
Definition at line 22 of file TkJetWord.h.
|
inline |
Definition at line 63 of file TkJetWord.h.
|
inline |
Definition at line 64 of file TkJetWord.h.
References PVValHelper::eta, nt(), pt(), AlCaHLTBitMon_QueryRunRegistry::string, tkJetWord_, createJobs::tmp, unassigned(), and z0().
|
inline |
Definition at line 87 of file TkJetWord.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 105 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by glbeta(), and glbEtaBits().
|
inline |
|
inline |
|
inline |
Definition at line 110 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by glbphi(), and glbPhiBits().
|
inline |
|
inline |
|
inline |
Definition at line 120 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by nt(), and ntBits().
|
inline |
Definition at line 147 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(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), Jet.Jet::setCorrP4(), and TkJetWord().
|
inline |
|
inline |
Definition at line 100 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 | ||
) |
|
inline |
Definition at line 133 of file TkJetWord.h.
References tkJetWord_.
Referenced by glbEtaWord(), glbPhiWord(), ntWord(), ptWord(), unassignedWord(), xtWord(), and z0Word().
|
inline |
|
inline |
|
inline |
Definition at line 130 of file TkJetWord.h.
References tkJetWord().
Referenced by unassigned(), and unassignedBits().
|
inlineprivate |
Definition at line 160 of file TkJetWord.h.
References gpuClustering::pixelStatus::bits, and hgcalVFEProducer_cfi::lsb.
|
inline |
|
inline |
|
inline |
Definition at line 125 of file TkJetWord.h.
References runTheMatrix::ret, and tkJetWord().
Referenced by xt(), and xtBits().
|
inline |
Definition at line 150 of file TkJetWord.h.
References Z0_LSB, and z0Word().
Referenced by TkJetWord().
|
inline |
|
inline |
Definition at line 115 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 19 of file TkJetWord.h.
int l1t::TkJetWord::INTPHI_PI = 720 |
Definition at line 16 of file TkJetWord.h.
int l1t::TkJetWord::INTPHI_TWOPI = 2 * INTPHI_PI |
Definition at line 17 of file TkJetWord.h.
float l1t::TkJetWord::INTPT_LSB = 1 >> 5 |
Definition at line 18 of file TkJetWord.h.
|
private |
Definition at line 171 of file TkJetWord.h.
Referenced by operator=(), TkJetWord(), and tkJetWord().
float l1t::TkJetWord::Z0_LSB = 0.05 |
Definition at line 20 of file TkJetWord.h.
Referenced by z0().