#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 |
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) |
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 109 of file puppi.h.
References l1ct::ParticleID::clear(), hwData, hwEta, hwId, hwPhi, and hwPt.
Referenced by l1ct::PuppiObjEmu::clear().
|
inline |
Definition at line 117 of file puppi.h.
References hwData, hwEta, hwId, hwPhi, hwPt, HLT_2023v12_cff::region, setHwDxy(), setHwTkQuality(), setHwZ0(), and TrackRefitter_38T_cff::src.
Referenced by l1ct::PuppiObjEmu::fill().
|
inline |
Definition at line 127 of file puppi.h.
References hwData, hwEta, hwId, hwPhi, hwPt, HLT_2023v12_cff::region, setHwEmID(), setHwPuppiW(), and TrackRefitter_38T_cff::src.
|
inline |
Definition at line 136 of file puppi.h.
References l1ct::ParticleID::HADZERO, hwData, hwEta, hwId, hwPhi, hwPt, l1ct::ParticleID::PHOTON, HLT_2023v12_cff::region, setHwEmID(), setHwPuppiW(), and TrackRefitter_38T_cff::src.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 158 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 87 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(), 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 171 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 161 of file puppi.h.
References l1ct::ParticleID::bits, hwData, hwEta, hwId, hwPhi, hwPt, pack_into_bits(), and runTheMatrix::ret.
|
inline |
Definition at line 153 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 94 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 80 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, 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 179 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(), fill(), floatEta(), initFromBits(), intEta(), 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(), fill(), floatPhi(), initFromBits(), intPhi(), operator==(), and pack().
pt_t l1ct::PuppiObj::hwPt |
Definition at line 12 of file puppi.h.
Referenced by clear(), fill(), floatPt(), hwDxy(), hwTkQuality(), hwZ0(), initFromBits(), intPt(), oldId(), operator<(), operator==(), operator>(), pack(), setHwDxy(), setHwTkQuality(), and setHwZ0().