CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DataFormats/HcalDigi/interface/HcalCalibDataFrame.h File Reference

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

Functions

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

Function Documentation

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

Definition at line 61 of file HcalCalibDataFrame.cc.

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