CMS 3D CMS Logo

Classes | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DataFormats/L1GlobalCaloTrigger/interface/L1GctInternHtMiss.h File Reference

#include <ostream>
#include <stdint.h>

Go to the source code of this file.

Classes

class  L1GctInternHtMiss
 L1 GCT internal Ht Miss component(s) Ht_x and/or Ht_y. More...

Functions

std::ostream & operator<< (std::ostream &os, const L1GctInternHtMiss &rhs)

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const L1GctInternHtMiss rhs 
)

Definition at line 170 of file L1GctInternHtMiss.cc.

References L1GctInternHtMiss::bx(), L1GctInternHtMiss::capBlock(), L1GctInternHtMiss::capIndex(), L1GctInternHtMiss::htx(), L1GctInternHtMiss::hty(), L1GctInternHtMiss::isThereHtx(), L1GctInternHtMiss::isThereHty(), and L1GctInternHtMiss::overflow().

{
  os << " L1GctInternHtMiss:  htx=";
  if(rhs.isThereHtx()) { os << rhs.htx(); }
  else { os << "n/a"; }
  os << ", hty=";
  if(rhs.isThereHty()) { os << rhs.hty(); }
  else { os << "n/a"; }
  if (rhs.overflow()) { os << "; overflow set"; }
  os << "; cap block=0x" << std::hex << rhs.capBlock() << std::dec
     << ", index=" << rhs.capIndex()
     << ", BX=" << rhs.bx();
  return os;
}