CMS 3D CMS Logo

Classes | Functions
CastorDataFrame.h File Reference
#include "DataFormats/HcalDetId/interface/HcalCastorDetId.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  CastorDataFrame
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 63 of file CastorDataFrame.cc.

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

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

mps_fire.i
i
Definition: mps_fire.py:428
alignCSCRings.s
s
Definition: alignCSCRings.py:92