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.

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

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 }
constexpr bool dv() const
is the Data Valid bit set?
Definition: HcalQIESample.h:49
constexpr int capid() const
get the Capacitor id
Definition: HcalQIESample.h:47
constexpr bool er() const
is the error bit set?
Definition: HcalQIESample.h:51
constexpr int adc() const
get the ADC sample
Definition: HcalQIESample.h:43