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 l1HPSPFTauEmu::Particle

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
 
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< 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 111 of file puppi.h.

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

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

111  {
112  hwPt = 0;
113  hwEta = 0;
114  hwPhi = 0;
115  hwId.clear();
116  hwData = 0;
117  }
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 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().

119  {
120  hwEta = region.hwGlbEta(src.hwVtxEta());
121  hwPhi = region.hwGlbPhi(src.hwVtxPhi());
122  hwId = src.hwId;
123  hwPt = src.hwPt;
124  hwData = 0;
125  setHwZ0(src.hwZ0);
126  setHwDxy(src.hwDxy);
127  setHwTkQuality(src.hwTkQuality);
128  }
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 129 of file puppi.h.

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

129  {
130  hwEta = region.hwGlbEta(src.hwEta);
131  hwPhi = region.hwGlbPhi(src.hwPhi);
132  hwId = src.hwId;
133  hwPt = puppiPt;
134  hwData = 0;
135  setHwPuppiW(puppiWgt);
136  setHwEmID(src.hwEmID);
137  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
void setHwPuppiW(puppiWgt_t w)
Definition: puppi.h:82
glbeta_t hwEta
Definition: puppi.h:13
glbphi_t hwPhi
Definition: puppi.h:14
void setHwEmID(emid_t w)
Definition: puppi.h:96
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 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.

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

◆ floatDxy()

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

Definition at line 159 of file puppi.h.

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

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

◆ floatEta()

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

Definition at line 152 of file puppi.h.

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

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

◆ floatPhi()

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

Definition at line 153 of file puppi.h.

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

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

◆ floatPt()

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

Definition at line 151 of file puppi.h.

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

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

◆ floatPuppiW()

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

Definition at line 160 of file puppi.h.

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

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

◆ floatZ0()

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

Definition at line 158 of file puppi.h.

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

158 { return Scales::floatZ0(hwZ0()); }
float floatZ0(z0_t z0)
Definition: datatypes.h:170
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:82
pt_t hwPt
Definition: puppi.h:12
ap_int< 8 > dxy_t
Definition: datatypes.h:22

◆ hwEmID()

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

89  {
90 #ifndef __SYNTHESIS__
91  assert(hwId.neutral());
92 #endif
94  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
ap_uint< 6 > emid_t
Definition: datatypes.h:25
static const int BITS_EMID_START
Definition: puppi.h:23
bool neutral() const
Definition: datatypes.h:83

◆ 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(), runTheMatrix::ret, and ApeEstimator_cff::width.

Referenced by floatPuppiW().

73  {
74 #ifndef __SYNTHESIS__
75  assert(hwId.neutral());
76 #endif
79  return ret;
80  }
ap_uint< DATA_BITS_TOTAL > hwData
Definition: puppi.h:29
ret
prodAgent to be discontinued
ParticleID hwId
Definition: puppi.h:15
assert(be >=bs)
static const int BITS_PUPPIW_START
Definition: puppi.h:22
ap_ufixed< 9, 1, AP_RND_CONV, AP_WRAP > puppiWgt_t
Definition: datatypes.h:24
bool neutral() const
Definition: datatypes.h:83

◆ 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:23
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:82
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:82
static const int BITS_Z0_START
Definition: puppi.h:17
ap_int< 10 > z0_t
Definition: datatypes.h:21
pt_t hwPt
Definition: puppi.h:12

◆ initFromBits()

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

173  {
174  unsigned int start = 0;
180  }
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:42
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 157 of file puppi.h.

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

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

◆ intEta()

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

Definition at line 149 of file puppi.h.

References hwEta.

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

◆ intId()

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

Definition at line 154 of file puppi.h.

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

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

◆ intPhi()

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

Definition at line 150 of file puppi.h.

References hwPhi.

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

◆ intPt()

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

Definition at line 148 of file puppi.h.

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

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

◆ oldId()

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

Definition at line 156 of file puppi.h.

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

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

◆ operator<()

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

Definition at line 109 of file puppi.h.

References hwPt, and trackingPlots::other.

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

◆ operator==()

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

Definition at line 103 of file puppi.h.

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

103  {
104  return hwPt == other.hwPt && hwEta == other.hwEta && hwPhi == other.hwPhi && hwId == other.hwId &&
105  hwData == other.hwData;
106  }
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 108 of file puppi.h.

References hwPt, and trackingPlots::other.

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

◆ pack()

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

Definition at line 163 of file puppi.h.

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

163  {
164  ap_uint<BITWIDTH> ret;
165  unsigned int start = 0;
171  return ret;
172  }
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:42
pt_t hwPt
Definition: puppi.h:12

◆ pdgId()

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

Definition at line 155 of file puppi.h.

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

Referenced by Particle.Particle::__str__().

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

◆ 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:82
pt_t hwPt
Definition: puppi.h:12

◆ setHwEmID()

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

96  {
97 #ifndef __SYNTHESIS__
98  assert(hwId.neutral());
99 #endif
101  }
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:83

◆ setHwPuppiW()

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

82  {
83 #ifndef __SYNTHESIS__
84  assert(hwId.neutral());
85 #endif
87  }
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:83

◆ 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, l1tGTMenu_lepSeeds_cff::qual, 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:82
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:82
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 181 of file puppi.h.

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

181  {
182  PuppiObj ret;
183  ret.initFromBits(src);
184  return ret;
185  }
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 162 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

◆ hwId

ParticleID l1ct::PuppiObj::hwId

◆ hwPhi

glbphi_t l1ct::PuppiObj::hwPhi

◆ hwPt

pt_t l1ct::PuppiObj::hwPt