CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Typedefs | Functions
EcalMGPASample.h File Reference
#include <iosfwd>
#include <boost/cstdint.hpp>

Go to the source code of this file.

Classes

class  EcalMGPASample
 

Namespaces

 ecalMGPA
 

Typedefs

typedef uint16_t ecalMGPA::sample_type
 

Functions

int ecalMGPA::adc (sample_type sample)
 get the ADC sample (12 bits) More...
 
int ecalMGPA::gainId (sample_type sample)
 get the gainId (2 bits) More...
 
std::ostream & operator<< (std::ostream &, const EcalMGPASample &)
 
sample_type ecalMGPA::pack (int adc, int gainId)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const EcalMGPASample  
)

Definition at line 8 of file EcalMGPASample.cc.

References EcalMGPASample::adc(), EcalMGPASample::gainId(), and alignCSCRings::s.

8  {
9  s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId();
10  return s;
11 }