CMS 3D CMS Logo

Functions
EcalMGPASample.cc File Reference
#include "DataFormats/EcalDigi/interface/EcalMGPASample.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 6 of file EcalMGPASample.cc.

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

6  {
7  s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId();
8  return s;
9 }
int adc() const
get the ADC sample (12 bits)
int gainId() const
get the gainId (2 bits)