CMS 3D CMS Logo

Classes | Functions
HFDataFrame.h File Reference
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/HcalDetId/interface/HcalElectronicsId.h"
#include "DataFormats/HcalDigi/interface/HcalQIESample.h"
#include <ostream>

Go to the source code of this file.

Classes

class  HFDataFrame
 

Functions

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

Function Documentation

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

Definition at line 3 of file HFDataFrame.cc.

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

3  {
4  s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples ";
5  if (digi.zsUnsuppressed()) s << " zsUS ";
6  if (digi.zsMarkAndPass()) s << " zsM&P ";
7  if (digi.fiberIdleOffset()!=0) {
8  if (digi.fiberIdleOffset()==-1000) s << " nofiberOffset";
9  else s << " fiberOffset=" << digi.fiberIdleOffset();
10  }
11  s << std::endl;
12  for (int i=0; i<digi.size(); i++)
13  s << " " << digi.sample(i) << std::endl;
14  return s;
15 }