CMS 3D CMS Logo

Classes | Functions
EcalPnDiodeDigi.h File Reference
#include <ostream>
#include <vector>
#include "DataFormats/EcalDetId/interface/EcalPnDiodeDetId.h"
#include "DataFormats/EcalDigi/interface/EcalFEMSample.h"

Go to the source code of this file.

Classes

class  EcalPnDiodeDigi
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 15 of file EcalPnDiodeDigi.cc.

15  {
16  s << digi.id() << " " << digi.size() << " samples " << std::endl;
17  for (int i = 0; i < digi.size(); i++)
18  s << " " << digi.sample(i) << std::endl;
19  return s;
20 }

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

mps_fire.i
i
Definition: mps_fire.py:355
EcalPnDiodeDigi::id
const EcalPnDiodeDetId & id() const
Definition: EcalPnDiodeDigi.h:20
EcalPnDiodeDigi::size
int size() const
Definition: EcalPnDiodeDigi.h:21
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalPnDiodeDigi::sample
const EcalFEMSample & sample(int i) const
Definition: EcalPnDiodeDigi.h:24