CMS 3D CMS Logo

HcalCalibDataFrame.cc File Reference

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

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 46 of file HcalCalibDataFrame.cc.

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

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


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