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 568 of file Phase2L1CaloEGammaUtils.h.

Constructor & Destructor Documentation

◆ crystal() [1/2]

p2eg::crystal::crystal ( )
inline

Definition at line 572 of file Phase2L1CaloEGammaUtils.h.

References energy.

572  {
573  energy = 0;
574  // timing = 0;
575  }

◆ crystal() [2/2]

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

Definition at line 577 of file Phase2L1CaloEGammaUtils.h.

References energy.

577  { // To-do: add timing information
578  this->energy = energy;
579  // this->timing = 0;
580  }

Member Function Documentation

◆ operator=()

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

Definition at line 582 of file Phase2L1CaloEGammaUtils.h.

References energy.

582  {
583  energy = rhs.energy;
584  // timing = rhs.timing;
585  return *this;
586  }

Member Data Documentation

◆ energy

ap_uint<10> p2eg::crystal::energy

Definition at line 570 of file Phase2L1CaloEGammaUtils.h.

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