Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:39

0001 // This is CSCStripData.cc
0002 
0003 #include "RecoLocalMuon/CSCRecHitD/src/CSCStripData.h"
0004 
0005 #include <iostream>
0006 // required for ostream_iterator...
0007 #include <iterator>
0008 
0009 std::ostream& operator<<(std::ostream& os, const CSCStripData& data) {
0010   os << "CSCStripData " << std::endl
0011      << "------------ " << std::endl
0012      << "no. of time bins = " << data.ntbins_ << std::endl
0013      << ", phmax = " << data.phmax_ << ", tmax = " << data.tmax_ << std::endl
0014      << "phraw: " << std::endl;
0015   std::copy(data.phRaw_.begin(), data.phRaw_.end(), std::ostream_iterator<int>(os, "\n"));
0016   os << "ph: " << std::endl;
0017   std::copy(data.ph_.begin(), data.ph_.end(), std::ostream_iterator<float>(os, "\n"));
0018   return os;
0019 }