CMS 3D CMS Logo

Functions
L1GctInternHtMiss.cc File Reference
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctInternHtMiss.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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.
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.
bool isThereHty() const
Is there a valid Ht y-component stored?
int16_t htx() const
Get Ht x-component value.
uint16_t capIndex() const
Get index within capture block.