CMS 3D CMS Logo

Functions
DIPLumiSummary.cc File Reference
#include "RecoLuminosity/LumiProducer/interface/DIPLumiSummary.h"
#include <iomanip>
#include <ostream>
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const DIPLumiSummary &diplumiSummary)
 
void setOrigin (unsigned int runnumber, unsigned int ls)
 

Function Documentation

◆ operator<<()

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

Definition at line 37 of file DIPLumiSummary.cc.

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 }

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

◆ setOrigin()

void setOrigin ( unsigned int  runnumber,
unsigned int  ls 
)
alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
gather_cfg.cout
cout
Definition: gather_cfg.py:144
DIPLumiSummary::deadtimefraction
float deadtimefraction() const
Definition: DIPLumiSummary.cc:25
DIPLumiSummary::instDelLumi
float instDelLumi() const
Definition: DIPLumiSummary.cc:12
alignCSCRings.s
s
Definition: alignCSCRings.py:92
DIPLumiSummary::intgRecLumiByLS
float intgRecLumiByLS() const
Definition: DIPLumiSummary.cc:19
DIPLumiSummary::cmsalive
int cmsalive() const
Definition: DIPLumiSummary.cc:26
DIPLumiSummary::intgDelLumiByLS
float intgDelLumiByLS() const
Definition: DIPLumiSummary.cc:13