CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
l1ct::PuppiObj Struct Reference

#include <puppi.h>

Inheritance diagram for l1ct::PuppiObj:
l1ct::PuppiObjEmu

Public Member Functions

void clear ()
 
void fill (const PFRegion &region, const PFChargedObj &src)
 
void fill (const PFRegion &region, const PFNeutralObj &src, pt_t puppiPt, puppiWgt_t puppiWgt)
 
void fill (const PFRegion &region, 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< BITWIDTHpack () 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_TOTALhwData
 
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
 

Detailed Description

Definition at line 11 of file puppi.h.

Member Function Documentation

◆ clear()

void l1ct::PuppiObj::clear ( void  )
inline

Definition at line 109 of file puppi.h.

References l1ct::ParticleID::clear(), hwData, hwEta, hwId, hwPhi, and hwPt.

Referenced by l1ct::PuppiObjEmu::clear().

109  {
110  hwPt = 0;
111  hwEta = 0;
112  hwPhi = 0;
113  hwId.clear();
114  hwData = 0;
115  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
glbeta_t hwEta
Definition: puppi.h:13
glbphi_t hwPhi
Definition: puppi.h:14
pt_t hwPt
Definition: puppi.h:12

◆ fill() [1/3]

void l1ct::PuppiObj::fill ( const PFRegion region,
const PFChargedObj src 
)
inline

Definition at line 117 of file puppi.h.

References hwData, hwEta, hwId, hwPhi, hwPt, HLT_2022v15_cff::region, setHwDxy(), setHwTkQuality(), setHwZ0(), and TrackRefitter_38T_cff::src.

Referenced by l1ct::PuppiObjEmu::fill().

117  {
118  hwEta = region.hwGlbEta(src.hwVtxEta());
119  hwPhi = region.hwGlbPhi(src.hwVtxPhi());
120  hwId = src.hwId;
121  hwPt = src.hwPt;
122  hwData = 0;
123  setHwZ0(src.hwZ0);
124  setHwDxy(src.hwDxy);
125  setHwTkQuality(src.hwTkQuality);
126  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
glbeta_t hwEta
Definition: puppi.h:13
void setHwTkQuality(tkquality_t qual)
Definition: puppi.h:66
void setHwDxy(dxy_t dxy)
Definition: puppi.h:52
glbphi_t hwPhi
Definition: puppi.h:14
pt_t hwPt
Definition: puppi.h:12
void setHwZ0(z0_t z0)
Definition: puppi.h:38

◆ fill() [2/3]

void l1ct::PuppiObj::fill ( const PFRegion region,
const PFNeutralObj src,
pt_t  puppiPt,
puppiWgt_t  puppiWgt 
)
inline

Definition at line 127 of file puppi.h.

References hwData, hwEta, hwId, hwPhi, hwPt, HLT_2022v15_cff::region, setHwEmID(), setHwPuppiW(), and TrackRefitter_38T_cff::src.

127  {
128  hwEta = region.hwGlbEta(src.hwEta);
129  hwPhi = region.hwGlbPhi(src.hwPhi);
130  hwId = src.hwId;
131  hwPt = puppiPt;
132  hwData = 0;
133  setHwPuppiW(puppiWgt);
134  setHwEmID(src.hwEmID);
135  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
void setHwPuppiW(puppiWgt_t w)
Definition: puppi.h:80
glbeta_t hwEta
Definition: puppi.h:13
glbphi_t hwPhi
Definition: puppi.h:14
void setHwEmID(emid_t w)
Definition: puppi.h:94
pt_t hwPt
Definition: puppi.h:12

◆ fill() [3/3]

void l1ct::PuppiObj::fill ( const PFRegion region,
const HadCaloObj src,
pt_t  puppiPt,
puppiWgt_t  puppiWgt 
)
inline

Definition at line 136 of file puppi.h.

References l1ct::ParticleID::HADZERO, hwData, hwEta, hwId, hwPhi, hwPt, l1ct::ParticleID::PHOTON, HLT_2022v15_cff::region, setHwEmID(), setHwPuppiW(), and TrackRefitter_38T_cff::src.

136  {
137  hwEta = region.hwGlbEta(src.hwEta);
138  hwPhi = region.hwGlbPhi(src.hwPhi);
140  hwPt = puppiPt;
141  hwData = 0;
142  setHwPuppiW(puppiWgt);
143  setHwEmID(src.hwEmID);
144  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
void setHwPuppiW(puppiWgt_t w)
Definition: puppi.h:80
glbeta_t hwEta
Definition: puppi.h:13
glbphi_t hwPhi
Definition: puppi.h:14
void setHwEmID(emid_t w)
Definition: puppi.h:94
pt_t hwPt
Definition: puppi.h:12

◆ floatDxy()

float l1ct::PuppiObj::floatDxy ( ) const
inline

Definition at line 157 of file puppi.h.

References l1ct::Scales::floatDxy(), and hwDxy().

157 { return Scales::floatDxy(hwDxy()); }
dxy_t hwDxy() const
Definition: puppi.h:45
float floatDxy(dxy_t dxy)
Definition: datatypes.h:164

◆ floatEta()

float l1ct::PuppiObj::floatEta ( ) const
inline

Definition at line 150 of file puppi.h.

References l1ct::Scales::floatEta(), and hwEta.

150 { return Scales::floatEta(hwEta); }
glbeta_t hwEta
Definition: puppi.h:13
float floatEta(eta_t eta)
Definition: datatypes.h:157

◆ floatPhi()

float l1ct::PuppiObj::floatPhi ( ) const
inline

Definition at line 151 of file puppi.h.

References l1ct::Scales::floatPhi(), and hwPhi.

151 { return Scales::floatPhi(hwPhi); }
glbphi_t hwPhi
Definition: puppi.h:14
float floatPhi(phi_t phi)
Definition: datatypes.h:158

◆ floatPt()

float l1ct::PuppiObj::floatPt ( ) const
inline

Definition at line 149 of file puppi.h.

References l1ct::Scales::floatPt(), and hwPt.

149 { return Scales::floatPt(hwPt); }
float floatPt(pt_t pt)
Definition: datatypes.h:152
pt_t hwPt
Definition: puppi.h:12

◆ floatPuppiW()

float l1ct::PuppiObj::floatPuppiW ( ) const
inline

Definition at line 158 of file puppi.h.

References l1ct::Scales::floatPuppiW(), hwId, hwPuppiW(), and l1ct::ParticleID::neutral().

158 { return hwId.neutral() ? Scales::floatPuppiW(hwPuppiW()) : 1.0f; }
ParticleID hwId
Definition: puppi.h:15
float floatPuppiW(puppiWgt_t puppiw)
Definition: datatypes.h:165
double f[11][100]
bool neutral() const
Definition: datatypes.h:87
puppiWgt_t hwPuppiW() const
Definition: puppi.h:73

◆ floatZ0()

float l1ct::PuppiObj::floatZ0 ( ) const
inline

Definition at line 156 of file puppi.h.

References l1ct::Scales::floatZ0(), and hwZ0().

156 { return Scales::floatZ0(hwZ0()); }
float floatZ0(z0_t z0)
Definition: datatypes.h:163
z0_t hwZ0() const
Definition: puppi.h:31

◆ hwDxy()

dxy_t l1ct::PuppiObj::hwDxy ( ) const
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().

45  {
46 #ifndef __SYNTHESIS__
47  assert(hwId.charged() || hwPt == 0);
48 #endif
50  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
static const int BITS_DXY_START
Definition: puppi.h:18
bool charged() const
Definition: datatypes.h:86
pt_t hwPt
Definition: puppi.h:12
ap_int< 8 > dxy_t
Definition: datatypes.h:33

◆ hwEmID()

puppiWgt_t l1ct::PuppiObj::hwEmID ( ) const
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.

87  {
88 #ifndef __SYNTHESIS__
89  assert(hwId.neutral());
90 #endif
92  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
static const int BITS_EMID_START
Definition: puppi.h:23
ap_uint< 9 > puppiWgt_t
Definition: datatypes.h:35
bool neutral() const
Definition: datatypes.h:87

◆ hwPuppiW()

puppiWgt_t l1ct::PuppiObj::hwPuppiW ( ) const
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().

73  {
74 #ifndef __SYNTHESIS__
75  assert(hwId.neutral());
76 #endif
78  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
static const int BITS_PUPPIW_START
Definition: puppi.h:22
ap_uint< 9 > puppiWgt_t
Definition: datatypes.h:35
bool neutral() const
Definition: datatypes.h:87

◆ hwTkQuality()

tkquality_t l1ct::PuppiObj::hwTkQuality ( ) const
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.

59  {
60 #ifndef __SYNTHESIS__
61  assert(hwId.charged() || hwPt == 0);
62 #endif
64  }
ap_uint< 3 > tkquality_t
Definition: datatypes.h:34
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
bool charged() const
Definition: datatypes.h:86
static const int BITS_TKQUAL_START
Definition: puppi.h:19
pt_t hwPt
Definition: puppi.h:12

◆ hwZ0()

z0_t l1ct::PuppiObj::hwZ0 ( ) const
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().

31  {
32 #ifndef __SYNTHESIS__
33  assert(hwId.charged() || hwPt == 0);
34 #endif
36  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
bool charged() const
Definition: datatypes.h:86
static const int BITS_Z0_START
Definition: puppi.h:17
ap_int< 10 > z0_t
Definition: datatypes.h:32
pt_t hwPt
Definition: puppi.h:12

◆ initFromBits()

void l1ct::PuppiObj::initFromBits ( const ap_uint< BITWIDTH > &  src)
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().

171  {
172  unsigned int start = 0;
178  }
Definition: start.py:1
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
glbeta_t hwEta
Definition: puppi.h:13
glbphi_t hwPhi
Definition: puppi.h:14
ap_uint< 3 > bits
Definition: datatypes.h:46
pt_t hwPt
Definition: puppi.h:12
void unpack_from_bits(const U &u, unsigned int &start, T &data)
Definition: bit_encoding.h:15

◆ intCharge()

int l1ct::PuppiObj::intCharge ( ) const
inline

Definition at line 155 of file puppi.h.

References hwId, and l1ct::ParticleID::intCharge().

155 { return hwId.intCharge(); }
ParticleID hwId
Definition: puppi.h:15
int intCharge() const
Definition: datatypes.h:88

◆ intEta()

int l1ct::PuppiObj::intEta ( ) const
inline

Definition at line 147 of file puppi.h.

References hwEta.

147 { return hwEta.to_int(); }
glbeta_t hwEta
Definition: puppi.h:13

◆ intId()

int l1ct::PuppiObj::intId ( ) const
inline

Definition at line 152 of file puppi.h.

References hwId, and l1ct::ParticleID::rawId().

152 { return hwId.rawId(); }
ParticleID hwId
Definition: puppi.h:15
int rawId() const
Definition: datatypes.h:66

◆ intPhi()

int l1ct::PuppiObj::intPhi ( ) const
inline

Definition at line 148 of file puppi.h.

References hwPhi.

148 { return hwPhi.to_int(); }
glbphi_t hwPhi
Definition: puppi.h:14

◆ intPt()

int l1ct::PuppiObj::intPt ( ) const
inline

Definition at line 146 of file puppi.h.

References hwPt, and l1ct::Scales::intPt().

146 { return Scales::intPt(hwPt); }
int intPt(pt_t pt)
Definition: datatypes.h:155
pt_t hwPt
Definition: puppi.h:12

◆ oldId()

int l1ct::PuppiObj::oldId ( ) const
inline

Definition at line 154 of file puppi.h.

References hwId, hwPt, and l1ct::ParticleID::oldId().

154 { return hwPt > 0 ? hwId.oldId() : 0; }
ParticleID hwId
Definition: puppi.h:15
int oldId() const
Definition: datatypes.h:120
pt_t hwPt
Definition: puppi.h:12

◆ operator<()

bool l1ct::PuppiObj::operator< ( const PuppiObj other) const
inline

Definition at line 107 of file puppi.h.

References hwPt, and trackingPlots::other.

107 { return hwPt < other.hwPt; }
pt_t hwPt
Definition: puppi.h:12

◆ operator==()

bool l1ct::PuppiObj::operator== ( const PuppiObj other) const
inline

Definition at line 101 of file puppi.h.

References hwData, hwEta, hwId, hwPhi, hwPt, and trackingPlots::other.

101  {
102  return hwPt == other.hwPt && hwEta == other.hwEta && hwPhi == other.hwPhi && hwId == other.hwId &&
103  hwData == other.hwData;
104  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
glbeta_t hwEta
Definition: puppi.h:13
glbphi_t hwPhi
Definition: puppi.h:14
pt_t hwPt
Definition: puppi.h:12

◆ operator>()

bool l1ct::PuppiObj::operator> ( const PuppiObj other) const
inline

Definition at line 106 of file puppi.h.

References hwPt, and trackingPlots::other.

106 { return hwPt > other.hwPt; }
pt_t hwPt
Definition: puppi.h:12

◆ pack()

ap_uint<BITWIDTH> l1ct::PuppiObj::pack ( ) const
inline

Definition at line 161 of file puppi.h.

References l1ct::ParticleID::bits, hwData, hwEta, hwId, hwPhi, hwPt, pack_into_bits(), and runTheMatrix::ret.

161  {
162  ap_uint<BITWIDTH> ret;
163  unsigned int start = 0;
169  return ret;
170  }
Definition: start.py:1
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ret
prodAgent to be discontinued
ParticleID hwId
Definition: puppi.h:15
glbeta_t hwEta
Definition: puppi.h:13
void pack_into_bits(U &u, unsigned int &start, const T &data)
Definition: bit_encoding.h:8
glbphi_t hwPhi
Definition: puppi.h:14
ap_uint< 3 > bits
Definition: datatypes.h:46
pt_t hwPt
Definition: puppi.h:12

◆ pdgId()

int l1ct::PuppiObj::pdgId ( ) const
inline

Definition at line 153 of file puppi.h.

References hwId, and l1ct::ParticleID::pdgId().

Referenced by Particle.Particle::__str__().

153 { return hwId.pdgId(); }
ParticleID hwId
Definition: puppi.h:15
int pdgId() const
Definition: datatypes.h:98

◆ setHwDxy()

void l1ct::PuppiObj::setHwDxy ( dxy_t  dxy)
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().

52  {
53 #ifndef __SYNTHESIS__
54  assert(hwId.charged() || hwPt == 0);
55 #endif
57  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
static const int BITS_DXY_START
Definition: puppi.h:18
bool charged() const
Definition: datatypes.h:86
pt_t hwPt
Definition: puppi.h:12

◆ setHwEmID()

void l1ct::PuppiObj::setHwEmID ( emid_t  w)
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().

94  {
95 #ifndef __SYNTHESIS__
96  assert(hwId.neutral());
97 #endif
99  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
T w() const
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
static const int BITS_EMID_START
Definition: puppi.h:23
bool neutral() const
Definition: datatypes.h:87

◆ setHwPuppiW()

void l1ct::PuppiObj::setHwPuppiW ( puppiWgt_t  w)
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().

80  {
81 #ifndef __SYNTHESIS__
82  assert(hwId.neutral());
83 #endif
85  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
T w() const
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
static const int BITS_PUPPIW_START
Definition: puppi.h:22
bool neutral() const
Definition: datatypes.h:87

◆ setHwTkQuality()

void l1ct::PuppiObj::setHwTkQuality ( tkquality_t  qual)
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().

66  {
67 #ifndef __SYNTHESIS__
68  assert(hwId.charged() || hwPt == 0);
69 #endif
71  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
bool charged() const
Definition: datatypes.h:86
static const int BITS_TKQUAL_START
Definition: puppi.h:19
pt_t hwPt
Definition: puppi.h:12

◆ setHwZ0()

void l1ct::PuppiObj::setHwZ0 ( z0_t  z0)
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().

38  {
39 #ifndef __SYNTHESIS__
40  assert(hwId.charged() || hwPt == 0);
41 #endif
43  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
bool charged() const
Definition: datatypes.h:86
static const int BITS_Z0_START
Definition: puppi.h:17
pt_t hwPt
Definition: puppi.h:12

◆ unpack()

static PuppiObj l1ct::PuppiObj::unpack ( const ap_uint< BITWIDTH > &  src)
inlinestatic

Definition at line 179 of file puppi.h.

References runTheMatrix::ret, and TrackRefitter_38T_cff::src.

179  {
180  PuppiObj ret;
181  ret.initFromBits(src);
182  return ret;
183  }
ret
prodAgent to be discontinued

Member Data Documentation

◆ BITS_DXY_START

const int l1ct::PuppiObj::BITS_DXY_START = BITS_Z0_START + z0_t::width
static

Definition at line 18 of file puppi.h.

Referenced by hwDxy(), and setHwDxy().

◆ BITS_EMID_START

const int l1ct::PuppiObj::BITS_EMID_START = BITS_PUPPIW_START + puppiWgt_t::width
static

Definition at line 23 of file puppi.h.

Referenced by hwEmID(), and setHwEmID().

◆ BITS_PUPPIW_START

const int l1ct::PuppiObj::BITS_PUPPIW_START = 0
static

Definition at line 22 of file puppi.h.

Referenced by hwPuppiW(), and setHwPuppiW().

◆ BITS_TKQUAL_START

const int l1ct::PuppiObj::BITS_TKQUAL_START = BITS_DXY_START + dxy_t::width
static

Definition at line 19 of file puppi.h.

Referenced by hwTkQuality(), and setHwTkQuality().

◆ BITS_Z0_START

const int l1ct::PuppiObj::BITS_Z0_START = 0
static

Definition at line 17 of file puppi.h.

Referenced by hwZ0(), and setHwZ0().

◆ BITWIDTH

const int l1ct::PuppiObj::BITWIDTH = pt_t::width + glbeta_t::width + glbphi_t::width + 3 + DATA_BITS_TOTAL
static

Definition at line 160 of file puppi.h.

◆ DATA_BITS_TOTAL

const int l1ct::PuppiObj::DATA_BITS_TOTAL
static

◆ DATA_CHARGED_BITS_TOTAL

const int l1ct::PuppiObj::DATA_CHARGED_BITS_TOTAL = BITS_TKQUAL_START + tkquality_t::width
static

Definition at line 20 of file puppi.h.

◆ DATA_NEUTRAL_BITS_TOTAL

const int l1ct::PuppiObj::DATA_NEUTRAL_BITS_TOTAL = BITS_EMID_START + emid_t::width
static

Definition at line 24 of file puppi.h.

◆ hwData

ap_uint<DATA_BITS_TOTAL> l1ct::PuppiObj::hwData

◆ hwEta

glbeta_t l1ct::PuppiObj::hwEta

Definition at line 13 of file puppi.h.

Referenced by clear(), fill(), floatEta(), initFromBits(), intEta(), operator==(), and pack().

◆ hwId

ParticleID l1ct::PuppiObj::hwId

◆ hwPhi

glbphi_t l1ct::PuppiObj::hwPhi

Definition at line 14 of file puppi.h.

Referenced by clear(), fill(), floatPhi(), initFromBits(), intPhi(), operator==(), and pack().

◆ hwPt

pt_t l1ct::PuppiObj::hwPt