CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
CSCStripData.cc File Reference
#include "RecoLocalMuon/CSCRecHitD/src/CSCStripData.h"
#include <iostream>
#include <iterator>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CSCStripData &data)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CSCStripData data 
)

Definition at line 9 of file CSCStripData.cc.

References filterCSVwithJSON::copy, CSCStripData::ntbins_, CSCStripData::ph_, CSCStripData::phmax_, CSCStripData::phRaw_, and CSCStripData::tmax_.

9  {
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 }
std::vector< float > ph_
Definition: CSCStripData.h:71
std::vector< int > phRaw_
Definition: CSCStripData.h:70
static constexpr int ntbins_
Definition: CSCStripData.h:67