CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 4 of file CSCDBCrosstalk.cc.

References CSCDBCrosstalk::crosstalk, and i.

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