CMS 3D CMS Logo

Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/TBDataFormats/EcalTBObjects/src/EcalTBHodoscopePlaneRawHits.cc File Reference

#include "TBDataFormats/EcalTBObjects/interface/EcalTBHodoscopePlaneRawHits.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 3 of file EcalTBHodoscopePlaneRawHits.cc.

References EcalTBHodoscopePlaneRawHits::channels(), i, and asciidump::s.

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