CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/DataFormats/EcalDigi/interface/EcalPnDiodeDigi.h File Reference

#include <ostream>
#include <vector>
#include "DataFormats/EcalDetId/interface/EcalPnDiodeDetId.h"
#include "DataFormats/EcalDigi/interface/EcalFEMSample.h"

Go to the source code of this file.

Classes

class  EcalPnDiodeDigi

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().

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