#include "DataFormats/HcalDigi/interface/HBHEDataFrame.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const HBHEDataFrame &digi) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const HBHEDataFrame & | digi | |||
) |
Definition at line 48 of file HBHEDataFrame.cc.
References lat::endl(), i, HBHEDataFrame::id(), HBHEDataFrame::presamples(), HBHEDataFrame::sample(), HBHEDataFrame::size(), HBHEDataFrame::zsMarkAndPass(), and HBHEDataFrame::zsUnsuppressed().
00048 { 00049 s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples "; 00050 if (digi.zsUnsuppressed()) s << " zsUS "; 00051 if (digi.zsMarkAndPass()) s << " zsM&P "; 00052 s << std::endl; 00053 for (int i=0; i<digi.size(); i++) 00054 s << " " << digi.sample(i) << std::endl; 00055 return s; 00056 }