CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 5 of file EcalFEMSample.cc.

5  {
6  s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId();
7  return s;
8 }

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

EcalFEMSample::gainId
int gainId() const
get the gainId (2 bits)
Definition: EcalFEMSample.h:25
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalFEMSample::adc
int adc() const
get the ADC sample (12 bits)
Definition: EcalFEMSample.h:23