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())
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
std::ostream & operator<<(std::ostream &s, const HcalQIESample &samp)
Definition: HcalQIESample.cc:3
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