test
CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 4 of file EEDataFrame.cc.

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

4  {
5  s << digi.id() << " " << digi.size() << " samples " << std::endl;
6  for (int i=0; i<digi.size(); i++)
7  s << " " << digi.sample(i) << std::endl;
8  return s;
9 }
int i
Definition: DBlmapReader.cc:9
EcalMGPASample sample(int i) const
Definition: EcalDataFrame.h:29
int size() const
Definition: EcalDataFrame.h:26
key_type id() const
Definition: EEDataFrame.h:28