CMS 3D CMS Logo

L1GctHfBitCountsLut.h File Reference

#include "CondFormats/L1TObjects/interface/L1GctHfLutSetup.h"
#include "L1Trigger/GlobalCaloTrigger/src/L1GctLut.h"
#include <vector>

Go to the source code of this file.

Classes

class  L1GctHfBitCountsLut
 LUT for compression of HF feature bit counts to output format. More...

Functions

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


Function Documentation

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

Definition at line 46 of file L1GctHfBitCountsLut.cc.

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

00047 {
00048   os << "===L1GctHfBitCountsLut===" << 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<L1GctHfBitCountsLut::NAddress,L1GctHfBitCountsLut::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