CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DataFormats/EcalDigi/src/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 i, EcalPnDiodeDigi::id(), asciidump::s, EcalPnDiodeDigi::sample(), and EcalPnDiodeDigi::size().

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