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

◆ operator<<()

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