CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
p2eg::towerHCAL Class Reference

#include <Phase2L1CaloEGammaUtils.h>

Public Member Functions

void addEt (ap_uint< 10 > newEt)
 
ap_uint< 10 > getEt ()
 
void zeroOut ()
 

Private Attributes

ap_uint< 10 > et = 0
 
ap_uint< 6 > fb = 0
 

Detailed Description

Definition at line 435 of file Phase2L1CaloEGammaUtils.h.

Member Function Documentation

◆ addEt()

void p2eg::towerHCAL::addEt ( ap_uint< 10 >  newEt)
inline

Definition at line 446 of file Phase2L1CaloEGammaUtils.h.

References et.

Referenced by Phase2L1CaloEGammaEmulator::produce().

446 { et += newEt; };

◆ getEt()

ap_uint<10> p2eg::towerHCAL::getEt ( )
inline

Definition at line 449 of file Phase2L1CaloEGammaUtils.h.

References et.

Referenced by Phase2L1CaloEGammaEmulator::produce().

449 { return et; };

◆ zeroOut()

void p2eg::towerHCAL::zeroOut ( )
inline

Definition at line 442 of file Phase2L1CaloEGammaUtils.h.

References et, and fb.

Referenced by p2eg::towers3x4::zeroOut().

442  {
443  et = 0;
444  fb = 0;
445  };

Member Data Documentation

◆ et

ap_uint<10> p2eg::towerHCAL::et = 0
private

Definition at line 437 of file Phase2L1CaloEGammaUtils.h.

Referenced by addEt(), getEt(), and zeroOut().

◆ fb

ap_uint<6> p2eg::towerHCAL::fb = 0
private

Definition at line 438 of file Phase2L1CaloEGammaUtils.h.

Referenced by zeroOut().