CMS 3D CMS Logo

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 &s, const ESSample &samp)
Definition: ESSample.cc:5
int adc() const
get the ADC sample (singed 16 bits)
Definition: ESSample.h:16
ESSample()
Definition: ESSample.h:9
int16_t theSample
Definition: ESSample.h:21
uint16_t *__restrict__ uint16_t const *__restrict__ adc