47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
########################################################################
|
|
## SET ALL VERBSE LEVELS TO 0
|
|
## ---------------------------------------------------------------------
|
|
/control/verbose 1
|
|
/run/verbose 1
|
|
/event/verbose 1
|
|
/tracking/verbose 1
|
|
|
|
/mydet/setGdmlFile TestNTST.gdml
|
|
|
|
########################################################################
|
|
## SET NUMBER OF THREADS (will be ignored in case of sequential Geant4)
|
|
## ---------------------------------------------------------------------
|
|
/run/numberOfThreads 1
|
|
/control/cout/prefixString G4-WORKER
|
|
|
|
########################################################################
|
|
## DETECTOR AND MAGNETIC FIELD
|
|
## ---------------------------------------------------------------------
|
|
###/mydet/setGdmlFile alternative.gdml
|
|
## ---------------------------------------------------------------------
|
|
/mydet/setField 4.0 tesla
|
|
|
|
########################################################################
|
|
## INIT
|
|
## ---------------------------------------------------------------------
|
|
/run/initialize
|
|
|
|
########################################################################
|
|
## PRIMARY GENERATOR
|
|
## ---------------------------------------------------------------------
|
|
# /gun/primaryPerEvt 1
|
|
|
|
## ---------------------------------------------------------------------
|
|
/gun/particle e-
|
|
## ---------------------------------------------------------------------
|
|
/gun/energy 5 GeV
|
|
## ---------------------------------------------------------------------
|
|
####/gun/direction 0 1 0
|
|
|
|
########################################################################
|
|
## EXECUTE with 10 events and print the list of processes at the end
|
|
## ---------------------------------------------------------------------
|
|
/run/beamOn 10
|
|
## ---------------------------------------------------------------------
|
|
# /process/list
|