CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
L1CaloEtScale.cc File Reference
#include "CondFormats/L1TObjects/interface/L1CaloEtScale.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <stdexcept>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const L1CaloEtScale obj)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const L1CaloEtScale  obj 
)

Definition at line 95 of file L1CaloEtScale.cc.

References L1CaloEtScale::getThresholds(), mps_fire::i, L1CaloEtScale::linearLsb(), L1CaloEtScale::linScaleMax(), and L1CaloEtScale::rankScaleMax().

95  {
96  os << "L1CaloEtScale :" << endl;
97  os << " Input scale max = " << obj.linScaleMax() << endl;
98  os << " Input LSB = " << obj.linearLsb() << " GeV" << endl;
99  os << " Rank scale max = " << obj.rankScaleMax() << endl;
100  for (unsigned i = 0; i < obj.getThresholds().size(); i++) {
101  os << " Threshold " << i << " = " << obj.getThresholds().at(i) << " GeV" << endl;
102  }
103  return os;
104 }
double linearLsb() const
get LSB of linear input scale
Definition: L1CaloEtScale.h:54
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:66
unsigned linScaleMax() const
Definition: L1CaloEtScale.h:48
unsigned rankScaleMax() const
Definition: L1CaloEtScale.h:51