CMS 3D CMS Logo

Classes | Namespaces | 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

struct  edm::eventsetup::data_default_record_trait< DIPLumiDetail >
 
class  DIPLumiDetail
 

Namespaces

 edm::eventsetup
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 26 of file DIPLumiDetail.cc.

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

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 }