00001
00002
00003
00004
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