CMS 3D CMS Logo

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

#include <layer1_emulator.h>

Inheritance diagram for l1ct::HadCaloObjEmu:
l1ct::HadCaloObj

Public Member Functions

void clear ()
 
bool read (std::fstream &from)
 
bool write (std::fstream &to) const
 
- Public Member Functions inherited from l1ct::HadCaloObj
void clear ()
 
float floatEmPt () const
 
float floatEta () const
 
float floatPhi () const
 
float floatPt () const
 
bool hwIsEM () const
 
int intEmPt () const
 
int intEta () const
 
int intPhi () const
 
int intPt () const
 
bool operator< (const HadCaloObj &other) const
 
bool operator== (const HadCaloObj &other) const
 
bool operator> (const HadCaloObj &other) const
 
ap_uint< BITWIDTHpack () const
 

Public Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 21 of file layer1_emulator.h.

Member Function Documentation

◆ clear()

void l1ct::HadCaloObjEmu::clear ( void  )
inline

Definition at line 25 of file layer1_emulator.h.

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

25  {
27  src = nullptr;
28  }
const l1t::PFCluster * src

◆ read()

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

◆ write()

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

Member Data Documentation

◆ src

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

Definition at line 22 of file layer1_emulator.h.

Referenced by clear().