#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 61 of file HFDataFrame.cc.
References HFDataFrame::fiberIdleOffset(), i, HFDataFrame::id(), HFDataFrame::presamples(), alignCSCRings::s, HFDataFrame::sample(), HFDataFrame::size(), HFDataFrame::zsMarkAndPass(), and HFDataFrame::zsUnsuppressed().
{ s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples "; if (digi.zsUnsuppressed()) s << " zsUS "; if (digi.zsMarkAndPass()) s << " zsM&P "; if (digi.fiberIdleOffset()!=0) { if (digi.fiberIdleOffset()==-1000) s << " nofiberOffset"; else s << " fiberOffset=" << digi.fiberIdleOffset(); } s << std::endl; for (int i=0; i<digi.size(); i++) s << " " << digi.sample(i) << std::endl; return s; }