CMS 3D CMS Logo

CSCStripData.cc
Go to the documentation of this file.
1 // This is CSCStripData.cc
2 
4 
5 #include <iostream>
6 // required for ostream_iterator...
7 #include <iterator>
8 
9 std::ostream& operator<<(std::ostream& os, const CSCStripData& data) {
10  os << "CSCStripData " << std::endl
11  << "------------ " << std::endl
12  << "no. of time bins = " << data.ntbins_ << std::endl
13  << ", phmax = " << data.phmax_ << ", tmax = " << data.tmax_ << std::endl
14  << "phraw: " << std::endl;
15  std::copy(data.phRaw_.begin(), data.phRaw_.end(), std::ostream_iterator<int>(os, "\n"));
16  os << "ph: " << std::endl;
17  std::copy(data.ph_.begin(), data.ph_.end(), std::ostream_iterator<float>(os, "\n"));
18  return os;
19 }
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
CSCStripData
Definition: CSCStripData.h:15
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
operator<<
std::ostream & operator<<(std::ostream &os, const CSCStripData &data)
Definition: CSCStripData.cc:9
CSCStripData.h