CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  << "strip = " << data.istrip_
14  << ", phmax = " << data.phmax_
15  << ", tmax = " << data.tmax_ << std::endl
16  << "phraw: " << std::endl;
17  std::copy( data.phRaw_.begin(), data.phRaw_.end(), std::ostream_iterator<int>(os,"\n") );
18  os << "ph: " << std::endl;
19  std::copy( data.ph_.begin(), data.ph_.end(), std::ostream_iterator<float>(os,"\n") );
20  return os;
21 }
22 
23 // Define space for static
24 const int CSCStripData::ntbins_;
std::vector< float > ph_
Definition: CSCStripData.h:68
std::vector< int > phRaw_
Definition: CSCStripData.h:67
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
static const int ntbins_
Definition: CSCStripData.h:63