test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
EcalPseudoStripInputDigi.cc File Reference
#include "DataFormats/EcalDigi/interface/EcalPseudoStripInputDigi.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 57 of file EcalPseudoStripInputDigi.cc.

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

57  {
58  s << digi.id() << " " << digi.size() << " samples " << std::endl;
59  for (int i=0; i<digi.size(); i++)
60  s << " " << digi.sample(i) << std::endl;
61  return s;
62 }
int i
Definition: DBlmapReader.cc:9
const EcalTriggerElectronicsId & id() const
const EcalPseudoStripInputSample & sample(int i) const