CMS 3D CMS Logo

Functions

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

                                                                          {
  s << "\nDumping DIPLumiDetail\n";
  std::cout.setf(std::ios::fixed,std::ios::floatfield);
  std::cout.setf(std::ios::showpoint);
  std::vector<float>::const_iterator lumivalueIt= diplumiDetail.lumiValues().first;
  std::vector<float>::const_iterator lumivalueEnd = diplumiDetail.lumiValues().second;
  for(unsigned int i=0; lumivalueIt!=lumivalueEnd;++lumivalueIt,++i){
    s<<std::setw(10)<<" bunch = "<<i<<" bunchlumi = "<<*lumivalueIt << "\n";
  }
  s<<"\n";
  return s;
}