CMS 3D CMS Logo

CastorDataFrame.cc File Reference

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

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 41 of file CastorDataFrame.cc.

References lat::endl(), i, CastorDataFrame::id(), CastorDataFrame::presamples(), CastorDataFrame::sample(), and CastorDataFrame::size().

00041                                                                    {
00042   s << digi.id() << " " << digi.size() << " samples  " << digi.presamples() << " presamples " << std::endl;
00043   for (int i=0; i<digi.size(); i++) 
00044     s << "  " << digi.sample(i) << std::endl;
00045   return s;
00046 }


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