CMS 3D CMS Logo

Classes | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/L1Trigger/GlobalCaloTrigger/interface/L1GctHtMissLut.h File Reference

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

Go to the source code of this file.

Classes

class  L1GctHtMissLut
 LUT for conversion of Ht components x and y to magnitude and angle. More...

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;
}