Skip to content
Snippets Groups Projects
Commit e9b5f7b7 authored by Marilena Bandieramonte's avatar Marilena Bandieramonte
Browse files

Add pythia.g4 macro as example of macro to use when generating events from Pythia

parent 74c56d8e
No related branches found
No related tags found
1 merge request!21Fullsimlight documentation
......@@ -180,6 +180,7 @@ endif()
set(FULLSIMLIGHT_SCRIPTS
geantino.g4
macro.g4
pythia.g4
drawMagField.C
)
......
########################################################################
## SET ALL VERBOSE LEVELS TO 0
## ---------------------------------------------------------------------
/control/verbose 0
/run/verbose 0
/event/verbose 0
/tracking/verbose 0
########################################################################
## SET NUMBER OF THREADS (will be ignored in case of sequential Geant4)
## ---------------------------------------------------------------------
/run/numberOfThreads 1
/control/cout/prefixString G4Worker_
########################################################################
## DETECTOR AND MAGNETIC FIELD
## ---------------------------------------------------------------------
###/mydet/setGdmlFile atlas2018.gdml
## ---------------------------------------------------------------------
## To Switch off the field set it to 0 tesla
/mydet/setField 4.0 tesla
########################################################################
## INIT
## ---------------------------------------------------------------------
/run/initialize
########################################################################
## EXECUTE with 10 events and print the list of processes at the end
## ---------------------------------------------------------------------
/run/beamOn 10
## ---------------------------------------------------------------------
/process/list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment