CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
EBDataFrame.cc File Reference
#include "DataFormats/EcalDigi/interface/EBDataFrame.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 29 of file EBDataFrame.cc.

References i, EBDataFrame::id(), asciidump::s, and EcalDataFrame::size().

29  {
30  s << digi.id() << " " << digi.size() << " samples " << std::endl;
31  for (int i=0; i<digi.size(); i++)
32  s << " " << digi[i] << std::endl;
33  return s;
34 }
int i
Definition: DBlmapReader.cc:9
key_type id() const
Definition: EBDataFrame.h:32
int size() const
Definition: EcalDataFrame.h:25
string s
Definition: asciidump.py:422