Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:30:55

0001 #!/usr/bin/env ruby
0002 # -----------------------------------------------------------------------------
0003 # 'RunPythiaInDDSim.rb'
0004 # Derek Anderson
0005 # 06.29.2023
0006 #
0007 # Run Pythia8 events (hepmc files) through DDSim.
0008 # -----------------------------------------------------------------------------
0009 
0010 # i/o parameters
0011 in_hepmc = "pythia8NCDIS_18x275_minQ2_1_nLines100K.hepmc"
0012 out_file = "forDynamicRange.py8NCDIS_18x275_minMomTransfer1_100Klines.evt1Kimage.d29m6y2023.edm4hep.root"
0013 
0014 # simulation parameters
0015 compact = "$DETECTOR_PATH/$DETECTOR_CONFIG.xml"
0016 numevts = 1000
0017 
0018 # run ddsim
0019 exec("ddsim --compactFile #{compact} --numberOfEvents #{numevts} --inputFiles #{in_hepmc} --outputFile #{out_file}")
0020 
0021 # end -------------------------------------------------------------------------