SpectraPac trunk(r151M)
Evaluates PAC Measurements
Public Slots | Public Member Functions

PacEnergySpectrum Class Reference

Class encapsulating a single energy spectrum. More...

#include <PacEnergySpectrum.h>

List of all members.

Public Slots

void setRedEnergy (double e)
void setBlueEnergy (double e)
void setDisplayRange (Pac::ReadoutRange)

Public Member Functions

 PacEnergySpectrum (PacEnergyContainer *container, quint8 detectorid, float phi, float theta)
 PacEnergySpectrum (PacEnergyContainer *container, const QDomElement &root)
 ~PacEnergySpectrum ()
void setSpectrum (const PacCommonEnergyResult *beginning, const PacCommonEnergyResult *end)
QWidget * plotWidget ()
quint8 detectorId () const
float phi () const
float theta () const
qreal redEnergy () const
qreal blueEnergy () const
qreal redPosition () const
qreal bluePosition () const
void appendToDomNode (QDomElement &node) const
 Appends this object's current state to the passed DOM node.
void initializeFromDomNode (const QDomElement &node)
 Initializes this object's current state from the passed DOM node.
Spectrum properties
QVector< double > spectrumX () const
QVector< quint64 > spectrumComplete () const
QVector< quint64 > spectrumBeginning () const
QVector< quint64 > spectrumEnd () const

Detailed Description

Class encapsulating a single energy spectrum.

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

Constructor & Destructor Documentation

PacEnergySpectrum::PacEnergySpectrum ( PacEnergyContainer container,
quint8  detectorid,
float  phi,
float  theta 
)
PacEnergySpectrum::PacEnergySpectrum ( PacEnergyContainer container,
const QDomElement &  root 
)
PacEnergySpectrum::~PacEnergySpectrum ( )

Member Function Documentation

void PacEnergySpectrum::appendToDomNode ( QDomElement &  node) const

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

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

qreal PacEnergySpectrum::blueEnergy ( ) const
qreal PacEnergySpectrum::bluePosition ( ) const
quint8 PacEnergySpectrum::detectorId ( ) const
void PacEnergySpectrum::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

float PacEnergySpectrum::phi ( ) const
QWidget * PacEnergySpectrum::plotWidget ( )
qreal PacEnergySpectrum::redEnergy ( ) const
qreal PacEnergySpectrum::redPosition ( ) const
void PacEnergySpectrum::setBlueEnergy ( double  e) [slot]
void PacEnergySpectrum::setDisplayRange ( Pac::ReadoutRange  ) [slot]
void PacEnergySpectrum::setRedEnergy ( double  e) [slot]
void PacEnergySpectrum::setSpectrum ( const PacCommonEnergyResult beginning,
const PacCommonEnergyResult end 
)
QVector< quint64 > PacEnergySpectrum::spectrumBeginning ( ) const
QVector< quint64 > PacEnergySpectrum::spectrumComplete ( ) const
QVector< quint64 > PacEnergySpectrum::spectrumEnd ( ) const
QVector< double > PacEnergySpectrum::spectrumX ( ) const
float PacEnergySpectrum::theta ( ) const

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