CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/CondFormats/L1TObjects/src/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 113 of file L1CaloEtScale.cc.

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

                                                                  {
  os << "L1CaloEtScale :" << endl;
  os << "  Input scale max = " << obj.linScaleMax() << endl;
  os << "  Input LSB       = " << obj.linearLsb() << " GeV" << endl;
  os << "  Rank scale max  = " << obj.rankScaleMax() << endl;
  for (unsigned i=0; i<obj.getThresholds().size(); i++) {
    os << "  Threshold " << i << " = " << obj.getThresholds().at(i) << " GeV" << endl;
  }
  return os ;
}