CMS 3D CMS Logo

Functions
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(), 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 }
unsigned int channels() const
Get Methods.