#include <layer1_emulator.h>
Public Types | |
enum | IsoType { TkIso = 0, PfIso = 1, TkIsoPV = 2, PfIsoPV = 3, PuppiIso = 4, PuppiIsoPV = 5 } |
Public Member Functions | |
void | clear () |
void | clearIsoVars () |
float | floatIso () const |
float | floatIso (IsoType type) const |
float | floatRelIso (IsoType type) const |
float | hwIsoVar (IsoType type) const |
bool | read (std::fstream &from) |
void | setHwIso (IsoType type, iso_t value) |
bool | write (std::fstream &to) const |
Public Member Functions inherited from l1ct::EGIsoObj | |
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 |
Public Attributes | |
iso_t | hwIsoVars [6] |
const l1t::PFCluster * | srcCluster |
int | sta_idx |
Public Attributes inherited from l1ct::EGIsoObj | |
glbeta_t | hwEta |
iso_t | hwIso |
glbphi_t | hwPhi |
pt_t | hwPt |
egquality_t | hwQual |
Additional Inherited Members | |
Static Public Member Functions inherited from l1ct::EGIsoObj | |
static EGIsoObj | unpack (const ap_uint< BITWIDTH > &src) |
Static Public Attributes inherited from l1ct::EGIsoObj | |
static const int | BITWIDTH = pt_t::width + glbeta_t::width + glbphi_t::width + egquality_t::width + iso_t::width |
Definition at line 159 of file layer1_emulator.h.
Enumerator | |
---|---|
TkIso | |
PfIso | |
TkIsoPV | |
PfIsoPV | |
PuppiIso | |
PuppiIsoPV |
Definition at line 183 of file layer1_emulator.h.
|
inline |
Definition at line 165 of file layer1_emulator.h.
References l1ct::EGIsoObj::clear(), clearIsoVars(), srcCluster, and sta_idx.
|
inline |
|
inline |
Definition at line 185 of file layer1_emulator.h.
References l1ct::Scales::floatIso(), and hwIsoVars.
|
inline |
Definition at line 186 of file layer1_emulator.h.
References l1ct::Scales::floatIso(), l1ct::EGIsoObj::floatPt(), and hwIsoVars.
Referenced by L1TCtL2EgProducer::convertFromEmu().
|
inline |
bool l1ct::EGIsoObjEmu::read | ( | std::fstream & | from | ) |
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
Definition at line 188 of file layer1_emulator.h.
References hwIsoVars, and relativeConstraints::value.
Referenced by L1TCtL2EgProducer::convertToEmu().
bool l1ct::EGIsoObjEmu::write | ( | std::fstream & | to | ) | const |
Referenced by pkg.AbstractPkg::generate().
iso_t l1ct::EGIsoObjEmu::hwIsoVars[6] |
Definition at line 190 of file layer1_emulator.h.
Referenced by clearIsoVars(), floatIso(), floatRelIso(), hwIsoVar(), and setHwIso().
const l1t::PFCluster* l1ct::EGIsoObjEmu::srcCluster |
Definition at line 160 of file layer1_emulator.h.
Referenced by clear(), and L1TCtL2EgProducer::convertToEmu().
int l1ct::EGIsoObjEmu::sta_idx |
Definition at line 162 of file layer1_emulator.h.
Referenced by clear(), L1TCtL2EgProducer::convertFromEmu(), and L1TCtL2EgProducer::convertToEmu().