CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

#define ECAL_MATACQ_DIGI_VERS   2

Definition at line 11 of file EcalMatacqDigi.h.

Function Documentation

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

Definition at line 16 of file EcalMatacqDigi.cc.

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

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 }
int i
Definition: DBlmapReader.cc:9
int size() const
const float amplitudeV(const int &i) const