CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DataFormats/EcalDigi/src/ESDataFrame.cc File Reference

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 22 of file ESDataFrame.cc.

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