CMS 3D CMS Logo

Classes | Defines | Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/DataFormats/EcalDigi/interface/EcalMatacqDigi.h File Reference

#include <ostream>
#include <vector>
#include <algorithm>
#include "Rtypes.h"

Go to the source code of this file.

Classes

class  EcalMatacqDigi

Defines

#define ECAL_MATACQ_DIGI_VERS   2

Functions

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

Define Documentation

#define ECAL_MATACQ_DIGI_VERS   2

Definition at line 12 of file EcalMatacqDigi.h.


Function Documentation

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

Definition at line 17 of file EcalMatacqDigi.cc.

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

                                                                  {
  s << digi.size() << " samples " << std::endl;
  for (int i=0; i<digi.size(); i++){
    s << "  " << digi.amplitudeV(i) << std::endl;
  }
  return s;
}