CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ESSample Class Reference

#include <ESSample.h>

Public Member Functions

int adc () const
 get the ADC sample (singed 16 bits) More...
 
 ESSample ()
 
 ESSample (int16_t data)
 
 ESSample (int adc)
 
int16_t operator() ()
 for streaming More...
 
int16_t raw () const
 get the raw word More...
 

Private Attributes

int16_t theSample
 

Detailed Description

Definition at line 7 of file ESSample.h.

Constructor & Destructor Documentation

ESSample::ESSample ( )
inline

Definition at line 11 of file ESSample.h.

References theSample.

11 { theSample = 0; }
int16_t theSample
Definition: ESSample.h:24
ESSample::ESSample ( int16_t  data)
inline

Definition at line 12 of file ESSample.h.

References runTheMatrix::data, and theSample.

12 { theSample = data; }
int16_t theSample
Definition: ESSample.h:24
ESSample::ESSample ( int  adc)

Definition at line 3 of file ESSample.cc.

References theSample.

3  {
4  theSample = (int16_t)adc;
5 }
int16_t theSample
Definition: ESSample.h:24
int adc() const
get the ADC sample (singed 16 bits)
Definition: ESSample.h:18

Member Function Documentation

int ESSample::adc ( ) const
inline
int16_t ESSample::operator() ( )
inline

for streaming

Definition at line 20 of file ESSample.h.

References theSample.

20 { return theSample; }
int16_t theSample
Definition: ESSample.h:24
int16_t ESSample::raw ( ) const
inline

get the raw word

Definition at line 16 of file ESSample.h.

References theSample.

16 { return theSample; }
int16_t theSample
Definition: ESSample.h:24

Member Data Documentation

int16_t ESSample::theSample
private

Definition at line 24 of file ESSample.h.

Referenced by adc(), ESSample(), operator()(), and raw().