Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:04

0001 #include "DataFormats/EcalDigi/interface/EcalFEMSample.h"
0002 
0003 EcalFEMSample::EcalFEMSample(int adc, int gainId) { theSample = (adc & 0xFFF) | ((gainId & 0x3) << 12); }
0004 
0005 std::ostream& operator<<(std::ostream& s, const EcalFEMSample& samp) {
0006   s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId();
0007   return s;
0008 }