CMS 3D CMS Logo

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::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 37 of file DIPLumiSummary.cc.

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

37  {
38  std::cout.setf(std::ios::fixed, std::ios::floatfield);
39  std::cout.setf(std::ios::showpoint);
40  s << "\nDumping DIPLumiSummary (/ub)\n\n";
41  s << std::setw(20) << "instDelLumi = " << std::setprecision(3) << diplumiSummary.instDelLumi();
42  s << std::setw(20) << "intgDelLumiByLS = " << std::setprecision(3) << diplumiSummary.intgDelLumiByLS();
43  s << std::setw(20) << "intgRecLumiByLS = " << std::setprecision(3) << diplumiSummary.intgRecLumiByLS();
44  s << std::setw(20) << "deadtimefraction = " << std::setprecision(3) << diplumiSummary.deadtimefraction();
45  s << std::setw(15) << "cmsalive = " << diplumiSummary.cmsalive();
46  s << "\n";
47  return s << "\n";
48 }
float deadtimefraction() const
float intgRecLumiByLS() const
int cmsalive() const
float intgDelLumiByLS() const
float instDelLumi() const