CMS 3D CMS Logo

Functions
L1GctHtMissLut.cc File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctHtMissLut.h"
#include "CondFormats/L1TObjects/interface/L1CaloEtScale.h"
#include <cmath>

Go to the source code of this file.

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.

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 }

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

L1GctHtMissLut::m_etScale
const L1CaloEtScale * m_etScale
Definition: L1GctHtMissLut.h:65
particleFlowZeroSuppressionECAL_cff.thresholds
thresholds
Definition: particleFlowZeroSuppressionECAL_cff.py:31
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
L1CaloEtScale::rankScaleMax
unsigned rankScaleMax() const
Definition: L1CaloEtScale.h:51
L1CaloEtScale::linScaleMax
unsigned linScaleMax() const
Definition: L1CaloEtScale.h:48
L1CaloEtScale::getThresholds
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:66
L1GctLut
Base class for LookUp Tables.
Definition: L1GctLut.h:19
L1GctHtMissLut::m_componentLsb
double m_componentLsb
Definition: L1GctHtMissLut.h:67