#include <egamma.h>
Public Member Functions | |
void | clear () |
float | floatEta () const |
float | floatIso () const |
float | floatPhi () const |
float | floatPt () const |
void | initFromBits (const ap_uint< BITWIDTH > &src) |
int | intEta () const |
int | intIso () const |
int | intPhi () const |
int | intPt () const |
int | intQual () const |
bool | operator< (const EGIsoObj &other) const |
bool | operator== (const EGIsoObj &other) const |
bool | operator> (const EGIsoObj &other) const |
ap_uint< BITWIDTH > | pack () const |
l1gt::Photon | toGT () const |
Static Public Member Functions | |
static EGIsoObj | unpack (const ap_uint< BITWIDTH > &src) |
Public Attributes | |
glbeta_t | hwEta |
iso_t | hwIso |
glbphi_t | hwPhi |
pt_t | hwPt |
egquality_t | hwQual |
Static Public Attributes | |
static const int | BITWIDTH = pt_t::width + glbeta_t::width + glbphi_t::width + egquality_t::width + iso_t::width |
|
inline |
Definition at line 36 of file egamma.h.
References hwEta, hwIso, hwPhi, hwPt, and hwQual.
Referenced by l1ct::EGObjEmu::clear(), l1ct::EGIsoObjEmu::clear(), l1ct::L2EgSorterEmulator::toFirmware(), and l1ct::PFTkEGSorterBarrelEmulator::toFirmware_pho().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 23 of file egamma.h.
References l1ct::Scales::floatPt(), and hwPt.
Referenced by l1ct::EGIsoObjEmu::floatRelIso(), and l1ct::EGIsoEleObjEmu::floatRelIso().
|
inline |
Definition at line 61 of file egamma.h.
References hwEta, hwIso, hwPhi, hwPt, hwQual, TrackRefitter_38T_cff::src, and unpack_from_bits().
Referenced by L1TCtL2EgProducer::convertToEmu().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 45 of file egamma.h.
References hwEta, hwIso, hwPhi, hwPt, hwQual, pack_into_bits(), and runTheMatrix::ret.
Referenced by L1TCtL2EgProducer::encodeLayer1().
|
inline |
Definition at line 70 of file egamma.h.
References l1ct::CTtoGT_eta(), l1ct::CTtoGT_phi(), l1ct::CTtoGT_pt(), l1gt::ThreeVector::eta, hwEta, hwIso, hwPhi, hwPt, hwQual, l1gt::Photon::isolation, l1gt::ThreeVector::phi, l1gt::ThreeVector::pt, l1gt::Photon::quality, l1gt::Photon::v3, and l1gt::Photon::valid.
Referenced by L1TCtL2EgProducer::convertFromEmu().
Definition at line 55 of file egamma.h.
References runTheMatrix::ret, and TrackRefitter_38T_cff::src.
|
static |
glbeta_t l1ct::EGIsoObj::hwEta |
Definition at line 12 of file egamma.h.
Referenced by clear(), l1ct::EGIsoEleObj::clear(), l1ct::PFTkEGAlgoEmulator::deltaR2(), floatEta(), l1ct::EGIsoEleObj::hwVtxEta(), initFromBits(), l1ct::EGIsoEleObj::initFromBits(), intEta(), operator==(), l1ct::EGIsoEleObj::operator==(), pack(), l1ct::EGIsoEleObj::pack(), toGT(), and l1ct::EGIsoEleObj::toGT().
iso_t l1ct::EGIsoObj::hwIso |
Definition at line 15 of file egamma.h.
Referenced by clear(), l1ct::EGIsoEleObj::clear(), floatIso(), initFromBits(), l1ct::EGIsoEleObj::initFromBits(), intIso(), operator==(), l1ct::EGIsoEleObj::operator==(), pack(), l1ct::EGIsoEleObj::pack(), toGT(), and l1ct::EGIsoEleObj::toGT().
glbphi_t l1ct::EGIsoObj::hwPhi |
Definition at line 13 of file egamma.h.
Referenced by clear(), l1ct::EGIsoEleObj::clear(), l1ct::PFTkEGAlgoEmulator::deltaR2(), floatPhi(), l1ct::EGIsoEleObj::hwVtxPhi(), initFromBits(), l1ct::EGIsoEleObj::initFromBits(), intPhi(), operator==(), l1ct::EGIsoEleObj::operator==(), pack(), l1ct::EGIsoEleObj::pack(), toGT(), and l1ct::EGIsoEleObj::toGT().
pt_t l1ct::EGIsoObj::hwPt |
Definition at line 11 of file egamma.h.
Referenced by clear(), l1ct::EGIsoEleObj::clear(), floatPt(), initFromBits(), l1ct::EGIsoEleObj::initFromBits(), intPt(), operator<(), l1ct::EGIsoEleObj::operator<(), operator==(), l1ct::EGIsoEleObj::operator==(), operator>(), l1ct::EGIsoEleObj::operator>(), pack(), l1ct::EGIsoEleObj::pack(), toGT(), and l1ct::EGIsoEleObj::toGT().
egquality_t l1ct::EGIsoObj::hwQual |
Definition at line 14 of file egamma.h.
Referenced by clear(), l1ct::EGIsoEleObj::clear(), initFromBits(), l1ct::EGIsoEleObj::initFromBits(), intQual(), operator==(), l1ct::EGIsoEleObj::operator==(), pack(), l1ct::EGIsoEleObj::pack(), toGT(), and l1ct::EGIsoEleObj::toGT().