CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/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 }