CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 87 of file EcalEBTriggerPrimitiveDigi.cc.

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

87  {
88  s << digi.id() << " " << digi.size() << " samples " << std::endl;
89  for (int i=0; i<digi.size(); i++)
90  s << " " << digi.sample(i) << std::endl;
91  return s;
92 }
int i
Definition: DBlmapReader.cc:9
const EcalTriggerPrimitiveSample & sample(int i) const