CMS 3D CMS Logo

Functions
LumiInfo.cc File Reference
#include "DataFormats/Luminosity/interface/LumiInfo.h"
#include <vector>
#include <iomanip>
#include <ostream>
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const LumiInfo &lumiInfo)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const LumiInfo lumiInfo 
)

Definition at line 39 of file LumiInfo.cc.

39  {
40  s << "\nDumping LumiInfo\n\n";
41  s << " getTotalInstLumi = " << lumiInfo.getTotalInstLumi() << "\n";
42  s << " integLuminosity = " << lumiInfo.integLuminosity() << "\n";
43  s << " recordedLuminosity = " << lumiInfo.recordedLuminosity() << "\n";
44  s << " deadtimeFraction = " << lumiInfo.getDeadFraction() << "\n";
45  s << " instLumiByBX = ";
46  const std::vector<float>& lumiBX = lumiInfo.getInstLumiAllBX();
47  for (unsigned int i = 0; i < 10 && i < lumiBX.size(); ++i) {
48  s << lumiBX.at(i) << " ";
49  }
50  s << " ...\n";
51 
52  return s << "\n";
53 }

References mps_fire::i, pileupCalc::lumiInfo, and alignCSCRings::s.

mps_fire.i
i
Definition: mps_fire.py:355
pileupCalc.lumiInfo
lumiInfo
Definition: pileupCalc.py:237
alignCSCRings.s
s
Definition: alignCSCRings.py:92