CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DataFormats/EcalDigi/src/ESSample.cc

Go to the documentation of this file.
00001 #include "DataFormats/EcalDigi/interface/ESSample.h"
00002 
00003 ESSample::ESSample(int adc) {
00004   theSample = (int16_t)adc;
00005 }
00006 
00007 std::ostream& operator<<(std::ostream& s, const ESSample& samp) {
00008   s << "ADC = " << samp.adc() ;
00009   return s;
00010 }