CMS 3D CMS Logo

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

#include <L1GTEvaluationInterface.h>

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

Public Member Functions

 L1TGT_GTT_HadronicTau (int valid=0, int pT=0, int phi=0, int eta=0, int seed_pT=0, int seed_z0=0, int charge=0, int type=0)
 
ap_uint< WIDTHpack () const override
 
P2GTCandidate to_GTObject () const 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
 
- 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_GTT_HadronicTau from_GTObject (const P2GTCandidate &gtObject)
 
- Static Public Member Functions inherited from l1t::L1TGT_Common3Vector< 96 >
static L1TGT_Common3Vector from_GTObject (const P2GTCandidate &gtObject)
 

Public Attributes

ap_uint< 1 > charge
 
ap_uint< 10 > seed_pT
 
ap_int< 10 > seed_z0
 
ap_uint< 2 > type
 
- 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 346 of file L1GTEvaluationInterface.h.

Constructor & Destructor Documentation

◆ L1TGT_GTT_HadronicTau()

l1t::L1TGT_GTT_HadronicTau::L1TGT_GTT_HadronicTau ( int  valid = 0,
int  pT = 0,
int  phi = 0,
int  eta = 0,
int  seed_pT = 0,
int  seed_z0 = 0,
int  charge = 0,
int  type = 0 
)
inline

Member Function Documentation

◆ from_GTObject()

static L1TGT_GTT_HadronicTau l1t::L1TGT_GTT_HadronicTau::from_GTObject ( const P2GTCandidate gtObject)
inlinestatic

Definition at line 366 of file L1GTEvaluationInterface.h.

References l1t::P2GTCandidate::hwCharge(), l1t::P2GTCandidate::hwEta(), l1t::P2GTCandidate::hwPhi(), l1t::P2GTCandidate::hwPT(), l1t::P2GTCandidate::hwSeed_pT(), l1t::P2GTCandidate::hwSeed_z0(), l1t::P2GTCandidate::hwType(), and L1TGT_GTT_HadronicTau().

366  {
367  return L1TGT_GTT_HadronicTau(1,
368  gtObject.hwPT(),
369  gtObject.hwPhi(),
370  gtObject.hwEta(),
371  gtObject.hwSeed_pT(),
372  gtObject.hwSeed_z0(),
373  gtObject.hwCharge(),
374  gtObject.hwType());
375  }
L1TGT_GTT_HadronicTau(int valid=0, int pT=0, int phi=0, int eta=0, int seed_pT=0, int seed_z0=0, int charge=0, int type=0)

◆ pack()

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

◆ to_GTObject()

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

Implements l1t::L1TGT_BaseInterface.

Definition at line 377 of file L1GTEvaluationInterface.h.

References charge, seed_pT, seed_z0, l1t::P2GTCandidate::setHwCharge(), l1t::P2GTCandidate::setHwSeed_pT(), l1t::P2GTCandidate::setHwSeed_z0(), l1t::P2GTCandidate::setHwType(), and l1t::L1TGT_Common3Vector< N >::to_GTObject().

377  {
378  P2GTCandidate gt_object(L1TGT_Common3Vector::to_GTObject());
379  gt_object.setHwSeed_pT(seed_pT);
380  gt_object.setHwSeed_z0(seed_z0);
381  gt_object.setHwCharge(charge);
382  gt_object.setHwType(type);
383 
384  return gt_object;
385  }
P2GTCandidate to_GTObject() const override

Member Data Documentation

◆ charge

ap_uint<1> l1t::L1TGT_GTT_HadronicTau::charge

Definition at line 349 of file L1GTEvaluationInterface.h.

Referenced by pack(), and to_GTObject().

◆ seed_pT

ap_uint<10> l1t::L1TGT_GTT_HadronicTau::seed_pT

Definition at line 347 of file L1GTEvaluationInterface.h.

Referenced by pack(), and to_GTObject().

◆ seed_z0

ap_int<10> l1t::L1TGT_GTT_HadronicTau::seed_z0

Definition at line 348 of file L1GTEvaluationInterface.h.

Referenced by pack(), and to_GTObject().

◆ type

ap_uint<2> l1t::L1TGT_GTT_HadronicTau::type