CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 er() const
is the error bit set?
Definition: HcalQIESample.h:51
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
constexpr int adc() const
get the ADC sample
Definition: HcalQIESample.h:43
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