Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reconstruction_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
reconstruction_benchmarks
Commits
5d7fc4fe
Commit
5d7fc4fe
authored
3 years ago
by
Maria Zurek
Browse files
Options
Downloads
Patches
Plain Diff
Add energy scan to rec_benchmark:run stage
parent
20bc5a23
No related branches found
Branches containing commit
No related tags found
1 merge request
!153
Draft: Resolve "Add energy scan for Barrel Ecal"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benchmarks/imaging_ecal/config.yml
+14
-0
14 additions, 0 deletions
benchmarks/imaging_ecal/config.yml
benchmarks/imaging_ecal/run_emcal_barrel.sh
+6
-0
6 additions, 0 deletions
benchmarks/imaging_ecal/run_emcal_barrel.sh
with
20 additions
and
0 deletions
benchmarks/imaging_ecal/config.yml
+
14
−
0
View file @
5d7fc4fe
...
@@ -26,3 +26,17 @@ imaging_ecal_pion0:
...
@@ -26,3 +26,17 @@ imaging_ecal_pion0:
script
:
script
:
-
bash benchmarks/imaging_ecal/run_imcal_pion0.sh -t imcal_barrel_pion0 -p "pion0" -n
100
-
bash benchmarks/imaging_ecal/run_imcal_pion0.sh -t imcal_barrel_pion0 -p "pion0" -n
100
imaging_ecal_energy_scan
:
extends
:
.rec_benchmark
stage
:
run
timeout
:
24 hours
# rules:
# - if: '$RUN_EXTENDED_RECO_BENCHMARK == true'
script
:
-
bash benchmarks/imaging_ecal/run_emcal_barrel.sh -t emcal_barrel_${PARTICLE}_${ENERGY} -n 100 -p "${PARTICLE}" -e "${ENERGY}"
parallel
:
matrix
:
-
ENERGY
:
[
"
1"
,
"
2"
,
"
5"
]
PARTICLE
:
[
"
electron"
,
"
photon"
]
This diff is collapsed.
Click to expand it.
benchmarks/imaging_ecal/run_emcal_barrel.sh
+
6
−
0
View file @
5d7fc4fe
...
@@ -7,6 +7,7 @@ function print_the_help {
...
@@ -7,6 +7,7 @@ function print_the_help {
echo
" OPTIONS: "
echo
" OPTIONS: "
echo
" -n,--nevents Number of events"
echo
" -n,--nevents Number of events"
echo
" -t,--nametag name tag"
echo
" -t,--nametag name tag"
echo
" -e,--nametag energy in GeV"
echo
" -p,--particle particle type"
echo
" -p,--particle particle type"
echo
" allowed types: pion0, pion+, pion-, kaon0, kaon+, kaon-, proton, neutron, electron, positron, photon"
echo
" allowed types: pion0, pion+, pion-, kaon0, kaon+, kaon-, proton, neutron, electron, positron, photon"
exit
exit
...
@@ -32,6 +33,11 @@ do
...
@@ -32,6 +33,11 @@ do
shift
# past argument
shift
# past argument
shift
# past value
shift
# past value
;;
;;
-e
|
--energy
)
export
CB_EMCAL_ENERGY
=
"
$2
"
shift
# past argument
shift
# past value
;;
-n
|
--nevents
)
-n
|
--nevents
)
export
CB_EMCAL_NUMEV
=
"
$2
"
export
CB_EMCAL_NUMEV
=
"
$2
"
shift
# past argument
shift
# past argument
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment