CMS 3D CMS Logo

Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/EcalDigi/src/EcalTriggerPrimitiveDigi.cc File Reference

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 75 of file EcalTriggerPrimitiveDigi.cc.

References i, EcalTriggerPrimitiveDigi::id(), asciidump::s, EcalTriggerPrimitiveDigi::sample(), and EcalTriggerPrimitiveDigi::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;
}