#include "DataFormats/HcalDigi/interface/HFDataFrame.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const HFDataFrame &digi) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const HFDataFrame & | digi | |||
) |
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 }