![]() |
|
|||
File indexing completed on 2024-04-06 12:04:04
0001 #include "DataFormats/EcalDigi/interface/EcalMGPASample.h" 0002 #include <iostream> 0003 0004 EcalMGPASample::EcalMGPASample(int adc, int gainId) { theSample = (adc & 0xFFF) | ((gainId & 0x3) << 12); } 0005 0006 std::ostream& operator<<(std::ostream& s, const EcalMGPASample& samp) { 0007 s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId(); 0008 return s; 0009 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |