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

Constructor & Destructor Documentation

◆ crystal() [1/2]

p2eg::crystal::crystal ( )
inline

Definition at line 527 of file Phase2L1CaloEGammaUtils.h.

References energy.

527  {
528  energy = 0;
529  // timing = 0;
530  }

◆ crystal() [2/2]

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

Definition at line 532 of file Phase2L1CaloEGammaUtils.h.

References energy.

532  { // To-do: add timing information
533  this->energy = energy;
534  // this->timing = 0;
535  }

Member Function Documentation

◆ operator=()

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

Definition at line 537 of file Phase2L1CaloEGammaUtils.h.

References energy.

537  {
538  energy = rhs.energy;
539  // timing = rhs.timing;
540  return *this;
541  }

Member Data Documentation

◆ energy

ap_uint<10> p2eg::crystal::energy

Definition at line 525 of file Phase2L1CaloEGammaUtils.h.

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