CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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().

22  {
23  s << digi.id() << " " << digi.size() << " samples " << std::endl;
24  for (int i=0; i<digi.size(); i++)
25  s << " " << digi.sample(i) << std::endl;
26  return s;
27 }
int i
Definition: DBlmapReader.cc:9
string s
Definition: asciidump.py:422