Warning, /geant4/examples/extended/parameterisations/Par03/examplePar03.in is written in an unsupported language. File is not indexed.
0001 # examplePar03.in
0002 #
0003
0004 # setup detector dimensions
0005 /Par03/detector/setDetectorRadius 10 cm
0006 /Par03/detector/setDetectorLength 30 cm
0007 /Par03/detector/setDetectorMaterial G4_Pb
0008 /Par03/detector/setNbOfLayers 100
0009 /Par03/detector/setNbOfPhiCells 20
0010 /Par03/detector/setNbOfRhoCells 100
0011 /Par03/detector/print
0012
0013 # initialize
0014 /run/initialize
0015
0016 /gun/energy 10 GeV
0017 /gun/position 0 0 0
0018
0019 # run 100 events with parametrised simulation
0020 # by default all created models are active
0021 #/param/ActivateModel model
0022 /analysis/setFileName Par03_fastsim_100events.root
0023 /run/beamOn 100
0024
0025 # run 100 events with modified parametrisation
0026 /Par03/fastSim/print
0027 /Par03/fastSim/transverseProfile/sigma 20 mm
0028 /Par03/fastSim/longitudinalProfile/beta 0.6
0029 /Par03/fastSim/longitudinalProfile/alpha 2.
0030 /Par03/fastSim/longitudinalProfile/maxDepth 20
0031 /Par03/fastSim/numberOfHits 500
0032 /analysis/setFileName Par03_fastsimModified_100events.root
0033 /run/beamOn 100
0034
0035 # run 100 events with full (detailed) simulation
0036 /param/InActivateModel model
0037 /analysis/setFileName Par03_fullsim_100events.root
0038 /run/beamOn 100