CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 8 of file EcalLiteDTUSample.cc.

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

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

EcalLiteDTUSample::adc
int adc() const
get the ADC sample (12 bits)
Definition: EcalLiteDTUSample.h:34
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalLiteDTUSample::gainId
int gainId() const
get the gainId (2 bits)
Definition: EcalLiteDTUSample.h:36