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

◆ operator<<()

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

Definition at line 3 of file EcalTBHodoscopePlaneRawHits.cc.

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 }

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

mps_fire.i
i
Definition: mps_fire.py:428
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalTBHodoscopePlaneRawHits::channels
unsigned int channels() const
Get Methods.
Definition: EcalTBHodoscopePlaneRawHits.h:24