CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Public Attributes
l1gt::Electron Struct Reference

#include <gt_datatypes.h>

Public Member Functions

ap_uint< BITWIDTHpack () const
 

Public Attributes

ap_uint< 1 > charge
 
iso_t isolation
 
egquality_t quality
 
ThreeVector v3
 
valid_t valid
 
z0_t z0
 

Static Public Attributes

static const int BITWIDTH = 96
 

Detailed Description

Definition at line 209 of file gt_datatypes.h.

Member Function Documentation

◆ pack()

ap_uint<BITWIDTH> l1gt::Electron::pack ( ) const
inline

Definition at line 218 of file gt_datatypes.h.

References charge, l1gt::ThreeVector::pack(), pack_into_bits(), quality, runTheMatrix::ret, v3, valid, and z0.

218  {
219  ap_uint<BITWIDTH> ret(0);
220  unsigned int start = 0;
227  return ret;
228  }
Definition: start.py:1
egquality_t quality
Definition: gt_datatypes.h:212
ap_uint< BITWIDTH > pack() const
Definition: gt_datatypes.h:59
ret
prodAgent to be discontinued
void pack_into_bits(U &u, unsigned int &start, const T &data)
Definition: bit_encoding.h:8
ThreeVector v3
Definition: gt_datatypes.h:211
ap_uint< 1 > charge
Definition: gt_datatypes.h:213

Member Data Documentation

◆ BITWIDTH

const int l1gt::Electron::BITWIDTH = 96
static

Definition at line 217 of file gt_datatypes.h.

◆ charge

ap_uint<1> l1gt::Electron::charge

Definition at line 213 of file gt_datatypes.h.

Referenced by pack(), and l1ct::EGIsoEleObj::toGT().

◆ isolation

iso_t l1gt::Electron::isolation

Definition at line 215 of file gt_datatypes.h.

Referenced by l1ct::EGIsoEleObj::toGT().

◆ quality

egquality_t l1gt::Electron::quality

Definition at line 212 of file gt_datatypes.h.

Referenced by pack(), and l1ct::EGIsoEleObj::toGT().

◆ v3

ThreeVector l1gt::Electron::v3

Definition at line 211 of file gt_datatypes.h.

Referenced by pack(), and l1ct::EGIsoEleObj::toGT().

◆ valid

valid_t l1gt::Electron::valid

Definition at line 210 of file gt_datatypes.h.

Referenced by pack(), and l1ct::EGIsoEleObj::toGT().

◆ z0

z0_t l1gt::Electron::z0

Definition at line 214 of file gt_datatypes.h.

Referenced by pack(), and l1ct::EGIsoEleObj::toGT().