CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_3/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(), 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;
}