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.

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 }

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

mps_fire.i
i
Definition: mps_fire.py:428
EcalPseudoStripInputDigi::id
const EcalTriggerElectronicsId & id() const
Definition: EcalPseudoStripInputDigi.h:20
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalPseudoStripInputDigi::sample
const EcalPseudoStripInputSample & sample(int i) const
Definition: EcalPseudoStripInputDigi.h:24
EcalPseudoStripInputDigi::size
int size() const
Definition: EcalPseudoStripInputDigi.h:21