CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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().

61  {
62  s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples ";
63  if (digi.zsUnsuppressed()) s << " zsUS ";
64  if (digi.zsMarkAndPass()) s << " zsM&P ";
65  if (digi.fiberIdleOffset()!=0) {
66  if (digi.fiberIdleOffset()==-1000) s << " nofiberOffset";
67  else s << " fiberOffset=" << digi.fiberIdleOffset();
68  }
69  s << std::endl;
70  for (int i=0; i<digi.size(); i++)
71  s << " " << digi.sample(i) << std::endl;
72  return s;
73 }
int i
Definition: DBlmapReader.cc:9