rl_raysuplib  1.0.13
rl_DielectricPOD_rdb Class Reference

A class encapsulating reading of rl_DielectricPOD initialization data from an rdb table. More...

#include <rl_DielectricPOD_rdb.h>

Inherits rl_DielectricPODArray.

Public Member Functions

 ~rl_DielectricPOD_rdb ()
 Destructor.
 
 rl_DielectricPOD_rdb (char const rdb_file[]="")
 Constructor. More...
 
void init (char const rdb_file[])
 Initializer. More...
 

Detailed Description

A class encapsulating reading of rl_DielectricPOD initialization data from an rdb table.

The rdb table is assumed to have at least two data rows and 3 columns:

  • energy (keV)
  • alpha (real part of dielectric decrement)
  • gamma (imaginary part of the dielectric decrement)

The complex dielectric constant has real part (1-alpha) and imaginary part (-gamma).

Definition at line 58 of file rl_DielectricPOD_rdb.h.

Constructor & Destructor Documentation

◆ rl_DielectricPOD_rdb()

rl_DielectricPOD_rdb::rl_DielectricPOD_rdb ( char const  rdb_file[] = "")

Constructor.

Parameters
rdb_filename of the /rdb file to be read (optional). If rdb_file is a nonempty string, read in energy, alpha, and gamma from the specified /rdb table. The array is sorted on the energy field. If rdb_file is an empty string, an empty uninitialized rl_DielectricPOD is created and the init method must be called to initialize the object.

Definition at line 72 of file rl_DielectricPOD_rdb.cc.

Member Function Documentation

◆ init()

void rl_DielectricPOD_rdb::init ( char const  rdb_file[])

Initializer.

Parameters
rdb_filename of the /rdb file to be read. rdb_file specifies the name of an /rdb table; energy, alpha, and gamma are read in from the specified /rdb table. The array is sorted on the energy field.

Definition at line 77 of file rl_DielectricPOD_rdb.cc.


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