CMS 3D CMS Logo

Classes | Functions
L1GctHtMissLut.h File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctLut.h"
#include <vector>

Go to the source code of this file.

Classes

class  L1GctHtMissLut
 LUT for conversion of Ht components x and y to magnitude and angle. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const L1GctHtMissLut &lut)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const L1GctHtMissLut lut 
)

Definition at line 84 of file L1GctHtMissLut.cc.

References L1CaloEtScale::getThresholds(), L1CaloEtScale::linScaleMax(), L1GctHtMissLut::m_componentLsb, L1GctHtMissLut::m_etScale, l1tGTMenu_BTagSeeds_cff::os, L1CaloEtScale::rankScaleMax(), groupFilesInBlocks::temp, and particleFlowZeroSuppressionECAL_cff::thresholds.

84  {
85  os << "===L1GctHtMissLut===" << std::endl;
86  std::vector<double> thresholds = lut.m_etScale->getThresholds();
87  std::vector<double>::const_iterator thr = thresholds.begin();
88  os << "Thresholds are: " << *(thr++);
89  for (; thr != thresholds.end(); thr++) {
90  os << ", " << *thr;
91  }
92  os << std::endl;
93  os << "Max values for input to et scale " << lut.m_etScale->linScaleMax() << " and for output "
94  << lut.m_etScale->rankScaleMax() << std::endl;
95  os << "LSB used for conversion is " << lut.m_componentLsb << " GeV" << std::endl;
96  os << "\n===Lookup table contents===\n" << std::endl;
98  os << *temp;
99  return os;
100 }
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:66
Base class for LookUp Tables.
Definition: L1GctLut.h:19
unsigned linScaleMax() const
Definition: L1CaloEtScale.h:48
double m_componentLsb
const L1CaloEtScale * m_etScale
unsigned rankScaleMax() const
Definition: L1CaloEtScale.h:51