CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/L1Trigger/GlobalCaloTrigger/src/L1GctHtMissLut.cc File Reference

#include "L1Trigger/GlobalCaloTrigger/interface/L1GctHtMissLut.h"
#include "CondFormats/L1TObjects/interface/L1CaloEtScale.h"
#include <math.h>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 102 of file L1GctHtMissLut.cc.

References L1CaloEtScale::getThresholds(), L1CaloEtScale::linScaleMax(), lumiPlot::lut, L1GctHtMissLut::m_componentLsb, L1GctHtMissLut::m_etScale, L1CaloEtScale::rankScaleMax(), and groupFilesInBlocks::temp.

{
  os << "===L1GctHtMissLut===" << std::endl;
  std::vector<double> thresholds = lut.m_etScale->getThresholds();
  std::vector<double>::const_iterator thr = thresholds.begin();
  os << "Thresholds are: " << *(thr++);
  for ( ; thr != thresholds.end(); thr++) {
    os << ", " << *thr;
  }
  os << std::endl;
  os << "Max values for input to et scale " << lut.m_etScale->linScaleMax()
     << " and for output " << lut.m_etScale->rankScaleMax() << std::endl;
  os << "LSB used for conversion is " << lut.m_componentLsb << " GeV" << std::endl;
  os << "\n===Lookup table contents===\n" << std::endl;
  const L1GctLut<L1GctHtMissLut::NAddress,L1GctHtMissLut::NData>* temp=&lut;
  os << *temp;
  return os;
}