#include "DataFormats/HcalDigi/interface/CastorDataFrame.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const CastorDataFrame &digi) |
std::ostream& operator<< | ( | std::ostream & | s, |
const CastorDataFrame & | digi | ||
) |
Definition at line 61 of file CastorDataFrame.cc.
References CastorDataFrame::fiberIdleOffset(), i, CastorDataFrame::id(), CastorDataFrame::presamples(), alignCSCRings::s, CastorDataFrame::sample(), and CastorDataFrame::size().
{ s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples " << std::endl; if (digi.fiberIdleOffset()!=0) { if (digi.fiberIdleOffset()==-1000) s << " nofiberOffset"; else s << " fiberOffset=" << digi.fiberIdleOffset(); } for (int i=0; i<digi.size(); i++) s << " " << digi.sample(i) << std::endl; return s; }