CMS 3D CMS Logo

HODataFrame.cc File Reference

#include "DataFormats/HcalDigi/interface/HODataFrame.h"

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 48 of file HODataFrame.cc.

References lat::endl(), i, HODataFrame::id(), HODataFrame::presamples(), HODataFrame::sample(), HODataFrame::size(), HODataFrame::zsMarkAndPass(), and HODataFrame::zsUnsuppressed().

00048                                                                {
00049   s << digi.id() << " " << digi.size() << " samples  " << digi.presamples() << " presamples ";
00050   if (digi.zsUnsuppressed()) s << " zsUS ";
00051   if (digi.zsMarkAndPass()) s << " zsM&P ";
00052   s << std::endl;
00053   for (int i=0; i<digi.size(); i++) 
00054     s << "  " << digi.sample(i) << std::endl;
00055   return s;
00056 }


Generated on Tue Jun 9 17:52:07 2009 for CMSSW by  doxygen 1.5.4