/gamos/setParam GmGeometryFromText:FileName exercise3.geom
/gamos/geometry GmGeometryFromText
/gamos/physicsList G4QGSP_BIC_HP
 
/gamos/setParam GmGeneratorChangeEnergyAndMaterial:nEventsPerRun 10000
/gamos/setParam GmGeneratorChangeEnergyAndMaterial:minE 1.E-9*MeV
/gamos/setParam GmGeneratorChangeEnergyAndMaterial:maxE 1.E+1*MeV
/gamos/setParam GmGeneratorChangeEnergyAndMaterial:nStepsE 31
/gamos/setParam GmGeneratorChangeEnergyAndMaterial:logE 1
/gamos/generator GmGeneratorChangeEnergyAndMaterial

/gamos/setParam GmCountTracksUA:EachNEvent 1000
/gamos/userAction GmCountTracksUA
#/gamos/userAction GmCountProcessesUA

/run/initialize

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

/gamos/setParam GmPDSCreateAngleTablesUA:SecondaryParticleName neutron
/gamos/setParam GmPDSCreateAngleTablesUA:HistoFileName angleDeviation.neutron.neutron
/gamos/userAction GmPDSCreateAngleTablesUA

/gamos/userAction GmKillAtStackingActionUA GmSecondaryFilter

/run/beamOn 100000000
