CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
l1t::L1TGT_GMT_TrackMatchedmuon Struct Reference

#include <L1GTEvaluationInterface.h>

Inheritance diagram for l1t::L1TGT_GMT_TrackMatchedmuon:
l1t::L1TGT_Common3Vector< 96 > l1t::L1TGT_Interface< N > l1t::L1TGT_BaseInterface

Public Member Functions

 L1TGT_GMT_TrackMatchedmuon (int valid=0, int pT=0, int phi=0, int eta=0, int z0=0, int d0=0, int charge=0, int qual=0, int iso=0, int beta=0)
 
ap_uint< WIDTHpack () const override
 
P2GTCandidate to_GTObject () const override
 
ap_uint< WIDTHunpack (const ap_uint< WIDTH > &packed) override
 
- Public Member Functions inherited from l1t::L1TGT_Common3Vector< 96 >
 L1TGT_Common3Vector (int valid=0, int pT=0, int phi=0, int eta=0)
 
ap_uint< Npack () const override
 
virtual ap_uint< 44 > pack_common () const
 
P2GTCandidate to_GTObject () const override
 
ap_uint< Nunpack (const ap_uint< N > &packed) override
 
- Public Member Functions inherited from l1t::L1TGT_Interface< N >
std::size_t packed_width () const override
 
- Public Member Functions inherited from l1t::L1TGT_BaseInterface
virtual ~L1TGT_BaseInterface ()
 

Public Attributes

ap_uint< 4 > beta
 
ap_uint< 1 > charge
 
ap_int< 10 > d0
 
ap_uint< 4 > iso
 
ap_uint< 8 > qual
 
ap_int< 10 > z0
 
- Public Attributes inherited from l1t::L1TGT_Common3Vector< 96 >
ap_int< 14 > eta
 
ap_int< 13 > phi
 
ap_uint< 16 > pT
 
ap_uint< 1 > valid
 

Additional Inherited Members

- Static Public Attributes inherited from l1t::L1TGT_Interface< N >
static constexpr std::size_t WIDTH = N
 

Detailed Description

Definition at line 184 of file L1GTEvaluationInterface.h.

Constructor & Destructor Documentation

◆ L1TGT_GMT_TrackMatchedmuon()

l1t::L1TGT_GMT_TrackMatchedmuon::L1TGT_GMT_TrackMatchedmuon ( int  valid = 0,
int  pT = 0,
int  phi = 0,
int  eta = 0,
int  z0 = 0,
int  d0 = 0,
int  charge = 0,
int  qual = 0,
int  iso = 0,
int  beta = 0 
)
inline

Member Function Documentation

◆ pack()

ap_uint<WIDTH> l1t::L1TGT_GMT_TrackMatchedmuon::pack ( ) const
inlineoverridevirtual

◆ to_GTObject()

P2GTCandidate l1t::L1TGT_GMT_TrackMatchedmuon::to_GTObject ( ) const
inlineoverridevirtual

Implements l1t::L1TGT_BaseInterface.

Definition at line 212 of file L1GTEvaluationInterface.h.

References beta, charge, d0, iso, qual, l1t::P2GTCandidate::setHwBeta(), l1t::P2GTCandidate::setHwCharge(), l1t::P2GTCandidate::setHwD0(), l1t::P2GTCandidate::setHwIso(), l1t::P2GTCandidate::setHwQual(), l1t::P2GTCandidate::setHwZ0(), l1t::L1TGT_Common3Vector< N >::to_GTObject(), and z0.

212  {
213  P2GTCandidate gt_object(L1TGT_Common3Vector::to_GTObject());
214  gt_object.setHwZ0(z0);
215  gt_object.setHwD0(static_cast<int>(d0) << 2);
216  gt_object.setHwCharge(charge);
217  gt_object.setHwQual(qual);
218  gt_object.setHwIso(static_cast<int>(iso) << 7);
219  gt_object.setHwBeta(beta);
220 
221  return gt_object;
222  }
P2GTCandidate to_GTObject() const override

◆ unpack()

ap_uint<WIDTH> l1t::L1TGT_GMT_TrackMatchedmuon::unpack ( const ap_uint< WIDTH > &  packed)
inlineoverride

Member Data Documentation

◆ beta

ap_uint<4> l1t::L1TGT_GMT_TrackMatchedmuon::beta

Definition at line 190 of file L1GTEvaluationInterface.h.

Referenced by pack(), to_GTObject(), and unpack().

◆ charge

ap_uint<1> l1t::L1TGT_GMT_TrackMatchedmuon::charge

Definition at line 187 of file L1GTEvaluationInterface.h.

Referenced by pack(), to_GTObject(), and unpack().

◆ d0

ap_int<10> l1t::L1TGT_GMT_TrackMatchedmuon::d0

Definition at line 186 of file L1GTEvaluationInterface.h.

Referenced by pack(), to_GTObject(), and unpack().

◆ iso

ap_uint<4> l1t::L1TGT_GMT_TrackMatchedmuon::iso

Definition at line 189 of file L1GTEvaluationInterface.h.

Referenced by pack(), to_GTObject(), and unpack().

◆ qual

ap_uint<8> l1t::L1TGT_GMT_TrackMatchedmuon::qual

Definition at line 188 of file L1GTEvaluationInterface.h.

Referenced by pack(), to_GTObject(), and unpack().

◆ z0

ap_int<10> l1t::L1TGT_GMT_TrackMatchedmuon::z0

Definition at line 185 of file L1GTEvaluationInterface.h.

Referenced by pack(), to_GTObject(), and unpack().