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 ()
 
 towerHCAL ()
 
 towerHCAL (const towerHCAL &other)
 
void zeroOut ()
 

Private Attributes

ap_uint< 10 > et
 
ap_uint< 6 > fb
 

Detailed Description

Definition at line 435 of file Phase2L1CaloEGammaUtils.h.

Constructor & Destructor Documentation

◆ towerHCAL() [1/2]

p2eg::towerHCAL::towerHCAL ( )
inline

Definition at line 442 of file Phase2L1CaloEGammaUtils.h.

References et, and fb.

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

◆ towerHCAL() [2/2]

p2eg::towerHCAL::towerHCAL ( const towerHCAL other)
inline

Definition at line 448 of file Phase2L1CaloEGammaUtils.h.

References et, fb, and trackingPlots::other.

448  {
449  et = other.et;
450  fb = other.fb;
451  };

Member Function Documentation

◆ addEt()

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

Definition at line 458 of file Phase2L1CaloEGammaUtils.h.

References et.

Referenced by Phase2L1CaloEGammaEmulator::produce().

458 { et += newEt; };

◆ getEt()

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

Definition at line 461 of file Phase2L1CaloEGammaUtils.h.

References et.

Referenced by Phase2L1CaloEGammaEmulator::produce().

461 { return et; };

◆ zeroOut()

void p2eg::towerHCAL::zeroOut ( )
inline

Definition at line 454 of file Phase2L1CaloEGammaUtils.h.

References et, and fb.

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

454  {
455  et = 0;
456  fb = 0;
457  };

Member Data Documentation

◆ et

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

Definition at line 437 of file Phase2L1CaloEGammaUtils.h.

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

◆ fb

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

Definition at line 438 of file Phase2L1CaloEGammaUtils.h.

Referenced by towerHCAL(), and zeroOut().