Files
geant4/examples/extended/biasing/ReverseMC01/run_adjoint_simulation_electron.mac
2016-12-09 12:35:28 +01:00

69 lines
1.6 KiB
Plaintext

#/control/verbose 1
#
#Define some geometrical parameters
###############################################
/RMC01/geometry/SetSensitiveVolumeHeight 1. mm
/RMC01/geometry/SetSensitiveVolumeRadius 1. mm
/RMC01/geometry/SetShieldingThickness 2. mm
#
#Select physics list
###############################################
/adjoint_physics/UseProtonIonisation false
/adjoint_physics/UseGammaConversion false
/adjoint_physics/UseBremsstrahlung true
/adjoint_physics/UseCompton true
/adjoint_physics/UseMS true
/adjoint_physics/UsePEEffect true
/adjoint_physics/SetEminForAdjointModels 1. keV
/adjoint_physics/SetEmaxForAdjointModels 10. MeV
#
#Initialize geometry and physics
###############################################
/run/initialize
#
#Set cut
###############################################
/run/setCut 1.000e-02 mm
/control/verbose 1
#
#Definition of parameters for the Adjoint simulation
##################################
#Definition of the external source
/adjoint/DefineExtSourceOnExtSurfaceOfAVolume Shielding
/adjoint/SetExtSourceEmax 10. MeV
#Definition of the adjoint source
/adjoint/DefineAdjSourceOnExtSurfaceOfAVolume SensitiveVolume
/adjoint/SetAdjSourceEmin 1. keV
/adjoint/SetAdjSourceEmax 10. MeV
#Definition of the primary spectrum to which
#the results of the adjoint/reverse simulation will be normalised
/RMC01/analysis/SetExponentialSpectrumForAdjointSim e- 1. cm-2 1. 1e-3 10. MeV
#Definition of the precision in % that the computed energy deposited should reach
#before aborting the run.
/RMC01/analysis/SetExpectedPrecisionOfResults 1.
/run/verbose 1
/tracking/verbose 0
/adjoint/start_run 100000