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

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

Definition at line 70 of file L1GctHfEtSumsLut.cc.

References L1CaloEtScale::getThresholds(), lumiPlot::lut, L1GctHfEtSumsLut::m_lutFunction, groupFilesInBlocks::temp, and particleFlowRecHitECAL_cfi::thresholds.

71 {
72  os << "===L1GctHfEtSumsLut===" << std::endl;
73  std::vector<double> thresholds = lut.m_lutFunction->getThresholds();
74  std::vector<double>::const_iterator thr = thresholds.begin();
75  os << "Thresholds are: " << *(thr++);
76  for ( ; thr != thresholds.end(); thr++) {
77  os << ", " << *thr;
78  }
79  os << std::endl;
80  os << "\n===Lookup table contents===\n" << std::endl;
82  os << *temp;
83  return os;
84 }
const L1CaloEtScale * m_lutFunction
Base class for LookUp Tables.
Definition: L1GctLut.h:20
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:65