CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, DIPLumiDetail const &diplumiDetail)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
DIPLumiDetail const &  diplumiDetail 
)

Definition at line 26 of file DIPLumiDetail.cc.

26  {
27  s << "\nDumping DIPLumiDetail\n";
28  std::cout.setf(std::ios::fixed, std::ios::floatfield);
29  std::cout.setf(std::ios::showpoint);
30  std::vector<float>::const_iterator lumivalueIt = diplumiDetail.lumiValues().first;
31  std::vector<float>::const_iterator lumivalueEnd = diplumiDetail.lumiValues().second;
32  for (unsigned int i = 0; lumivalueIt != lumivalueEnd; ++lumivalueIt, ++i) {
33  s << std::setw(10) << " bunch = " << i << " bunchlumi = " << *lumivalueIt << "\n";
34  }
35  s << "\n";
36  return s;
37 }

References gather_cfg::cout, alignBH_cfg::fixed, mps_fire::i, DIPLumiDetail::lumiValues(), and alignCSCRings::s.

alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
mps_fire.i
i
Definition: mps_fire.py:428
gather_cfg.cout
cout
Definition: gather_cfg.py:144
alignCSCRings.s
s
Definition: alignCSCRings.py:92