CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 4 of file CSCDBCrosstalk.cc.

References CSCDBCrosstalk::crosstalk, and mps_fire::i.

4  {
5  for (size_t i = 0; i < cscdb.crosstalk.size(); ++i) {
6  os << "elem: " << i << " R slope: " << cscdb.crosstalk[i].xtalk_slope_right
7  << " intercept: " << cscdb.crosstalk[i].xtalk_intercept_right
8  << " L slope: " << cscdb.crosstalk[i].xtalk_slope_left
9  << " intercept: " << cscdb.crosstalk[i].xtalk_intercept_left << "\n";
10  }
11  return os;
12 }
CrosstalkContainer crosstalk