/gamos/setParam GmGeometryUseMaterials:Materials G4_Fe
/gamos/setParam GmGeometryUseMaterials:FileName exercise5.geom
/gamos/geometry GmGeometryUseMaterials
/gamos/physicsList G4QGSP_BIC_NHP

/gamos/setParam SHPlotPHPDBSpectraUA:NEvents 10000
/gamos/setParam SHPlotPHPDBSpectraUA:minE 1.e-9*MeV
/gamos/setParam SHPlotPHPDBSpectraUA:maxE 10.*MeV
/gamos/setParam SHPlotPHPDBSpectraUA:nStepsE 10
/gamos/setParam SHPlotPHPDBSpectraUA:logE 1
/gamos/setParam SHPlotPHPDBSpectraUA:ProductMaxAZ 2004

/gamos/generator GmGenerator

/run/initialize

/gamos/physics/removeProcessesByType Electromagnetic
/gamos/physics/removeProcessesByName hadElastic

/gamos/generator/addSingleParticleSource source neutron 1.*MeV

/gamos/userAction SHPlotPHPDBSpectraUA

/run/beamOn 1


