CMS 3D CMS Logo

Classes | Functions

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

#include "DataFormats/EcalDetId/interface/ESDetId.h"
#include "DataFormats/EcalDigi/interface/ESSample.h"
#include <vector>
#include <ostream>

Go to the source code of this file.

Classes

class  ESDataFrame

Functions

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

Function Documentation

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

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;
}