Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

HecCell.h

Go to the documentation of this file.
00001 #ifndef HecCell_h
00002 #define HecCell_h
00003 
00004 /*! - Class:    HecCell
00005       - Author:   Ian Gable (igable@uvic.ca)
00006       - Date:      05/09/2002
00007       - Description: HecCell is a very simple class which currently only stores the adc
00008                              number  and Value.
00009   */
00010 
00011 
00012 class HecCell {
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   HecCell(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

Generated on Fri Aug 15 10:52:04 2003 for TBRootAna by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002