CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
L1GctInternHtMiss.h File Reference
#include <ostream>
#include <cstdint>

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 135 of file L1GctInternHtMiss.cc.

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

135  {
136  os << " L1GctInternHtMiss: htx=";
137  if (rhs.isThereHtx()) {
138  os << rhs.htx();
139  } else {
140  os << "n/a";
141  }
142  os << ", hty=";
143  if (rhs.isThereHty()) {
144  os << rhs.hty();
145  } else {
146  os << "n/a";
147  }
148  if (rhs.overflow()) {
149  os << "; overflow set";
150  }
151  os << "; cap block=0x" << std::hex << rhs.capBlock() << std::dec << ", index=" << rhs.capIndex()
152  << ", BX=" << rhs.bx();
153  return os;
154 }
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.