CMS 3D CMS Logo

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

#include <gt_datatypes.h>

Public Member Functions

ap_uint< BITWIDTHpack () const
 

Public Attributes

ap_uint< 1 > charge
 
ap_uint< 2 > id0
 
ap_uint< 2 > id1
 
iso_t isolation
 
tauseed_pt_t seed_pt
 
z0_t seed_z0
 
ap_uint< 2 > type
 
ThreeVector v3
 
valid_t valid
 

Static Public Attributes

static const int BITWIDTH = 128
 

Detailed Description

Definition at line 181 of file gt_datatypes.h.

Member Function Documentation

◆ pack()

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

Definition at line 193 of file gt_datatypes.h.

References charge, id0, id1, l1gt::ThreeVector::pack(), pack_into_bits(), runTheMatrix::ret, seed_pt, seed_z0, v3, and valid.

193  {
194  ap_uint<BITWIDTH> ret;
195  unsigned int start = 0;
205  return ret;
206  }
Definition: start.py:1
ap_uint< BITWIDTH > pack() const
Definition: gt_datatypes.h:59
ret
prodAgent to be discontinued
ap_uint< 2 > id0
Definition: gt_datatypes.h:189
void pack_into_bits(U &u, unsigned int &start, const T &data)
Definition: bit_encoding.h:8
valid_t valid
Definition: gt_datatypes.h:182
z0_t seed_z0
Definition: gt_datatypes.h:185
tauseed_pt_t seed_pt
Definition: gt_datatypes.h:184
ap_uint< 1 > charge
Definition: gt_datatypes.h:186
ap_uint< 2 > id1
Definition: gt_datatypes.h:190
ThreeVector v3
Definition: gt_datatypes.h:183

Member Data Documentation

◆ BITWIDTH

const int l1gt::Tau::BITWIDTH = 128
static

Definition at line 192 of file gt_datatypes.h.

◆ charge

ap_uint<1> l1gt::Tau::charge

Definition at line 186 of file gt_datatypes.h.

Referenced by pack().

◆ id0

ap_uint<2> l1gt::Tau::id0

Definition at line 189 of file gt_datatypes.h.

Referenced by pack().

◆ id1

ap_uint<2> l1gt::Tau::id1

Definition at line 190 of file gt_datatypes.h.

Referenced by pack().

◆ isolation

iso_t l1gt::Tau::isolation

Definition at line 188 of file gt_datatypes.h.

◆ seed_pt

tauseed_pt_t l1gt::Tau::seed_pt

Definition at line 184 of file gt_datatypes.h.

Referenced by pack().

◆ seed_z0

z0_t l1gt::Tau::seed_z0

Definition at line 185 of file gt_datatypes.h.

Referenced by pack().

◆ type

ap_uint<2> l1gt::Tau::type

◆ v3

ThreeVector l1gt::Tau::v3

Definition at line 183 of file gt_datatypes.h.

Referenced by pack().

◆ valid

valid_t l1gt::Tau::valid

Definition at line 182 of file gt_datatypes.h.

Referenced by pack().