CMS 3D CMS Logo

EcalTBTDCSample.cc

Go to the documentation of this file.
00001 #include "TBDataFormats/EcalTBObjects/interface/EcalTBTDCSample.h"
00002 
00003 
00004 EcalTBTDCSample::EcalTBTDCSample(unsigned int tdcChan, unsigned int tdcVal) {
00005   theSample=(tdcVal&0xFFFFFF) | ((tdcChan&0xFF)<<24);
00006 }
00007 
00008 std::ostream& operator<<(std::ostream& s, const EcalTBTDCSample& samp) {
00009   s << "TDC Channel=" << samp.tdcChannel() << ", Value=" << samp.tdcValue();
00010   return s;
00011 }

Generated on Tue Jun 9 17:48:05 2009 for CMSSW by  doxygen 1.5.4