CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/L1Trigger/GlobalCaloTrigger/src/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, and groupFilesInBlocks::temp.

{
  os << "===L1GctHfEtSumsLut===" << std::endl;
  std::vector<double> thresholds = lut.m_lutFunction->getThresholds();
  std::vector<double>::const_iterator thr = thresholds.begin();
  os << "Thresholds are: " << *(thr++);
  for ( ; thr != thresholds.end(); thr++) {
    os << ", " << *thr;
  }
  os << std::endl;
  os << "\n===Lookup table contents===\n" << std::endl;
  const L1GctLut<L1GctHfEtSumsLut::NAddress,L1GctHfEtSumsLut::NData>* temp=&lut;
  os << *temp;
  return os;
}