CMS 3D CMS Logo

Functions
L1GctHfEtSumsLut.cc File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctHfEtSumsLut.h"
#include "CondFormats/L1TObjects/interface/L1CaloEtScale.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 43 of file L1GctHfEtSumsLut.cc.

References L1CaloEtScale::getThresholds(), L1GctHfEtSumsLut::m_lutFunction, groupFilesInBlocks::temp, and particleFlowZeroSuppressionECAL_cff::thresholds.

43  {
44  os << "===L1GctHfEtSumsLut===" << std::endl;
45  std::vector<double> thresholds = lut.m_lutFunction->getThresholds();
46  std::vector<double>::const_iterator thr = thresholds.begin();
47  os << "Thresholds are: " << *(thr++);
48  for (; thr != thresholds.end(); thr++) {
49  os << ", " << *thr;
50  }
51  os << std::endl;
52  os << "\n===Lookup table contents===\n" << std::endl;
54  os << *temp;
55  return os;
56 }
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:66
const L1CaloEtScale * m_lutFunction
Base class for LookUp Tables.
Definition: L1GctLut.h:19