CMS 3D CMS Logo

Classes | Functions
L1GctUnsignedInt.h File Reference
#include <ostream>

Go to the source code of this file.

Classes

class  L1GctUnsignedInt< nBits >
 Definition of unsigned integer types with overflow. More...
 

Functions

template<int nBits>
std::ostream & operator<< (std::ostream &s, const L1GctUnsignedInt< nBits > &data)
 

Function Documentation

template<int nBits>
std::ostream & operator<< ( std::ostream &  s,
const L1GctUnsignedInt< nBits > &  data 
)

Definition at line 151 of file L1GctUnsignedInt.h.

References data, and alignCSCRings::s.

151  {
152  s << "L1GctUnsignedInt value : " << data.value();
153  if (data.overFlow()) {
154  s << " Overflow set! ";
155  }
156 
157  return s;
158 }
unsigned value() const
access value as unsigned
bool overFlow() const
access overflow