39 #ifndef EGS_ADVANCED_APPLICATION_
40 #define EGS_ADVANCED_APPLICATION_
97 virtual void finishRun();
166 virtual void saveRNGState();
169 virtual void resetRNGState();
194 void setRayleighData(
const vector<string> &str_medium,
195 const vector<string> &str_file);
204 void setEIIData(EGS_I32 len);
209 EGS_Float getMediumRho(
int ind);
211 void setEdep(EGS_Float edep);
218 void setLatch(
int latch);
223 EGS_Float getTVSTEP();
225 void setLatch(
const int &ip,
const int &latch);
226 void incLatch(
const int &ip,
const int &increment);
233 void setRadiativeSplitting(
const EGS_Float &nsplit);
299 int helpInit(
EGS_Input *,
bool do_hatch);
int io_flag
determines how to write info
int i_rng_buffer
Pointer to the RNG buffer.
virtual int readData()
Read intermediate results.
virtual void getElectronSteps(double &ch_steps, double &all_steps) const
Get the number of electron steps taken.
virtual void describeSimulation()
Describe the simulation.
virtual void resetCounter()
Reset the application to a 'pristine' state.
EGS_Interpolator * i_pbr2
positron branching 2 interpolator
AusgabCall
Possible calls to the user scoring function ausgab().
EGS_Interpolator * i_gbr2
photon branching 2 interpolator
virtual void appInformation(const char *)
Write an information message.
virtual void appFatal(const char *)
Write a warning message and exit.
EGS_Interpolator * i_cohe
photon Rayleigh interpolator
bool final_job
Is this the final job of a parallel run ?
EGS_Interpolator * i_gmfp
photon mean-free-path interpolator
EGS_Interpolator * i_ededx
electron stopping power interpolator
EGS_Float * rng_buffer
RNG buffer.
virtual int initEGSnrcBackEnd()
Initialize the EGSnrc backend.
virtual int shower()
Simulate a single shower.
EGS_Interpolator * i_gbr1
photon branching 1 interpolator
A class for fast run-time interpolations.
static string base_revision
Holds the CVS revision number of the egs_advanced_application.cpp file.
virtual int initCrossSections()
Initialize the EGSnrc cross sections and cross section/transport options.
virtual int outputData()
Output intermediate results.
EGS_Interpolator * i_ebr1
electron branching interpolator
virtual int finishSimulation()
Analyze and output the results.
virtual EGS_I64 randomNumbersUsed() const
Returns the number of random numbers used.
EGS_Interpolator * i_psig
positron cross section interpolator
virtual int addState(istream &data)
Add data from a parallel job.
int n_rng_buffer
Size of the RNG buffer.
virtual void startNewParticle()
Start the transport of a new particle.
virtual void appWarning(const char *)
Write a warning message.
Defines the EGS_EXPORT and EGS_LOCAL macros.
virtual void enterNewRegion()
Particle enters new region.
virtual void setAusgabCall(AusgabCall call, bool on_or_off)
Turns on or off a call to the user scoring function ausgab.
EGS_Interpolator * i_pdedx
positron stopping power interpolator
EGS_Application class header file.
Base class for advanced EGSnrc applications based on the mortran EGSnrc back-end. ...
Base class for advanced EGSnrc C++ applications.
EGS_Interpolator * i_photonuc
photonuclear interpolator
EGS_Interpolator * i_pbr1
positron branching 1 interpolator
EGS_Interpolator * i_esig
electron cross section interpolator