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 floatPhi () const
 
float floatPt () const
 
float floatPtErr () 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
 

Public Attributes

const l1t::PFClustersrc = nullptr
 
- Public Attributes inherited from l1ct::EmCaloObj
emid_t hwEmID
 
eta_t hwEta
 
phi_t hwPhi
 
pt_t hwPt
 
pt_t hwPtErr
 

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 = 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().