CMS 3D CMS Logo

List of all members | Public Member Functions | Static 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
 
- 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 ()
 

Static Public Member Functions

static L1TGT_Common3Vector from_GTObject (const P2GTCandidate &gtObject)
 

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

◆ from_GTObject()

template<std::size_t N>
static L1TGT_Common3Vector l1t::L1TGT_Common3Vector< N >::from_GTObject ( const P2GTCandidate gtObject)
inlinestatic

Definition at line 60 of file L1GTEvaluationInterface.h.

60  {
61  return L1TGT_Common3Vector(1, gtObject.hwPT(), gtObject.hwPhi(), gtObject.hwEta());
62  }
L1TGT_Common3Vector(int valid=0, int pT=0, int phi=0, int eta=0)

◆ pack()

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

Implements l1t::L1TGT_Interface< N >.

Definition at line 58 of file L1GTEvaluationInterface.h.

58 { 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

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