CMS 3D CMS Logo

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 mps_fire::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 }
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