CMS 3D CMS Logo

Classes | Functions
EcalTBHodoscopePlaneRawHits.h File Reference
#include <ostream>
#include <vector>

Go to the source code of this file.

Classes

class  EcalTBHodoscopePlaneRawHits
 

Functions

std::ostream & operator<< (std::ostream &, const EcalTBHodoscopePlaneRawHits &)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const EcalTBHodoscopePlaneRawHits  
)

Definition at line 3 of file EcalTBHodoscopePlaneRawHits.cc.

References EcalTBHodoscopePlaneRawHits::channels(), mps_fire::i, and alignCSCRings::s.

3  {
4  s << "Number of channels: " << planeHits.channels() << std::endl;
5  for (unsigned int i = 0; i < planeHits.channels(); i++)
6  s << "Channel " << i << ": " << (int)planeHits[i] << std::endl;
7  return s;
8 }