CMS 3D CMS Logo

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

Functions

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

Function Documentation

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

Definition at line 63 of file HBHEDataFrame.cc.

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

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