CMS 3D CMS Logo

ZDCDataFrame.cc File Reference

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

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 47 of file ZDCDataFrame.cc.

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

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


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