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.

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 }

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

L1GctInternHtMiss::overflow
bool overflow() const
Get overflow.
Definition: L1GctInternHtMiss.cc:104
L1GctInternHtMiss::isThereHtx
bool isThereHtx() const
Is there a valid Ht x-component stored?
Definition: L1GctInternHtMiss.h:83
L1GctInternHtMiss::hty
int16_t hty() const
Get Ht y-component.
Definition: L1GctInternHtMiss.cc:93
L1GctInternHtMiss::capBlock
uint16_t capBlock() const
Get capture block.
Definition: L1GctInternHtMiss.h:74
L1GctInternHtMiss::bx
int16_t bx() const
Get BX number.
Definition: L1GctInternHtMiss.h:80
L1GctInternHtMiss::isThereHty
bool isThereHty() const
Is there a valid Ht y-component stored?
Definition: L1GctInternHtMiss.h:88
L1GctInternHtMiss::htx
int16_t htx() const
Get Ht x-component value.
Definition: L1GctInternHtMiss.cc:82
L1GctInternHtMiss::capIndex
uint16_t capIndex() const
Get index within capture block.
Definition: L1GctInternHtMiss.h:77
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143