SpectraPac 2.0(r200)
Evaluates PAC Measurements
Public Member Functions

PacCommonEnergyResult Class Reference

Container for a single energy result spectrum. More...

#include <PacCommonEnergyResult.h>

List of all members.

Public Member Functions

 PacCommonEnergyResult ()
 PacCommonEnergyResult (const QVector< quint64 > &spectrum, qreal emin, qreal emax, quint64 underflowevents, quint64 overflowevents)
qreal eMin () const
qreal eMax () const
const QVector< qreal > & leftEdgeXValues () const
const QVector< qreal > & xValues () const
const QVector< quint64 > & spectrumAsInt () const
const QVector< qreal > & spectrumAsDouble () const
quint64 eventsInSpectrum () const
quint64 underflowEvents () const
quint64 overflowEvents () const
qreal channelWidth () const
void appendToDomNode (QDomElement &node) const
 Appends this object's current state to passed DOM node.
void initializeFromDomNode (const QDomElement &node)
 Initializes this object's current state from the passed DOM node.

Detailed Description

Container for a single energy result spectrum.

Author:
Matthias Nagl <mnagl@uni-goettingen.de>

This container contains one result spectrum of a PacCalibratedEnergyThread or a PacEnergyThread


Constructor & Destructor Documentation

PacCommonEnergyResult::PacCommonEnergyResult ( )
PacCommonEnergyResult::PacCommonEnergyResult ( const QVector< quint64 > &  spectrum,
qreal  emin,
qreal  emax,
quint64  underflowevents,
quint64  overflowevents 
)

Member Function Documentation

void PacCommonEnergyResult::appendToDomNode ( QDomElement &  node) const

Appends this object's current state to passed DOM node.

This method expects the parent element where it should append this object's information as a parameter

qreal PacCommonEnergyResult::channelWidth ( ) const
qreal PacCommonEnergyResult::eMax ( ) const
qreal PacCommonEnergyResult::eMin ( ) const
quint64 PacCommonEnergyResult::eventsInSpectrum ( ) const
void PacCommonEnergyResult::initializeFromDomNode ( const QDomElement &  node)

Initializes this object's current state from the passed DOM node.

This method expects the parent element where it shall read this object's information from as a parameter

const QVector< qreal > & PacCommonEnergyResult::leftEdgeXValues ( ) const
quint64 PacCommonEnergyResult::overflowEvents ( ) const
const QVector< qreal > & PacCommonEnergyResult::spectrumAsDouble ( ) const
const QVector< quint64 > & PacCommonEnergyResult::spectrumAsInt ( ) const
quint64 PacCommonEnergyResult::underflowEvents ( ) const
const QVector< qreal > & PacCommonEnergyResult::xValues ( ) const

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines