Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
detector_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
detector_benchmarks
Merge requests
!12
Resolve "Pion CI Workflow for EM Barrel"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Pion CI Workflow for EM Barrel"
8-pion-ci-workflow-for-em-barrel
into
master
Overview
1
Commits
5
Pipelines
0
Changes
1
Merged
Jihee Kim
requested to merge
8-pion-ci-workflow-for-em-barrel
into
master
4 years ago
Overview
1
Commits
5
Pipelines
0
Changes
1
Expand
Closes
#8 (closed)
Edited
4 years ago
by
Jihee Kim
0
0
Merge request reports
Viewing commit
c677c652
Prev
Next
Show latest version
1 file
+
25
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
c677c652
Added running geant4 simulation and juggler
· c677c652
Jihee Kim
authored
4 years ago
calorimeters/run_emcal_barrel_pions.sh
+
25
−
0
Options
@@ -42,6 +42,31 @@ if [[ "$?" -ne "0" ]] ; then
@@ -42,6 +42,31 @@ if [[ "$?" -ne "0" ]] ; then
exit
1
exit
1
fi
fi
# Run geant4 simulations
npsim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
topside/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
${
JUGGLER_FILE_NAME_TAG
}
.hepmc
\
--outputFile
sim_output/
${
JUGGLER_SIM_FILE
}
if
[[
"
$?
"
-ne
"0"
]]
;
then
echo
"ERROR running npdet"
exit
1
fi
# Run Juggler
xenv
-x
${
JUGGLER_INSTALL_PREFIX
}
/Juggler.xenv
\
gaudirun.py calorimeters/options/emcal_barrel_reco.py
if
[[
"
$?
"
-ne
"0"
]]
;
then
echo
"ERROR running juggler"
exit
1
fi
# Directory for plots
# Directory for plots
mkdir
-p
results
mkdir
-p
results
# Move ROOT output file
mv
${
JUGGLER_REC_FILE
}
sim_output/
Loading