CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DataFormats/HcalDigi/src/HBHEDataFrame.cc File Reference

#include "DataFormats/HcalDigi/interface/HBHEDataFrame.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const HBHEDataFrame &digi)

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const HBHEDataFrame digi 
)

Definition at line 63 of file HBHEDataFrame.cc.

References HBHEDataFrame::fiberIdleOffset(), i, HBHEDataFrame::id(), HBHEDataFrame::presamples(), alignCSCRings::s, HBHEDataFrame::sample(), HBHEDataFrame::size(), HBHEDataFrame::zsMarkAndPass(), and HBHEDataFrame::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;
}