CMS 3D CMS Logo

Functions
CSCDBNoiseMatrix.cc File Reference
#include "CondFormats/CSCObjects/interface/CSCDBNoiseMatrix.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CSCDBNoiseMatrix &cscdb)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const CSCDBNoiseMatrix cscdb 
)

Definition at line 4 of file CSCDBNoiseMatrix.cc.

References mps_fire::i, CSCDBNoiseMatrix::matrix, and l1tGTMenu_BTagSeeds_cff::os.

4  {
5  for (size_t i = 0; i < cscdb.matrix.size(); ++i) {
6  os << "elem: " << i << " noise matrix: " << cscdb.matrix[i].elem33 << " " << cscdb.matrix[i].elem34 << " "
7  << cscdb.matrix[i].elem35 << " " << cscdb.matrix[i].elem44 << " " << cscdb.matrix[i].elem45 << " "
8  << cscdb.matrix[i].elem46 << " " << cscdb.matrix[i].elem55 << " " << cscdb.matrix[i].elem56 << " "
9  << cscdb.matrix[i].elem57 << " " << cscdb.matrix[i].elem66 << " " << cscdb.matrix[i].elem67 << " "
10  << cscdb.matrix[i].elem77 << " "
11  << "\n";
12  }
13  return os;
14 }
NoiseMatrixContainer matrix