CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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(), i, and asciidump::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 }
int i
Definition: DBlmapReader.cc:9
unsigned int channels() const
Get Methods.
string s
Definition: asciidump.py:422