test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 45 of file DIPLumiDetail.cc.

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

45  {
46  s << "\nDumping DIPLumiDetail\n";
47  std::cout.setf(std::ios::fixed,std::ios::floatfield);
48  std::cout.setf(std::ios::showpoint);
49  std::vector<float>::const_iterator lumivalueIt= diplumiDetail.lumiValues().first;
50  std::vector<float>::const_iterator lumivalueEnd = diplumiDetail.lumiValues().second;
51  for(unsigned int i=0; lumivalueIt!=lumivalueEnd;++lumivalueIt,++i){
52  s<<std::setw(10)<<" bunch = "<<i<<" bunchlumi = "<<*lumivalueIt << "\n";
53  }
54  s<<"\n";
55  return s;
56 }
int i
Definition: DBlmapReader.cc:9
tuple cout
Definition: gather_cfg.py:145