test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 113 of file L1CaloEtScale.cc.

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

113  {
114  os << "L1CaloEtScale :" << endl;
115  os << " Input scale max = " << obj.linScaleMax() << endl;
116  os << " Input LSB = " << obj.linearLsb() << " GeV" << endl;
117  os << " Rank scale max = " << obj.rankScaleMax() << endl;
118  for (unsigned i=0; i<obj.getThresholds().size(); i++) {
119  os << " Threshold " << i << " = " << obj.getThresholds().at(i) << " GeV" << endl;
120  }
121  return os ;
122 }
int i
Definition: DBlmapReader.cc:9
double linearLsb() const
get LSB of linear input scale
Definition: L1CaloEtScale.h:53
const std::vector< double > & getThresholds() const
get thresholds
Definition: L1CaloEtScale.h:65
unsigned linScaleMax() const
Definition: L1CaloEtScale.h:47
unsigned rankScaleMax() const
Definition: L1CaloEtScale.h:50