test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 7 of file EcalFEMSample.cc.

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

7  {
8  s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId();
9  return s;
10 }
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