#include "DataFormats/EcalDigi/interface/EcalPnDiodeDigi.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const EcalPnDiodeDigi &digi) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const EcalPnDiodeDigi & | digi | |||
) |
Definition at line 17 of file EcalPnDiodeDigi.cc.
References lat::endl(), i, EcalPnDiodeDigi::id(), EcalPnDiodeDigi::sample(), and EcalPnDiodeDigi::size().
00017 { 00018 s << digi.id() << " " << digi.size() << " samples " << std::endl; 00019 for (int i=0; i<digi.size(); i++) 00020 s << " " << digi.sample(i) << std::endl; 00021 return s; 00022 }