CMS 3D CMS Logo

Public Member Functions | Private Attributes

ESSample Class Reference

#include <ESSample.h>

List of all members.

Public Member Functions

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

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.

{ theSample = 0; }
ESSample::ESSample ( int16_t  data) [inline]

Definition at line 12 of file ESSample.h.

References AlCaHLTBitMon_QueryRunRegistry::data, and theSample.

{ theSample = data; }
ESSample::ESSample ( int  adc)

Definition at line 3 of file ESSample.cc.

References theSample.

                          {
  theSample = (int16_t)adc;
}

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.

{ return theSample; }
int16_t ESSample::raw ( ) const [inline]

get the raw word

Definition at line 16 of file ESSample.h.

References theSample.

{ return theSample; }

Member Data Documentation

int16_t ESSample::theSample [private]

Definition at line 24 of file ESSample.h.

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