test
CMS 3D CMS Logo

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