CMS 3D CMS Logo

Classes | Macros | Functions
EcalMatacqDigi.h File Reference
#include <ostream>
#include <vector>
#include <algorithm>
#include "Rtypes.h"

Go to the source code of this file.

Classes

class  EcalMatacqDigi
 

Macros

#define ECAL_MATACQ_DIGI_VERS   2
 

Functions

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

Macro Definition Documentation

◆ ECAL_MATACQ_DIGI_VERS

#define ECAL_MATACQ_DIGI_VERS   2

Definition at line 11 of file EcalMatacqDigi.h.

Function Documentation

◆ operator<<()

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

Definition at line 16 of file EcalMatacqDigi.cc.

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

References EcalMatacqDigi::amplitudeV(), mps_fire::i, alignCSCRings::s, and EcalMatacqDigi::size().

mps_fire.i
i
Definition: mps_fire.py:428
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalMatacqDigi::size
int size() const
Definition: EcalMatacqDigi.h:75
EcalMatacqDigi::amplitudeV
float amplitudeV(const int &i) const
Definition: EcalMatacqDigi.h:58