CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/DataFormats/EcalDigi/src/EcalTriggerPrimitiveDigi.cc File Reference

#include "DataFormats/EcalDigi/interface/EcalTriggerPrimitiveDigi.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 75 of file EcalTriggerPrimitiveDigi.cc.

References i, EcalTriggerPrimitiveDigi::id(), alignCSCRings::s, EcalTriggerPrimitiveDigi::sample(), and EcalTriggerPrimitiveDigi::size().

                                                                            {
  s << digi.id() << " " << digi.size() << " samples " << std::endl;
  for (int i=0; i<digi.size(); i++) 
    s << "  " << digi.sample(i) << std::endl;
  return s;
}