CMS 3D CMS Logo

Functions
HcalQIESample.cc File Reference
#include "DataFormats/HcalDigi/interface/HcalQIESample.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 3 of file HcalQIESample.cc.

3  {
4  s << "ADC=" << samp.adc() << ", capid=" << samp.capid();
5  if (samp.er())
6  s << ", ER";
7  if (samp.dv())
8  s << ", DV";
9  return s;
10 }

References HcalQIESample::adc(), HcalQIESample::capid(), HcalQIESample::dv(), HcalQIESample::er(), and alignCSCRings::s.

HcalQIESample::adc
constexpr int adc() const
get the ADC sample
Definition: HcalQIESample.h:43
HcalQIESample::er
constexpr bool er() const
is the error bit set?
Definition: HcalQIESample.h:51
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalQIESample::capid
constexpr int capid() const
get the Capacitor id
Definition: HcalQIESample.h:47
HcalQIESample::dv
constexpr bool dv() const
is the Data Valid bit set?
Definition: HcalQIESample.h:49