CMS 3D CMS Logo

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

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:21
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:63
double m_componentLsb
tuple lut
Definition: lumiPlot.py:244
const L1CaloEtScale * m_etScale
unsigned linScaleMax() const
Definition: L1CaloEtScale.h:45
unsigned rankScaleMax() const
Definition: L1CaloEtScale.h:48