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