CMS 3D CMS Logo

Functions
LumiCorrectionParam.cc File Reference
#include "RecoLuminosity/LumiProducer/interface/LumiCorrectionParam.h"
#include "RecoLuminosity/LumiProducer/interface/NormFunctor.h"
#include "RecoLuminosity/LumiProducer/interface/NormFunctorPluginFactory.h"
#include <iomanip>
#include <ostream>
#include <memory>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 49 of file LumiCorrectionParam.cc.

49  {
50  s << "\n LumiCorrectionParam\n";
51  s << " normtag " << lumiparam.normtag() << "\n";
52  s << " corrfunc " << lumiparam.corrFunc() << "\n";
53  s << " ncollidingbx " << lumiparam.ncollidingbunches() << "\n";
54  s << " amodetag " << lumiparam.amodetag() << "\n";
55  s << " beamegev " << lumiparam.beamegev() << "\n";
56  s << " intglumi " << lumiparam.intglumi() << "\n";
57  std::map<std::string, float>::const_iterator it;
58  std::map<std::string, float>::const_iterator itBeg = lumiparam.nonlinearCoeff().begin();
59  std::map<std::string, float>::const_iterator itEnd = lumiparam.nonlinearCoeff().end();
60  for (it = itBeg; it != itEnd; ++it) {
61  s << " params " << it->first << " " << it->second << "\n";
62  }
63  std::map<unsigned int, float>::const_iterator ait;
64  std::map<unsigned int, float>::const_iterator aitBeg = lumiparam.afterglows().begin();
65  std::map<unsigned int, float>::const_iterator aitEnd = lumiparam.afterglows().end();
66  for (ait = aitBeg; ait != aitEnd; ++ait) {
67  s << " afterglows " << ait->first << " " << ait->second << "\n";
68  }
69  return s;
70 }

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

alignCSCRings.s
s
Definition: alignCSCRings.py:92