CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
ZDCDataFrame.h File Reference
#include "DataFormats/HcalDetId/interface/HcalZDCDetId.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  ZDCDataFrame
 

Functions

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

Function Documentation

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

Definition at line 62 of file ZDCDataFrame.cc.

References ZDCDataFrame::fiberIdleOffset(), i, ZDCDataFrame::id(), ZDCDataFrame::presamples(), alignCSCRings::s, ZDCDataFrame::sample(), ZDCDataFrame::size(), ZDCDataFrame::zsMarkAndPass(), and ZDCDataFrame::zsUnsuppressed().

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