CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
l1t::L1TGT_Common3Vector< N > Struct Template Reference

#include <L1GTEvaluationInterface.h>

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

Public Member Functions

 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_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

template<std::size_t N>
struct l1t::L1TGT_Common3Vector< N >

Definition at line 60 of file L1GTEvaluationInterface.h.

Constructor & Destructor Documentation

◆ L1TGT_Common3Vector()

template<std::size_t N>
l1t::L1TGT_Common3Vector< N >::L1TGT_Common3Vector ( int  valid = 0,
int  pT = 0,
int  phi = 0,
int  eta = 0 
)
inline

Member Function Documentation

◆ pack()

template<std::size_t N>
ap_uint<N> l1t::L1TGT_Common3Vector< N >::pack ( ) const
inlineoverridevirtual

Implements l1t::L1TGT_Interface< N >.

Definition at line 71 of file L1GTEvaluationInterface.h.

71 { return pack_common(); }
virtual ap_uint< 44 > pack_common() const

◆ pack_common()

template<std::size_t N>
virtual ap_uint<44> l1t::L1TGT_Common3Vector< N >::pack_common ( ) const
inlinevirtual

◆ to_GTObject()

template<std::size_t N>
P2GTCandidate l1t::L1TGT_Common3Vector< N >::to_GTObject ( ) const
inlineoverridevirtual

◆ unpack()

template<std::size_t N>
ap_uint<N> l1t::L1TGT_Common3Vector< N >::unpack ( const ap_uint< N > &  packed)
inlineoverridevirtual

Member Data Documentation

◆ eta

template<std::size_t N>
ap_int<14> l1t::L1TGT_Common3Vector< N >::eta

◆ phi

template<std::size_t N>
ap_int<13> l1t::L1TGT_Common3Vector< N >::phi

◆ pT

template<std::size_t N>
ap_uint<16> l1t::L1TGT_Common3Vector< N >::pT

◆ valid

template<std::size_t N>
ap_uint<1> l1t::L1TGT_Common3Vector< N >::valid