CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/DataFormats/HcalDigi/interface/CastorDataFrame.h File Reference

#include "DataFormats/HcalDetId/interface/HcalCastorDetId.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  CastorDataFrame

Functions

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

Function Documentation

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

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