CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 69 of file EcalTriggerPrimitiveDigi.cc.

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

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