CMS 3D CMS Logo

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 57 of file EcalPseudoStripInputDigi.cc.

References mps_fire::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 }
const EcalTriggerElectronicsId & id() const
const EcalPseudoStripInputSample & sample(int i) const