CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
DIPLumiDetail.h File Reference
#include <iosfwd>
#include <string>
#include "RecoLuminosity/LumiProducer/interface/DIPLuminosityRcd.h"
#include "FWCore/Framework/interface/data_default_record_trait.h"

Go to the source code of this file.

Classes

class  DIPLumiDetail
 

Functions

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

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
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:121