CMS 3D CMS Logo

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

#include <layer1_emulator.h>

Inheritance diagram for l1ct::PFNeutralObjEmu:
l1ct::PFNeutralObj l1ct::PFCommonObj

Public Member Functions

void clear ()
 
bool read (std::fstream &from)
 
bool write (std::fstream &to) const
 
- Public Member Functions inherited from l1ct::PFNeutralObj
void clear ()
 
float floatEmPt () const
 
int intEmPt () const
 
bool operator< (const PFNeutralObj &other) const
 
bool operator== (const PFNeutralObj &other) const
 
bool operator> (const PFNeutralObj &other) const
 
ap_uint< BITWIDTHpack () const
 
- Public Member Functions inherited from l1ct::PFCommonObj
float floatEta () const
 
float floatPhi () const
 
float floatPt () const
 
int intCharge () const
 
int intEta () const
 
int intId () const
 
int intPhi () const
 
int intPt () const
 
int oldId () const
 
template<typename U >
void pack_common (U &out, unsigned int &start) const
 
int pdgId () const
 
template<typename U >
void unpack_common (const U &src, unsigned int &start)
 

Public Attributes

const l1t::PFCandidatesrcCand = nullptr
 
const l1t::PFClustersrcCluster = nullptr
 
- Public Attributes inherited from l1ct::PFNeutralObj
emid_t hwEmID
 
pt_t hwEmPt
 
ap_uint< 6 > hwPUID
 
- Public Attributes inherited from l1ct::PFCommonObj
eta_t hwEta
 
ParticleID hwId
 
phi_t hwPhi
 
pt_t hwPt
 

Additional Inherited Members

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

Detailed Description

Definition at line 88 of file layer1_emulator.h.

Member Function Documentation

◆ clear()

void l1ct::PFNeutralObjEmu::clear ( void  )
inline

Definition at line 93 of file layer1_emulator.h.

References l1ct::PFNeutralObj::clear(), srcCand, and srcCluster.

93  {
95  srcCluster = nullptr;
96  srcCand = nullptr;
97  }
const l1t::PFCluster * srcCluster
void clear()
Definition: pf.h:125
const l1t::PFCandidate * srcCand

◆ read()

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

◆ write()

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

Member Data Documentation

◆ srcCand

const l1t::PFCandidate* l1ct::PFNeutralObjEmu::srcCand = nullptr

Definition at line 90 of file layer1_emulator.h.

Referenced by clear().

◆ srcCluster

const l1t::PFCluster* l1ct::PFNeutralObjEmu::srcCluster = nullptr

Definition at line 89 of file layer1_emulator.h.

Referenced by clear().