CMS 3D CMS Logo

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

#include <Phase2L1CaloEGammaUtils.h>

Public Member Functions

 crystal ()
 
 crystal (ap_uint< 10 > energy)
 
crystaloperator= (const crystal &rhs)
 

Public Attributes

ap_uint< 10 > energy
 

Detailed Description

Definition at line 528 of file Phase2L1CaloEGammaUtils.h.

Constructor & Destructor Documentation

◆ crystal() [1/2]

p2eg::crystal::crystal ( )
inline

Definition at line 532 of file Phase2L1CaloEGammaUtils.h.

References energy.

532  {
533  energy = 0;
534  // timing = 0;
535  }

◆ crystal() [2/2]

p2eg::crystal::crystal ( ap_uint< 10 >  energy)
inline

Definition at line 537 of file Phase2L1CaloEGammaUtils.h.

References energy.

537  { // To-do: add timing information
538  this->energy = energy;
539  // this->timing = 0;
540  }

Member Function Documentation

◆ operator=()

crystal& p2eg::crystal::operator= ( const crystal rhs)
inline

Definition at line 542 of file Phase2L1CaloEGammaUtils.h.

References energy.

542  {
543  energy = rhs.energy;
544  // timing = rhs.timing;
545  return *this;
546  }

Member Data Documentation

◆ energy

ap_uint<10> p2eg::crystal::energy

Definition at line 530 of file Phase2L1CaloEGammaUtils.h.

Referenced by crystal(), operator=(), and Jet.Jet::rawEnergy().