CMS 3D CMS Logo

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 &s, const ESSample &samp)
Definition: ESSample.cc:7
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