test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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 33 of file ESDataFrame.cc.

References i, ESDataFrame::id(), alignCSCRings::s, ESDataFrame::sample(), and ESDataFrame::size().

33  {
34  s << digi.id() << " " << digi.size()
35  << " samples " << std::endl;
36  for (int i=0; i<digi.size(); i++)
37  s << " " << digi.sample(i) << std::endl;
38  return s;
39 }
int i
Definition: DBlmapReader.cc:9
const ESDetId & id() const
Definition: ESDataFrame.h:21
int size() const
Definition: ESDataFrame.h:23
const ESSample & sample(int i) const
Definition: ESDataFrame.h:26