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

◆ operator<<()

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

Definition at line 68 of file EcalEBTriggerPrimitiveDigi.cc.

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

68  {
69  s << digi.id() << " " << digi.size() << " samples " << std::endl;
70  for (int i = 0; i < digi.size(); i++)
71  s << " " << digi.sample(i) << std::endl;
72  return s;
73 }
const EcalEBTriggerPrimitiveSample & sample(int i) const