CMS 3D CMS Logo

Functions
EcalEBTriggerPrimitiveDigi.cc File Reference
#include "DataFormats/EcalDigi/interface/EcalEBTriggerPrimitiveDigi.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 78 of file EcalEBTriggerPrimitiveDigi.cc.

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

Referenced by swap().

78  {
79  s << digi.id() << " " << digi.size() << " samples " << std::endl;
80  for (int i=0; i<digi.size(); i++)
81  s << " " << digi.sample(i) << std::endl;
82  return s;
83 }
const EcalEBTriggerPrimitiveSample & sample(int i) const