CMS 3D CMS Logo

HcalQIESample.cc
Go to the documentation of this file.
2 
3 std::ostream& operator<<(std::ostream& s, const HcalQIESample& samp) {
4  s << "ADC=" << samp.adc() << ", capid=" << samp.capid();
5  if (samp.er()) s << ", ER";
6  if (samp.dv()) s << ", DV";
7  return s;
8 }
9 
constexpr bool er() const
is the error bit set?
Definition: HcalQIESample.h:69
std::ostream & operator<<(std::ostream &s, const HcalQIESample &samp)
Definition: HcalQIESample.cc:3
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