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

Constructor & Destructor Documentation

◆ crystal() [1/2]

p2eg::crystal::crystal ( )
inline

Definition at line 578 of file Phase2L1CaloEGammaUtils.h.

References energy.

578  {
579  energy = 0;
580  // timing = 0;
581  }

◆ crystal() [2/2]

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

Definition at line 583 of file Phase2L1CaloEGammaUtils.h.

References energy.

583  { // To-do: add timing information
584  this->energy = energy;
585  // this->timing = 0;
586  }

Member Function Documentation

◆ operator=()

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

Definition at line 588 of file Phase2L1CaloEGammaUtils.h.

References energy.

588  {
589  energy = rhs.energy;
590  // timing = rhs.timing;
591  return *this;
592  }

Member Data Documentation

◆ energy

ap_uint<10> p2eg::crystal::energy

Definition at line 576 of file Phase2L1CaloEGammaUtils.h.

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