CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CondFormats/L1TObjects/interface/L1CaloEtScale.h File Reference

#include <boost/cstdint.hpp>
#include <vector>
#include <ostream>

Go to the source code of this file.

Classes

class  L1CaloEtScale

Functions

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

Function Documentation

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

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 ;
}