#include "DataFormats/HcalDetId/interface/HcalZDCDetId.h"
#include "DataFormats/HcalDetId/interface/HcalElectronicsId.h"
#include "DataFormats/HcalDigi/interface/HcalQIESample.h"
#include <vector>
#include <ostream>
Go to the source code of this file.
Classes | |
class | ZDCDataFrame |
Functions | |
std::ostream & | operator<< (std::ostream &, const ZDCDataFrame &) |
std::ostream& operator<< | ( | std::ostream & | , |
const ZDCDataFrame & | |||
) |
Definition at line 62 of file ZDCDataFrame.cc.
References ZDCDataFrame::fiberIdleOffset(), i, ZDCDataFrame::id(), ZDCDataFrame::presamples(), asciidump::s, ZDCDataFrame::sample(), ZDCDataFrame::size(), ZDCDataFrame::zsMarkAndPass(), and ZDCDataFrame::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; }