#include <puppi.h>
Public Member Functions | |
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 |
emid_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) |
Static Public Member Functions | |
static PuppiObj | unpack (const ap_uint< BITWIDTH > &src) |
Public Attributes | |
ap_uint< DATA_BITS_TOTAL > | hwData |
glbeta_t | hwEta |
ParticleID | hwId |
glbphi_t | hwPhi |
pt_t | hwPt |
Static Public Attributes | |
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 |
|
inline |
Definition at line 111 of file puppi.h.
References l1ct::ParticleID::clear(), hwData, hwEta, hwId, hwPhi, and hwPt.
Referenced by l1ct::PuppiObjEmu::clear().
|
inline |
Definition at line 119 of file puppi.h.
References hwData, hwEta, hwId, hwPhi, hwPt, nano_mu_digi_cff::region, setHwDxy(), setHwTkQuality(), setHwZ0(), and TrackRefitter_38T_cff::src.
Referenced by l1ct::PuppiObjEmu::fill().
|
inline |
Definition at line 129 of file puppi.h.
References hwData, hwEta, hwId, hwPhi, hwPt, nano_mu_digi_cff::region, setHwEmID(), setHwPuppiW(), and TrackRefitter_38T_cff::src.
|
inline |
Definition at line 138 of file puppi.h.
References l1ct::ParticleID::HADZERO, hwData, hwEta, hwId, hwPhi, hwPt, l1ct::ParticleID::PHOTON, nano_mu_digi_cff::region, setHwEmID(), setHwPuppiW(), and TrackRefitter_38T_cff::src.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 160 of file puppi.h.
References l1ct::Scales::floatPuppiW(), hwId, hwPuppiW(), and l1ct::ParticleID::neutral().
|
inline |
|
inline |
Definition at line 45 of file puppi.h.
References cms::cuda::assert(), BITS_DXY_START, l1ct::ParticleID::charged(), hwData, hwId, hwPt, and ApeEstimator_cff::width.
Referenced by floatDxy().
|
inline |
Definition at line 89 of file puppi.h.
References cms::cuda::assert(), BITS_EMID_START, hwData, hwId, l1ct::ParticleID::neutral(), and ApeEstimator_cff::width.
|
inline |
Definition at line 73 of file puppi.h.
References cms::cuda::assert(), BITS_PUPPIW_START, hwData, hwId, l1ct::ParticleID::neutral(), runTheMatrix::ret, and ApeEstimator_cff::width.
Referenced by floatPuppiW().
|
inline |
Definition at line 59 of file puppi.h.
References cms::cuda::assert(), BITS_TKQUAL_START, l1ct::ParticleID::charged(), hwData, hwId, hwPt, and ApeEstimator_cff::width.
|
inline |
Definition at line 31 of file puppi.h.
References cms::cuda::assert(), BITS_Z0_START, l1ct::ParticleID::charged(), hwData, hwId, hwPt, and ApeEstimator_cff::width.
Referenced by floatZ0().
|
inline |
Definition at line 173 of file puppi.h.
References l1ct::ParticleID::bits, hwData, hwEta, hwId, hwPhi, hwPt, TrackRefitter_38T_cff::src, and unpack_from_bits().
Referenced by L1SeedConePFJetProducer::convertEDMToHW(), and DeregionizerProducer::produce().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 163 of file puppi.h.
References l1ct::ParticleID::bits, hwData, hwEta, hwId, hwPhi, hwPt, pack_into_bits(), and runTheMatrix::ret.
|
inline |
Definition at line 155 of file puppi.h.
References hwId, and l1ct::ParticleID::pdgId().
Referenced by Particle.Particle::__str__().
|
inline |
Definition at line 52 of file puppi.h.
References cms::cuda::assert(), BITS_DXY_START, l1ct::ParticleID::charged(), PVValHelper::dxy, hwData, hwId, hwPt, and ApeEstimator_cff::width.
Referenced by fill().
|
inline |
Definition at line 96 of file puppi.h.
References cms::cuda::assert(), BITS_EMID_START, hwData, hwId, l1ct::ParticleID::neutral(), w(), and ApeEstimator_cff::width.
Referenced by fill().
|
inline |
Definition at line 82 of file puppi.h.
References cms::cuda::assert(), BITS_PUPPIW_START, hwData, hwId, l1ct::ParticleID::neutral(), w(), and ApeEstimator_cff::width.
Referenced by fill().
|
inline |
Definition at line 66 of file puppi.h.
References cms::cuda::assert(), BITS_TKQUAL_START, l1ct::ParticleID::charged(), hwData, hwId, hwPt, l1tGTMenu_lepSeeds_cff::qual, and ApeEstimator_cff::width.
Referenced by fill().
|
inline |
Definition at line 38 of file puppi.h.
References cms::cuda::assert(), BITS_Z0_START, l1ct::ParticleID::charged(), hwData, hwId, hwPt, and ApeEstimator_cff::width.
Referenced by fill().
Definition at line 181 of file puppi.h.
References runTheMatrix::ret, and TrackRefitter_38T_cff::src.
|
static |
Definition at line 18 of file puppi.h.
Referenced by hwDxy(), and setHwDxy().
|
static |
Definition at line 23 of file puppi.h.
Referenced by hwEmID(), and setHwEmID().
|
static |
Definition at line 22 of file puppi.h.
Referenced by hwPuppiW(), and setHwPuppiW().
|
static |
Definition at line 19 of file puppi.h.
Referenced by hwTkQuality(), and setHwTkQuality().
|
static |
|
static |
|
static |
|
static |
|
static |
ap_uint<DATA_BITS_TOTAL> l1ct::PuppiObj::hwData |
Definition at line 29 of file puppi.h.
Referenced by clear(), fill(), hwDxy(), hwEmID(), hwPuppiW(), hwTkQuality(), hwZ0(), initFromBits(), operator==(), pack(), setHwDxy(), setHwEmID(), setHwPuppiW(), setHwTkQuality(), and setHwZ0().
glbeta_t l1ct::PuppiObj::hwEta |
Definition at line 13 of file puppi.h.
Referenced by clear(), L1HPSPFTauProducer::convertEDMToHW(), L1HPSPFTauProducer::convertJetsToHW(), l1HPSPFTauEmu::emulateEvent(), fill(), floatEta(), initFromBits(), intEta(), l1HPSPFTauEmu::makeHPSTauHW(), operator==(), and pack().
ParticleID l1ct::PuppiObj::hwId |
Definition at line 15 of file puppi.h.
Referenced by clear(), fill(), floatPuppiW(), hwDxy(), hwEmID(), hwPuppiW(), hwTkQuality(), hwZ0(), initFromBits(), intCharge(), intId(), oldId(), operator==(), pack(), pdgId(), setHwDxy(), setHwEmID(), setHwPuppiW(), setHwTkQuality(), and setHwZ0().
glbphi_t l1ct::PuppiObj::hwPhi |
Definition at line 14 of file puppi.h.
Referenced by clear(), L1HPSPFTauProducer::convertEDMToHW(), L1HPSPFTauProducer::convertJetsToHW(), fill(), floatPhi(), initFromBits(), intPhi(), l1HPSPFTauEmu::makeHPSTauHW(), operator==(), and pack().
pt_t l1ct::PuppiObj::hwPt |
Definition at line 12 of file puppi.h.
Referenced by clear(), L1HPSPFTauProducer::convertEDMToHW(), L1HPSPFTauProducer::convertJetsToHW(), l1HPSPFTauEmu::emulateEvent(), fill(), floatPt(), hwDxy(), hwTkQuality(), hwZ0(), initFromBits(), intPt(), l1HPSPFTauEmu::makeHPSTauHW(), oldId(), operator<(), operator==(), operator>(), pack(), setHwDxy(), setHwTkQuality(), and setHwZ0().