CMS 3D CMS Logo

Classes | Functions
CSCUpgradeMotherboardLUTGenerator.h File Reference
#include "DataFormats/MuonDetId/interface/CSCTriggerNumbering.h"
#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
#include "Geometry/GEMGeometry/interface/GEMGeometry.h"
#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
#include <vector>

Go to the source code of this file.

Classes

class  CSCUpgradeMotherboardLUTGenerator
 
class  CSCUpgradeMotherboardLUTGenerator::Helpers
 

Functions

template<typename T >
std::ostream & operator<< (std::ostream &os, const std::vector< std::pair< T, T > > &v)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const std::vector< T > &v)
 

Function Documentation

template<typename T >
std::ostream& operator<< ( std::ostream &  os,
const std::vector< std::pair< T, T > > &  v 
)

Definition at line 70 of file CSCUpgradeMotherboardLUTGenerator.h.

References mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and findQualityFiles::v.

71 {
72  int i = 0;
73  os << "{" << std::endl;
74  for(const auto& p : v) {
75  os << " {" << p.first << ", " << p.second << "}, ";
76  if (i%8==0) os << std::endl;
77  i++;
78  }
79  os << "}" << std::endl;
80  os << std::endl;
81 
82  return os;
83 }
template<typename T >
std::ostream& operator<< ( std::ostream &  os,
const std::vector< T > &  v 
)

Definition at line 86 of file CSCUpgradeMotherboardLUTGenerator.h.

References mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and findQualityFiles::v.

87 {
88  int i = 0;
89  os << "{" << std::endl;
90  for(const auto& p : v) {
91  os << " " << p << ",";
92  if (i%10==0) os << std::endl;
93  i++;
94  }
95  os << "}" << std::endl;
96  os << std::endl;
97 
98  return os;
99 }