CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | Private Attributes | List of all members
cass::ACQIRIS::SpectrometerRegion Class Reference

a region of a spectrometer More...

#include <spectrometer.h>

Public Member Functions

void loadSettings (CASSSettings &s)
 load the settings from .ini file More...
 
double EField_Vpcm () const
 retrieve region properties More...
 
double length_mm () const
 retrieve region properties More...
 

Private Attributes

double _length
 the length of the spectrometer region in mm More...
 
double _efield
 the electric field strength inside this region in $\frac{V}{cm}$ More...
 

Detailed Description

a region of a spectrometer

this class defines a region of a REMI type spectrometer (Spectrometer) It has a length and a electric field strength.

User definable Parameters:

AcqirisDetectors/%detectorname%/Particles/%particlename%/Spectrometer/Regions/%regionindex%/{Length}
The length of the spectrometer region in mm. Default is 10.

AcqirisDetectors/%detectorname%/Particles/%particlename%/Spectrometer/Regions/%regionindex%/{EField}
The strength of the electric field in the spectrometer region in $\frac{V}{cm}$. Default is 10.

Author
Lutz Foucar

Definition at line 36 of file spectrometer.h.

Member Function Documentation

double cass::ACQIRIS::SpectrometerRegion::EField_Vpcm ( ) const
inline

retrieve region properties

Definition at line 47 of file spectrometer.h.

References _efield.

Referenced by cass::ACQIRIS::getZMom().

double cass::ACQIRIS::SpectrometerRegion::length_mm ( ) const
inline

retrieve region properties

Definition at line 48 of file spectrometer.h.

References _length.

Referenced by cass::ACQIRIS::getZMom().

void SpectrometerRegion::loadSettings ( CASSSettings s)

load the settings from .ini file

Parameters
sthe CASSSettings object to read the information from

Definition at line 38 of file spectrometer.cpp.

References _efield, _length, and QSettings::value().

Referenced by cass::ACQIRIS::Spectrometer::loadSettings().

Member Data Documentation

double cass::ACQIRIS::SpectrometerRegion::_efield
private

the electric field strength inside this region in $\frac{V}{cm}$

Definition at line 55 of file spectrometer.h.

Referenced by EField_Vpcm(), and loadSettings().

double cass::ACQIRIS::SpectrometerRegion::_length
private

the length of the spectrometer region in mm

Definition at line 53 of file spectrometer.h.

Referenced by length_mm(), and loadSettings().


The documentation for this class was generated from the following files: