CMS 3D CMS Logo

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

#include <layer1_emulator.h>

Inheritance diagram for l1ct::PFChargedObjEmu:
l1ct::PFChargedObj l1ct::PFCommonObj

Public Member Functions

void clear ()
 
bool read (std::fstream &from)
 
bool write (std::fstream &to) const
 
- Public Member Functions inherited from l1ct::PFChargedObj
void clear ()
 
float floatDEta () const
 
float floatDPhi () const
 
float floatDxy () const
 
float floatVtxEta () const
 
float floatVtxPhi () const
 
float floatZ0 () const
 
eta_t hwVtxEta () const
 
phi_t hwVtxPhi () const
 
int intVtxEta () const
 
int intVtxPhi () const
 
bool operator< (const PFChargedObj &other) const
 
bool operator== (const PFChargedObj &other) const
 
bool operator> (const PFChargedObj &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
 
const l1t::SAMuonsrcMu = nullptr
 
const l1t::PFTracksrcTrack = nullptr
 
- Public Attributes inherited from l1ct::PFChargedObj
tkdeta_t hwDEta
 
tkdphi_t hwDPhi
 
dxy_t hwDxy
 
tkquality_t hwTkQuality
 
z0_t hwZ0
 
- 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::PFChargedObj
static PFChargedObj unpack (const ap_uint< BITWIDTH > &src)
 
- Static Public Attributes inherited from l1ct::PFChargedObj
static const int BITWIDTH
 
- 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 72 of file layer1_emulator.h.

Member Function Documentation

◆ clear()

void l1ct::PFChargedObjEmu::clear ( void  )
inline

Definition at line 79 of file layer1_emulator.h.

References l1ct::PFChargedObj::clear(), srcCand, srcCluster, srcMu, and srcTrack.

Referenced by BeautifulSoup.Tag::setString().

79  {
81  srcCluster = nullptr;
82  srcTrack = nullptr;
83  srcMu = nullptr;
84  srcCand = nullptr;
85  }
void clear()
Definition: pf.h:64
const l1t::SAMuon * srcMu
const l1t::PFCandidate * srcCand
const l1t::PFCluster * srcCluster
const l1t::PFTrack * srcTrack

◆ read()

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

◆ write()

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

Member Data Documentation

◆ srcCand

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

Definition at line 76 of file layer1_emulator.h.

Referenced by clear().

◆ srcCluster

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

Definition at line 73 of file layer1_emulator.h.

Referenced by clear().

◆ srcMu

const l1t::SAMuon* l1ct::PFChargedObjEmu::srcMu = nullptr

Definition at line 75 of file layer1_emulator.h.

Referenced by clear().

◆ srcTrack

const l1t::PFTrack* l1ct::PFChargedObjEmu::srcTrack = nullptr

Definition at line 74 of file layer1_emulator.h.

Referenced by clear().