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.

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

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

EcalMGPASample::gainId
int gainId() const
get the gainId (2 bits)
Definition: EcalMGPASample.h:33
EcalMGPASample::adc
int adc() const
get the ADC sample (12 bits)
Definition: EcalMGPASample.h:31
alignCSCRings.s
s
Definition: alignCSCRings.py:92