CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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.

103 {
104  os << "===L1GctHtMissLut===" << std::endl;
105  std::vector<double> thresholds = lut.m_etScale->getThresholds();
106  std::vector<double>::const_iterator thr = thresholds.begin();
107  os << "Thresholds are: " << *(thr++);
108  for ( ; thr != thresholds.end(); thr++) {
109  os << ", " << *thr;
110  }
111  os << std::endl;
112  os << "Max values for input to et scale " << lut.m_etScale->linScaleMax()
113  << " and for output " << lut.m_etScale->rankScaleMax() << std::endl;
114  os << "LSB used for conversion is " << lut.m_componentLsb << " GeV" << std::endl;
115  os << "\n===Lookup table contents===\n" << std::endl;
117  os << *temp;
118  return os;
119 }
Base class for LookUp Tables.
Definition: L1GctLut.h:20
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:65
double m_componentLsb
tuple lut
Definition: lumiPlot.py:244
const L1CaloEtScale * m_etScale
unsigned linScaleMax() const
Definition: L1CaloEtScale.h:47
unsigned rankScaleMax() const
Definition: L1CaloEtScale.h:50