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

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()) s << ", ER";
6  if (samp.dv()) s << ", DV";
7  return s;
8 }
constexpr bool er() const
is the error bit set?
Definition: HcalQIESample.h:69
constexpr int adc() const
get the ADC sample
Definition: HcalQIESample.h:59
constexpr bool dv() const
is the Data Valid bit set?
Definition: HcalQIESample.h:67
constexpr int capid() const
get the Capacitor id
Definition: HcalQIESample.h:65