CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
l1ct::TkObjEmu Struct Reference

#include <layer1_emulator.h>

Inheritance diagram for l1ct::TkObjEmu:
l1ct::TkObj

Public Member Functions

void clear ()
 
bool read (std::fstream &from)
 
bool write (std::fstream &to) const
 
- Public Member Functions inherited from l1ct::TkObj
void clear ()
 
float floatDEta () const
 
float floatDPhi () const
 
float floatDxy () const
 
float floatEta () const
 
float floatPhi () const
 
float floatPt () const
 
float floatVtxEta () const
 
float floatVtxPhi () const
 
float floatZ0 () const
 
eta_t hwVtxEta () const
 
phi_t hwVtxPhi () const
 
int intCharge () const
 
int intEta () const
 
int intPhi () const
 
int intPt () const
 
int intVtxEta () const
 
int intVtxPhi () const
 
bool isPFLoose () const
 
bool isPFTight () const
 
bool operator< (const TkObj &other) const
 
bool operator== (const TkObj &other) const
 
bool operator> (const TkObj &other) const
 
ap_uint< BITWIDTHpack () const
 

Public Attributes

uint16_t hwChi2
 
uint16_t hwStubs
 
float simCaloEta
 
float simCaloPhi
 
float simD0
 
float simPt
 
float simVtxEta
 
float simVtxPhi
 
float simZ0
 
const l1t::PFTracksrc = nullptr
 
- Public Attributes inherited from l1ct::TkObj
bool hwCharge
 
tkdeta_t hwDEta
 
tkdphi_t hwDPhi
 
dxy_t hwDxy
 
eta_t hwEta
 
phi_t hwPhi
 
pt_t hwPt
 
tkquality_t hwQuality
 
z0_t hwZ0
 

Additional Inherited Members

- Public Types inherited from l1ct::TkObj
enum  TkQuality { PFLOOSE = 1, PFTIGHT = 2 }
 
- Static Public Member Functions inherited from l1ct::TkObj
static TkObj unpack (const ap_uint< BITWIDTH > &src)
 
- Static Public Attributes inherited from l1ct::TkObj
static const int BITWIDTH
 

Detailed Description

Definition at line 41 of file layer1_emulator.h.

Member Function Documentation

◆ clear()

void l1ct::TkObjEmu::clear ( void  )
inline

Definition at line 47 of file layer1_emulator.h.

References l1ct::TkObj::clear(), hwChi2, hwStubs, simCaloEta, simCaloPhi, simD0, simPt, simVtxEta, simVtxPhi, simZ0, and src.

Referenced by BeautifulSoup.Tag::setString().

47  {
48  TkObj::clear();
49  src = nullptr;
50  hwChi2 = 0;
51  hwStubs = 0;
52  simPt = 0;
53  simCaloEta = 0;
54  simCaloPhi = 0;
55  simVtxEta = 0;
56  simVtxPhi = 0;
57  simZ0 = 0;
58  simD0 = 0;
59  }
const l1t::PFTrack * src
void clear()
Definition: layer1_objs.h:149

◆ read()

bool l1ct::TkObjEmu::read ( std::fstream &  from)

◆ write()

bool l1ct::TkObjEmu::write ( std::fstream &  to) const

Member Data Documentation

◆ hwChi2

uint16_t l1ct::TkObjEmu::hwChi2

Definition at line 42 of file layer1_emulator.h.

Referenced by clear().

◆ hwStubs

uint16_t l1ct::TkObjEmu::hwStubs

Definition at line 42 of file layer1_emulator.h.

Referenced by clear().

◆ simCaloEta

float l1ct::TkObjEmu::simCaloEta

Definition at line 43 of file layer1_emulator.h.

Referenced by clear().

◆ simCaloPhi

float l1ct::TkObjEmu::simCaloPhi

Definition at line 43 of file layer1_emulator.h.

Referenced by clear().

◆ simD0

float l1ct::TkObjEmu::simD0

Definition at line 43 of file layer1_emulator.h.

Referenced by clear().

◆ simPt

float l1ct::TkObjEmu::simPt

Definition at line 43 of file layer1_emulator.h.

Referenced by clear().

◆ simVtxEta

float l1ct::TkObjEmu::simVtxEta

Definition at line 43 of file layer1_emulator.h.

Referenced by clear().

◆ simVtxPhi

float l1ct::TkObjEmu::simVtxPhi

Definition at line 43 of file layer1_emulator.h.

Referenced by clear().

◆ simZ0

float l1ct::TkObjEmu::simZ0

Definition at line 43 of file layer1_emulator.h.

Referenced by clear().

◆ src

const l1t::PFTrack* l1ct::TkObjEmu::src = nullptr

Definition at line 44 of file layer1_emulator.h.

Referenced by clear().