CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_6_1_1/src/DataFormats/HcalDigi/src/CastorDataFrame.cc File Reference

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

Go to the source code of this file.

Functions

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

Function Documentation

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;
}