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.

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 }

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

particleFlowZeroSuppressionECAL_cff.thresholds
thresholds
Definition: particleFlowZeroSuppressionECAL_cff.py:31
L1GctHfEtSumsLut::m_lutFunction
const L1CaloEtScale * m_lutFunction
Definition: L1GctHfEtSumsLut.h:78
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
L1CaloEtScale::getThresholds
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:66
L1GctLut
Base class for LookUp Tables.
Definition: L1GctLut.h:19