CMS 3D CMS Logo

HFDataFrame.h File Reference

#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/HcalDetId/interface/HcalElectronicsId.h"
#include "DataFormats/HcalDigi/interface/HcalQIESample.h"
#include <vector>
#include <ostream>

Go to the source code of this file.

Classes

class  HFDataFrame
 Precision readout digi for HF. More...

Functions

std::ostream & operator<< (std::ostream &, const HFDataFrame &)


Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const HFDataFrame  
)

Definition at line 46 of file HFDataFrame.cc.

References lat::endl(), i, HFDataFrame::id(), HFDataFrame::presamples(), HFDataFrame::sample(), HFDataFrame::size(), HFDataFrame::zsMarkAndPass(), and HFDataFrame::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