CMS 3D CMS Logo

Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/RecoLuminosity/LumiProducer/src/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

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().

                                                                            {
  std::cout.setf(std::ios::fixed,std::ios::floatfield);
  std::cout.setf(std::ios::showpoint);
  s << "\nDumping DIPLumiSummary (/ub)\n\n";
  s << std::setw(20) << "instDelLumi = " << std::setprecision(3) << diplumiSummary.instDelLumi();
  s << std::setw(20) << "intgDelLumiByLS = " << std::setprecision(3) << diplumiSummary.intgDelLumiByLS();
  s << std::setw(20) << "intgRecLumiByLS = " << std::setprecision(3) << diplumiSummary.intgRecLumiByLS();
  s << std::setw(20) << "deadtimefraction = " << std::setprecision(3) << diplumiSummary.deadtimefraction();
  s << std::setw(15) << "cmsalive = " << diplumiSummary.cmsalive();
  s << "\n";
  return s<<"\n";
}
void setOrigin ( unsigned int  runnumber,
unsigned int  ls 
)