Warning, /geant4/examples/advanced/HGCal_testbeam/readFromFile.mac is written in an unsupported language. File is not indexed.
0001 # Macro file for sample run of the HGCal testbeam simulation
0002 #
0003
0004 # Set verbosity levels
0005 #/control/verbose 2
0006 #/control/saveHistory
0007 #/run/verbose 2
0008 #/tracking/verbose 2
0009
0010 # Use only one thread
0011 /run/numberOfThreads 1
0012
0013 # Initialize kernel
0014 /run/initialize
0015
0016 # Choose geometry setup
0017 /HGCalTestbeam/setup/configuration 0
0018
0019 # Read input particles from file
0020 /HGCalTestbeam/generator/readInputFile true
0021 # Substitute <INPUTFILE.root> with name of the file
0022 /HGCalTestbeam/generator/pathInputFile INPUTFILE.root
0023 /HGCalTestbeam/generator/startFromEvent 0
0024
0025 /HGCalTestbeam/output/file output_inputFromFile_10events.root
0026 /run/beamOn 10