CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | 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

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

Namespaces

 edm
 HLT enums.
 
 edm::eventsetup
 

Functions

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

Function Documentation

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

Definition at line 52 of file DIPLumiSummary.cc.

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

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