CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions
LumiCorrectionParam.h File Reference
#include <iosfwd>
#include <string>
#include "RecoLuminosity/LumiProducer/interface/LumiCorrectionParamRcd.h"
#include "FWCore/Framework/interface/data_default_record_trait.h"

Go to the source code of this file.

Classes

struct  edm::eventsetup::data_default_record_trait< LumiCorrectionParam >
 
class  LumiCorrectionParam
 

Namespaces

 edm
 A PluginFactory for concrete instances of class KalmanAlignmentMetricsUpdator.
 
 edm::eventsetup
 

Functions

std::ostream & operator<< (std::ostream &s, const LumiCorrectionParam &lumicorr)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LumiCorrectionParam lumicorr 
)

Definition at line 79 of file LumiCorrectionParam.cc.

References LumiCorrectionParam::afterglows(), LumiCorrectionParam::amodetag(), LumiCorrectionParam::beamegev(), LumiCorrectionParam::corrFunc(), LumiCorrectionParam::intglumi(), LumiCorrectionParam::ncollidingbunches(), LumiCorrectionParam::nonlinearCoeff(), LumiCorrectionParam::normtag(), and alignCSCRings::s.

79  {
80  s<<"\n LumiCorrectionParam\n";
81  s<< " normtag " << lumiparam.normtag() << "\n";
82  s<< " corrfunc " << lumiparam.corrFunc() << "\n";
83  s<< " ncollidingbx " << lumiparam.ncollidingbunches() << "\n";
84  s<< " amodetag " << lumiparam.amodetag() << "\n";
85  s<< " beamegev " << lumiparam.beamegev() << "\n";
86  s<< " intglumi " << lumiparam.intglumi() << "\n";
87  std::map< std::string,float >::const_iterator it;
88  std::map< std::string,float >::const_iterator itBeg=lumiparam.nonlinearCoeff().begin();
89  std::map< std::string,float >::const_iterator itEnd=lumiparam.nonlinearCoeff().end();
90  for(it=itBeg;it!=itEnd;++it){
91  s<< " params "<<it->first<<" "<<it->second<<"\n";
92  }
93  std::map< unsigned int,float >::const_iterator ait;
94  std::map< unsigned int,float >::const_iterator aitBeg=lumiparam.afterglows().begin();
95  std::map< unsigned int,float >::const_iterator aitEnd=lumiparam.afterglows().end();
96  for(ait=aitBeg;ait!=aitEnd;++ait){
97  s<< " afterglows "<<ait->first<<" "<<ait->second<<"\n";
98  }
99  return s;
100 }