CMS 3D CMS Logo

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

#include <layer1_emulator.h>

Inheritance diagram for l1ct::EmCaloObjEmu:
l1ct::EmCaloObj

Public Member Functions

void clear ()
 
bool read (std::fstream &from)
 
bool write (std::fstream &to) const
 
- Public Member Functions inherited from l1ct::EmCaloObj
void clear ()
 
float floatEta () const
 
float floatHoe () const
 
float floatMeanZ () const
 
float floatPhi () const
 
float floatPt () const
 
float floatPtErr () const
 
float floatSrrTot () const
 
int intEta () const
 
int intPhi () const
 
int intPt () const
 
int intPtErr () const
 
bool operator< (const EmCaloObj &other) const
 
bool operator== (const EmCaloObj &other) const
 
bool operator> (const EmCaloObj &other) const
 
ap_uint< BITWIDTHpack () const
 
ap_uint< BITWIDTH_SLIMpack_slim () const
 

Public Attributes

const l1t::PFClustersrc = nullptr
 
- Public Attributes inherited from l1ct::EmCaloObj
emid_t hwEmID
 
eta_t hwEta
 
hoe_t hwHoe
 
meanz_t hwMeanZ
 
phi_t hwPhi
 
pt_t hwPt
 
pt_t hwPtErr
 
srrtot_t hwSrrTot
 

Additional Inherited Members

- Static Public Member Functions inherited from l1ct::EmCaloObj
static EmCaloObj unpack (const ap_uint< BITWIDTH > &src)
 
- Static Public Attributes inherited from l1ct::EmCaloObj
static const int BITWIDTH = BITWIDTH_SLIM + srrtot_t::width + meanz_t::width + hoe_t::width
 
static const int BITWIDTH_SLIM = pt_t::width + eta_t::width + phi_t::width + pt_t::width + emid_t::width
 

Detailed Description

Definition at line 31 of file layer1_emulator.h.

Member Function Documentation

◆ clear()

void l1ct::EmCaloObjEmu::clear ( void  )
inline

Definition at line 35 of file layer1_emulator.h.

References l1ct::EmCaloObj::clear(), and src.

35  {
37  src = nullptr;
38  }
const l1t::PFCluster * src

◆ read()

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

◆ write()

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

Member Data Documentation

◆ src

const l1t::PFCluster* l1ct::EmCaloObjEmu::src = nullptr

Definition at line 32 of file layer1_emulator.h.

Referenced by clear().