CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ESSample.cc
Go to the documentation of this file.
2 
3 ESSample::ESSample(int adc) { theSample = (int16_t)adc; }
4 
5 std::ostream& operator<<(std::ostream& s, const ESSample& samp) {
6  s << "ADC = " << samp.adc();
7  return s;
8 }
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
ESSample()
Definition: ESSample.h:9
int16_t theSample
Definition: ESSample.h:21
int adc() const
get the ADC sample (singed 16 bits)
Definition: ESSample.h:16
uint16_t *__restrict__ uint16_t const *__restrict__ adc