CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_10/src/L1Trigger/GlobalCaloTrigger/src/L1GctTwosComplement.h File Reference

#include <boost/cstdint.hpp>
#include <ostream>

Go to the source code of this file.

Classes

class  L1GctTwosComplement< nBits >
 Definition of signed integer types with overflow. More...

Functions

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

Function Documentation

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

Definition at line 241 of file L1GctTwosComplement.h.

References data, and alignCSCRings::s.

                                                                              {

  s << "L1GctTwosComplement<" << data.size() << "> raw : " << data.raw() << ", " << "value : " << data.value();
  if (data.overFlow()) { s << " Overflow set! "; }

  return s;

}