CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
EcalFEMSample.cc File Reference
#include "DataFormats/EcalDigi/interface/EcalFEMSample.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const EcalFEMSample &samp)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const EcalFEMSample samp 
)

Definition at line 5 of file EcalFEMSample.cc.

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

5  {
6  s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId();
7  return s;
8 }
int adc() const
get the ADC sample (12 bits)
Definition: EcalFEMSample.h:23
int gainId() const
get the gainId (2 bits)
Definition: EcalFEMSample.h:25