CMS 3D CMS Logo

L1GctHfEtSumsLut.cc File Reference

#include "L1Trigger/GlobalCaloTrigger/interface/L1GctHfEtSumsLut.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 46 of file L1GctHfEtSumsLut.cc.

References lat::endl(), L1GctHfLutSetup::getThresholds(), L1GctHfEtSumsLut::m_lutFunction, L1GctHfEtSumsLut::m_lutType, and pyDBSRunClass::temp.

00047 {
00048   os << "===L1GctHfEtSumsLut===" << std::endl;
00049   std::vector<unsigned> thresholds = lut.m_lutFunction->getThresholds(lut.m_lutType);
00050   std::vector<unsigned>::const_iterator thr = thresholds.begin();
00051   os << "Thresholds are: " << *(thr++);
00052   for ( ; thr != thresholds.end(); thr++) {
00053     os << ", " << *thr;
00054   }
00055   os << std::endl;
00056   os << "\n===Lookup table contents===\n" << std::endl;
00057   const L1GctLut<L1GctHfEtSumsLut::NAddress,L1GctHfEtSumsLut::NData>* temp=&lut;
00058   os << *temp;
00059   return os;
00060 }


Generated on Tue Jun 9 17:54:36 2009 for CMSSW by  doxygen 1.5.4