CMS 3D CMS Logo

Classes | Functions
L1GctJetCount.h File Reference
#include "L1Trigger/GlobalCaloTrigger/src/L1GctUnsignedInt.h"
#include "L1Trigger/GlobalCaloTrigger/src/L1GctTwosComplement.h"
#include <ostream>

Go to the source code of this file.

Classes

class  L1GctJetCount< nBits >
 Definition of unsigned integer types with increment and overflow. More...
 

Functions

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

Function Documentation

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

Definition at line 143 of file L1GctJetCount.h.

References data, and alignCSCRings::s.

143  {
144  s << "L1GctJetCount value : " << data.value();
145  if (data.overFlow()) {
146  s << " Overflow set! ";
147  }
148 
149  return s;
150 }
unsigned value() const
access value as unsigned
bool overFlow() const
access overflow