#include <layer1_emulator.h>
Public Member Functions | |
void | clear () |
void | fill (const PFRegionEmu ®ion, const PFChargedObjEmu &src) |
void | fill (const PFRegionEmu ®ion, const PFNeutralObjEmu &src, pt_t puppiPt, puppiWgt_t puppiWgt) |
void | fill (const PFRegionEmu ®ion, const HadCaloObjEmu &src, pt_t puppiPt, puppiWgt_t puppiWgt) |
bool | read (std::fstream &from) |
bool | write (std::fstream &to) const |
Public Member Functions inherited from l1ct::PuppiObj | |
void | clear () |
void | fill (const PFRegion ®ion, const PFChargedObj &src) |
void | fill (const PFRegion ®ion, const PFNeutralObj &src, pt_t puppiPt, puppiWgt_t puppiWgt) |
void | fill (const PFRegion ®ion, const HadCaloObj &src, pt_t puppiPt, puppiWgt_t puppiWgt) |
float | floatDxy () const |
float | floatEta () const |
float | floatPhi () const |
float | floatPt () const |
float | floatPuppiW () const |
float | floatZ0 () const |
dxy_t | hwDxy () const |
puppiWgt_t | hwEmID () const |
puppiWgt_t | hwPuppiW () const |
tkquality_t | hwTkQuality () const |
z0_t | hwZ0 () const |
void | initFromBits (const ap_uint< BITWIDTH > &src) |
int | intCharge () const |
int | intEta () const |
int | intId () const |
int | intPhi () const |
int | intPt () const |
int | oldId () const |
bool | operator< (const PuppiObj &other) const |
bool | operator== (const PuppiObj &other) const |
bool | operator> (const PuppiObj &other) const |
ap_uint< BITWIDTH > | pack () const |
int | pdgId () const |
void | setHwDxy (dxy_t dxy) |
void | setHwEmID (emid_t w) |
void | setHwPuppiW (puppiWgt_t w) |
void | setHwTkQuality (tkquality_t qual) |
void | setHwZ0 (z0_t z0) |
Public Attributes | |
const l1t::PFCandidate * | srcCand = nullptr |
const l1t::PFCluster * | srcCluster = nullptr |
const l1t::SAMuon * | srcMu = nullptr |
const l1t::PFTrack * | srcTrack = nullptr |
Public Attributes inherited from l1ct::PuppiObj | |
ap_uint< DATA_BITS_TOTAL > | hwData |
glbeta_t | hwEta |
ParticleID | hwId |
glbphi_t | hwPhi |
pt_t | hwPt |
Additional Inherited Members | |
Static Public Member Functions inherited from l1ct::PuppiObj | |
static PuppiObj | unpack (const ap_uint< BITWIDTH > &src) |
Static Public Attributes inherited from l1ct::PuppiObj | |
static const int | BITS_DXY_START = BITS_Z0_START + z0_t::width |
static const int | BITS_EMID_START = BITS_PUPPIW_START + puppiWgt_t::width |
static const int | BITS_PUPPIW_START = 0 |
static const int | BITS_TKQUAL_START = BITS_DXY_START + dxy_t::width |
static const int | BITS_Z0_START = 0 |
static const int | BITWIDTH = pt_t::width + glbeta_t::width + glbphi_t::width + 3 + DATA_BITS_TOTAL |
static const int | DATA_BITS_TOTAL |
static const int | DATA_CHARGED_BITS_TOTAL = BITS_TKQUAL_START + tkquality_t::width |
static const int | DATA_NEUTRAL_BITS_TOTAL = BITS_EMID_START + emid_t::width |
Definition at line 115 of file layer1_emulator.h.
|
inline |
Definition at line 122 of file layer1_emulator.h.
References l1ct::PuppiObj::clear(), srcCand, srcCluster, srcMu, and srcTrack.
|
inline |
Definition at line 129 of file layer1_emulator.h.
References l1ct::PuppiObj::fill(), HLT_2023v12_cff::region, TrackRefitter_38T_cff::src, srcCand, srcCluster, srcMu, and srcTrack.
|
inline |
Definition at line 136 of file layer1_emulator.h.
References l1ct::PuppiObj::fill(), HLT_2023v12_cff::region, TrackRefitter_38T_cff::src, srcCand, srcCluster, srcMu, and srcTrack.
|
inline |
Definition at line 143 of file layer1_emulator.h.
References l1ct::PuppiObj::fill(), HLT_2023v12_cff::region, TrackRefitter_38T_cff::src, srcCand, srcCluster, srcMu, and srcTrack.
bool l1ct::PuppiObjEmu::read | ( | std::fstream & | from | ) |
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
bool l1ct::PuppiObjEmu::write | ( | std::fstream & | to | ) | const |
Referenced by pkg.AbstractPkg::generate().
const l1t::PFCandidate* l1ct::PuppiObjEmu::srcCand = nullptr |
Definition at line 119 of file layer1_emulator.h.
Referenced by clear(), L1SeedConePFJetProducer::convertEDMToHW(), fill(), and DeregionizerProducer::produce().
const l1t::PFCluster* l1ct::PuppiObjEmu::srcCluster = nullptr |
Definition at line 116 of file layer1_emulator.h.
const l1t::SAMuon* l1ct::PuppiObjEmu::srcMu = nullptr |
Definition at line 118 of file layer1_emulator.h.
const l1t::PFTrack* l1ct::PuppiObjEmu::srcTrack = nullptr |
Definition at line 117 of file layer1_emulator.h.