CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
L1GctHfEtSumsLut.cc File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctHfEtSumsLut.h"
#include "CondFormats/L1TObjects/interface/L1CaloEtScale.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 43 of file L1GctHfEtSumsLut.cc.

References L1CaloEtScale::getThresholds(), L1GctHfEtSumsLut::m_lutFunction, groupFilesInBlocks::temp, and lowPtGsfElectronSeeds_cfi::thresholds().

43  {
44  os << "===L1GctHfEtSumsLut===" << std::endl;
45  std::vector<double> thresholds = lut.m_lutFunction->getThresholds();
46  std::vector<double>::const_iterator thr = thresholds.begin();
47  os << "Thresholds are: " << *(thr++);
48  for (; thr != thresholds.end(); thr++) {
49  os << ", " << *thr;
50  }
51  os << std::endl;
52  os << "\n===Lookup table contents===\n" << std::endl;
54  os << *temp;
55  return os;
56 }
const L1CaloEtScale * m_lutFunction
Base class for LookUp Tables.
Definition: L1GctLut.h:19
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:66