CMS 3D CMS Logo

EcalPnDiodeDigi.cc File Reference

#include "DataFormats/EcalDigi/interface/EcalPnDiodeDigi.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const EcalPnDiodeDigi &digi)


Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const EcalPnDiodeDigi digi 
)

Definition at line 17 of file EcalPnDiodeDigi.cc.

References lat::endl(), i, EcalPnDiodeDigi::id(), EcalPnDiodeDigi::sample(), and EcalPnDiodeDigi::size().

00017                                                                    {
00018   s << digi.id() << " " << digi.size() << " samples " << std::endl;
00019   for (int i=0; i<digi.size(); i++) 
00020     s << "  " << digi.sample(i) << std::endl;
00021   return s;
00022 }


Generated on Tue Jun 9 17:52:02 2009 for CMSSW by  doxygen 1.5.4