00001 #ifndef EmecCell_h 00002 #define EmecCell_h 00003 00004 /*! - Class: EmecCell 00005 - Author: Ian Gable (igable@uvic.ca) 00006 - Date: 05/20/2003 00007 - Description: EmecCell is a very simple class which currently only stores the adc 00008 number and Value. 00009 */ 00010 00011 00012 class EmecCell { 00013 00014 public: 00015 00016 00017 /** Use this contructor 00018 *@param adcNumber the number of the acd 00019 *@param signal the signal contained in cell 00020 */ 00021 EmecCell(int adcNumber,float signal); 00022 00023 //! set the signal value 00024 void signal(float signal){ m_signal = signal; }; 00025 00026 //! get the signal value 00027 float signal() { return m_signal; }; 00028 00029 //! get the adc number 00030 int adcNumber(){ return m_adcNumber; }; 00031 00032 //! set the acd number 00033 void acdNumber(int adcNumber) {m_adcNumber = adcNumber;}; 00034 00035 private: 00036 int m_adcNumber; 00037 float m_signal; //ie energy 00038 }; 00039 #endif