Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
benchmarks
detector_benchmarks
Commits
844289cd
Commit
844289cd
authored
Feb 21, 2022
by
Wouter Deconinck
Browse files
npsim -> ddsim
parent
a1e2e9ec
Changes
14
Hide whitespace changes
Inline
Side-by-side
benchmarks/b0_tracker/forward_protons.sh
View file @
844289cd
...
...
@@ -23,9 +23,10 @@ if [[ "$?" -ne "0" ]] ; then
fi
# Run geant4 simulations
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
${
FILE_NAME_TAG
}
.hepmc
\
...
...
benchmarks/barrel_ecal/run_emcal_barrel_electrons.sh
View file @
844289cd
...
...
@@ -38,9 +38,10 @@ if [[ "$?" -ne "0" ]] ; then
fi
# Run geant4 simulations
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
${
JUGGLER_FILE_NAME_TAG
}
.hepmc
\
...
...
benchmarks/barrel_ecal/run_emcal_barrel_particles.sh
View file @
844289cd
...
...
@@ -45,9 +45,10 @@ fi
ls
-ltRhL
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
data/
${
JUGGLER_FILE_NAME_TAG
}
.hepmc
\
...
...
benchmarks/barrel_ecal/run_emcal_barrel_pi0.sh
View file @
844289cd
...
...
@@ -43,9 +43,10 @@ if [[ "$?" -ne "0" ]] ; then
fi
# Run geant4 simulations
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
${
JUGGLER_FILE_NAME_TAG
}
.hepmc
\
...
...
benchmarks/barrel_ecal/run_emcal_barrel_pion_rejection.sh
View file @
844289cd
...
...
@@ -45,9 +45,10 @@ fi
ls
-ltRhL
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
data/
${
JUGGLER_FILE_NAME_TAG
}
.hepmc
\
...
...
benchmarks/barrel_ecal/run_emcal_barrel_pions.sh
View file @
844289cd
...
...
@@ -43,9 +43,10 @@ if [[ "$?" -ne "0" ]] ; then
fi
# Run geant4 simulations
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
${
JUGGLER_FILE_NAME_TAG
}
.hepmc
\
...
...
benchmarks/barrel_hcal/run_hcal_barrel_particles.sh
View file @
844289cd
...
...
@@ -45,9 +45,10 @@ fi
ls
-ltRhL
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
data/
${
JUGGLER_FILE_NAME_TAG
}
.hepmc
\
...
...
benchmarks/crystal_calorimeter/config.yml
View file @
844289cd
...
...
@@ -8,7 +8,7 @@ cal_sim:crystal_pion:
extends
:
.det_benchmark
stage
:
simulate
script
:
-
np
sim --runType batch --numberOfEvents 100 --compactFile ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml --inputFiles data/emcal_electrons.hepmc --outputFile sim_output/output_emcal_electrons.edm4hep.root
-
dd
sim --runType batch --numberOfEvents 100
--filter.tracker edep0
--compactFile ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml --inputFiles data/emcal_electrons.hepmc --outputFile sim_output/output_emcal_electrons.edm4hep.root
cal_bench:crystal_benchmark:
extends
:
.det_benchmark
...
...
benchmarks/crystal_calorimeter/run_simulation_crystal_pion.sh
View file @
844289cd
#!/bin/bash
npsim
--runType
batch
--numberOfEvents
10000
\
ddsim
--runType
batch
--numberOfEvents
10000
\
--filter
.tracker edep0
\
--compactFile
benchmarks/calorimeters/topside.xml
\
--inputFiles
./data/emcal_pions_upto1GeV_10kevents.hepmc
\
--outputFile
./sim_output/sim_crystal_pion_input.edm4hep.root
benchmarks/pid/config.yml
View file @
844289cd
...
...
@@ -2,7 +2,7 @@ sim:backward:
extends
:
.det_benchmark
stage
:
simulate
script
:
-
np
sim --runType batch --numberOfEvents 100 --compactFile ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml --enableGun --gun.energy "5*GeV" --gun.particle "${PARTICLE}" --gun.thetaMin 130*deg --gun.thetaMax 177*deg --gun.distribution "cos(theta)" --outputFile sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root
-
dd
sim --runType batch --numberOfEvents 100
--filter.tracker edep0
--compactFile ${DETECTOR_PATH}/${JUGGLER_DETECTOR}.xml --enableGun --gun.energy "5*GeV" --gun.particle "${PARTICLE}" --gun.thetaMin 130*deg --gun.thetaMax 177*deg --gun.distribution "cos(theta)" --outputFile sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root
-
rootls -t sim_output/sim_pid_backward_${PARTICLE}_5GeV.edm4hep.root
parallel
:
matrix
:
...
...
benchmarks/roman_pots/roman_pot_simu.sh
View file @
844289cd
...
...
@@ -10,9 +10,10 @@ fi
ddsim
--runType
batch
-N
300
\
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
./data/forward_ions.hepmc
\
...
...
benchmarks/timing/run_timing.sh
View file @
844289cd
...
...
@@ -79,11 +79,12 @@ output_file="sim_${nevents}.edm4hep.root"
mkdir
-p
${
output_dir
}
timing_dir
=
"results/timing/
${
particle
}
/
${
energy
/\*/
}
"
timing_file
=
"time_
${
nevents
}
events.log"
np
sim_file
=
"npsim_
${
nevents
}
events.log"
dd
sim_file
=
"npsim_
${
nevents
}
events.log"
mkdir
-p
${
timing_dir
}
/usr/bin/time
-v
-o
${
timing_dir
}
/time_
${
nevents
}
events.log
\
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
--printLevel
WARNING
\
--filter
.tracker edep0
\
--numberOfEvents
${
nevents
}
\
--enableGun
\
--gun
.energy
"
${
energy
}
"
\
...
...
@@ -94,7 +95,7 @@ mkdir -p ${timing_dir}
--part
.minimalKineticEnergy
"1*TeV"
\
--compactFile
${
compact_path
}
\
--outputFile
${
output_dir
}
/
${
output_file
}
\
2>&1
>
${
timing_dir
}
/
${
np
sim_file
}
2>&1
>
${
timing_dir
}
/
${
dd
sim_file
}
echo
"For
${
nevents
}
events:"
cat
${
timing_dir
}
/
${
timing_file
}
...
...
benchmarks/tracking_detectors/track_hits.sh
View file @
844289cd
...
...
@@ -78,8 +78,9 @@ if [ -z "${ANALYSIS_ONLY}" ] ; then
echo
"Running geant4 simulation"
## run geant4 simulations
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
--part
.minimalKineticEnergy 1000
*
GeV
\
--filter
.tracker edep0
\
-v
WARNING
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
...
...
benchmarks/zdc/run_zdc_neutrons.sh
View file @
844289cd
...
...
@@ -34,9 +34,10 @@ if [[ "$?" -ne "0" ]] ; then
fi
# Run geant4 simulations
np
sim
--runType
batch
\
dd
sim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--filter
.tracker edep0
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
${
JUGGLER_FILE_NAME_TAG
}
.hepmc
\
...
...
Wouter Deconinck
@wdconinc
mentioned in issue
#61
·
Feb 22, 2022
mentioned in issue
#61
mentioned in issue #61
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment