CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  DIPLumiSummary
 

Functions

std::ostream & operator<< (std::ostream &s, const DIPLumiSummary &diplumiSummary)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const DIPLumiSummary diplumiSummary 
)

Definition at line 55 of file DIPLumiSummary.cc.

References DIPLumiSummary::cmsalive(), gather_cfg::cout, DIPLumiSummary::deadtimefraction(), DIPLumiSummary::instDelLumi(), DIPLumiSummary::intgDelLumiByLS(), and DIPLumiSummary::intgRecLumiByLS().

55  {
56  std::cout.setf(std::ios::fixed,std::ios::floatfield);
57  std::cout.setf(std::ios::showpoint);
58  s << "\nDumping DIPLumiSummary (/ub)\n\n";
59  s << std::setw(20) << "instDelLumi = " << std::setprecision(3) << diplumiSummary.instDelLumi();
60  s << std::setw(20) << "intgDelLumiByLS = " << std::setprecision(3) << diplumiSummary.intgDelLumiByLS();
61  s << std::setw(20) << "intgRecLumiByLS = " << std::setprecision(3) << diplumiSummary.intgRecLumiByLS();
62  s << std::setw(20) << "deadtimefraction = " << std::setprecision(3) << diplumiSummary.deadtimefraction();
63  s << std::setw(15) << "cmsalive = " << diplumiSummary.cmsalive();
64  s << "\n";
65  return s<<"\n";
66 }
float deadtimefraction() const
float intgRecLumiByLS() const
int cmsalive() const
float intgDelLumiByLS() const
tuple cout
Definition: gather_cfg.py:121
float instDelLumi() const