test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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(), TauDecayModes::dec, L1GctInternHtMiss::htx(), L1GctInternHtMiss::hty(), L1GctInternHtMiss::isThereHtx(), L1GctInternHtMiss::isThereHty(), and L1GctInternHtMiss::overflow().

171 {
172  os << " L1GctInternHtMiss: htx=";
173  if(rhs.isThereHtx()) { os << rhs.htx(); }
174  else { os << "n/a"; }
175  os << ", hty=";
176  if(rhs.isThereHty()) { os << rhs.hty(); }
177  else { os << "n/a"; }
178  if (rhs.overflow()) { os << "; overflow set"; }
179  os << "; cap block=0x" << std::hex << rhs.capBlock() << std::dec
180  << ", index=" << rhs.capIndex()
181  << ", BX=" << rhs.bx();
182  return os;
183 }
bool overflow() const
Get overflow.
uint16_t capIndex() const
Get index within capture block.
bool isThereHty() const
Is there a valid Ht y-component stored?
int16_t hty() const
Get Ht y-component.
bool isThereHtx() const
Is there a valid Ht x-component stored?
uint16_t capBlock() const
Get capture block.
int16_t bx() const
Get BX number.
int16_t htx() const
Get Ht x-component value.