CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_6_1_1/src/DataFormats/HcalDigi/src/HcalTriggerPrimitiveDigi.cc File Reference

#include "DataFormats/HcalDigi/interface/HcalTriggerPrimitiveDigi.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const HcalTriggerPrimitiveDigi &digi)

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const HcalTriggerPrimitiveDigi digi 
)

Definition at line 26 of file HcalTriggerPrimitiveDigi.cc.

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

                                                                            {
  s << digi.id() << " " << digi.size() << " samples "<< digi.presamples() << " presamples";
  if (digi.zsUnsuppressed()) s << " zsUS";
  if (digi.zsMarkAndPass()) s << " zsM&P";
  s << std::endl;
  for (int i=0; i<digi.size(); i++) 
    s << "  " << digi.sample(i) << std::endl;
  return s;
}