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

◆ operator<<()

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

Definition at line 26 of file ESDataFrame.cc.

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

26  {
27  s << digi.id() << " " << digi.size() << " samples " << std::endl;
28  for (int i = 0; i < digi.size(); i++)
29  s << " " << digi.sample(i) << std::endl;
30  return s;
31 }
const ESDetId & id() const
Definition: ESDataFrame.h:19
int size() const
Definition: ESDataFrame.h:21
const ESSample & sample(int i) const
Definition: ESDataFrame.h:24