|
||||
File indexing completed on 2025-01-30 10:30:55
0001 #!/usr/bin/env ruby 0002 # ----------------------------------------------------------------------------- 0003 # 'RunDDSim.rb' 0004 # Derek Anderson 0005 # 09.08.2023 0006 # 0007 # Run a certain number events in ddsim based on 0008 # specified steering and compact files. 0009 # ----------------------------------------------------------------------------- 0010 0011 # output file 0012 out_file = "test_ruby_script.edm4hep.root" 0013 0014 # simulation parameters 0015 numevts = 100 0016 steerer = "../steering/steering.forTowerVsTileCalibCheck_e10th45pim.py" 0017 compact = "$DETECTOR_PATH/epic_imaging.xml" 0018 0019 # run ddsim 0020 exec("ddsim --steeringFile #{steerer} --compactFile #{compact} -G -N #{numevts} --outputFile #{out_file}") 0021 0022 # end -------------------------------------------------------------------------
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |