CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
EcalPseudoStripInputDigi.h File Reference
#include <ostream>
#include <vector>
#include "DataFormats/EcalDetId/interface/EcalTriggerElectronicsId.h"
#include "DataFormats/EcalDigi/interface/EcalPseudoStripInputSample.h"

Go to the source code of this file.

Classes

class  EcalPseudoStripInputDigi
 

Functions

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

Function Documentation

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

Definition at line 52 of file EcalPseudoStripInputDigi.cc.

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

52  {
53  s << digi.id() << " " << digi.size() << " samples " << std::endl;
54  for (int i = 0; i < digi.size(); i++)
55  s << " " << digi.sample(i) << std::endl;
56  return s;
57 }
const EcalTriggerElectronicsId & id() const
const EcalPseudoStripInputSample & sample(int i) const