ADCDigit.cxx

Go to the documentation of this file.
00001 ////////////////////////////////////////////////////////////////////////
00002 /// $Id: ADCDigit.cxx,v 1.2 2004/04/17 21:51:26 lebedev Exp $
00003 ///
00004 /// Class for a generic digit. 
00005 ////////////////////////////////////////////////////////////////////////
00006 
00007 #include "RawData/ADCDigit.h"
00008 #include <iostream>
00009 
00010 ClassImp(ADCDigit)
00011 
00012 //----------------------------------------------------------------------
00013 
00014 std::ostream& operator<<(std::ostream& os, const ADCDigit& d)
00015 {
00016   os << "ADCDigit: chan = " << d.fChannel << ", ADC = " << d.fADC;
00017   return os;
00018 }
00019 
00020 //----------------------------------------------------------------------
00021 
00022 ADCDigit::ADCDigit() :
00023   fADC(-1),
00024   fChannel(-1)
00025 {
00026 }
00027 
00028 //----------------------------------------------------------------------
00029 
00030 ADCDigit::ADCDigit(short nChan, short adc) :
00031   fADC(adc),
00032   fChannel(nChan)
00033 {
00034 }
00035 
00036 ////////////////////////////////////////////////////////////////////////

Generated on Mon Nov 23 08:01:43 2009 for MIPP(E907) by  doxygen 1.4.7