CMS 3D CMS Logo

Functions
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(), alignCSCRings::s, EcalPnDiodeDigi::sample(), and EcalPnDiodeDigi::size().

17  {
18  s << digi.id() << " " << digi.size() << " samples " << std::endl;
19  for (int i=0; i<digi.size(); i++)
20  s << " " << digi.sample(i) << std::endl;
21  return s;
22 }
int i
Definition: DBlmapReader.cc:9
int size() const
const EcalPnDiodeDetId & id() const
const EcalFEMSample & sample(int i) const