CMS 3D CMS Logo

Classes | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/L1Trigger/GlobalCaloTrigger/interface/L1GctHfEtSumsLut.h File Reference

#include "L1Trigger/GlobalCaloTrigger/src/L1GctLut.h"
#include <vector>

Go to the source code of this file.

Classes

class  L1GctHfEtSumsLut
 LUT for compression of HF Et sum to output format. More...

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(), L1GctHfEtSumsLut::m_lutFunction, and cond::rpcobtemp::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;
}