EGS Brachy
An egs++ user code for rapid brachytherapy calculations
|
class for parsing muen data from a file. More...
#include <muen.h>
Public Member Functions | |
MuenDataParser () | |
construct class by parsing the data file. Note the actual EGS_Interpolator classes are only created when user calls getMuenInterpolator. User is responsible for deleting the interpolator when they are done with it. | |
int | setMuenFile (string filename) |
EGS_Interpolator * | getMuenInterpolator (string med_name) |
Create a new EGS_Interpolator of muen data for the requested medium and return pointer to it. Ownership of the object belongs to the caller. | |
Static Public Attributes | |
static const string | MUEN_START = "Muen values for medium MEDIUM =" |
Private Member Functions | |
MuenMapT | splitFileByMed (ifstream &in) |
does the actual parsing of data from the muen file | |
Private Attributes | |
MuenMapT | med_data |
Static Private Attributes | |
static const int | NSKIP = 3 |
class for parsing muen data from a file.
The muen data must be in the format generated by the egsnrc usercode g
:
Muen values for medium MEDIUM = MED_NAME_1 Medium used is MED_NAME_1 found in your_pegs_data_set Number of energy intervals is 2000 Energy Muen 0.001000 MeV 4075.692785 cm^2/g 0.001004 MeV 4036.185761 cm^2/g 0.001007 MeV 3997.307705 cm^2/g (# 1997 more lines) Muen values for medium MEDIUM = MED_NAME_2 Medium used is MED_NAME_2 found in your_pegs_data_set Number of energy intervals is 500 0.001000 MeV 4075.692785 cm^2/g 0.001004 MeV 4036.185761 cm^2/g 0.001007 MeV 3997.307705 cm^2/g (# 497 more lines)
|
inline |
construct class by parsing the data file. Note the actual EGS_Interpolator classes are only created when user calls getMuenInterpolator. User is responsible for deleting the interpolator when they are done with it.
success
flag and then let the users check the flag and decide what they want to do.
|
inline |
Create a new EGS_Interpolator of muen data for the requested medium and return pointer to it. Ownership of the object belongs to the caller.
|
inline |
|
inlineprivate |
|
private |
|
static |
|
staticprivate |