Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_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
physics_benchmarks
Merge requests
!69
Using small number of s3 data events for benchmark
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Using small number of s3 data events for benchmark
dvcs_s3_data_test
into
master
Overview
0
Commits
20
Pipelines
0
Changes
1
Merged
Whitney Armstrong
requested to merge
dvcs_s3_data_test
into
master
3 years ago
Overview
0
Commits
20
Pipelines
0
Changes
1
Expand
modified: dvcs.sh
0
0
Merge request reports
Compare
master
version 19
00b68631
3 years ago
version 18
65a751e6
3 years ago
version 17
b350f084
3 years ago
version 16
07692f46
3 years ago
version 15
a8535cbe
3 years ago
version 14
027d154f
3 years ago
version 13
5ba48b3d
3 years ago
version 12
c1f045ab
3 years ago
version 11
118233a8
3 years ago
version 10
0cc4e470
3 years ago
version 9
6442b3f5
3 years ago
version 8
b126283a
3 years ago
version 7
8235a74c
3 years ago
version 6
53edd340
3 years ago
version 5
933c82fb
3 years ago
version 4
34dbf927
3 years ago
version 3
212602a9
3 years ago
version 2
66a0fc7a
3 years ago
version 1
b92555ba
3 years ago
master (base)
and
version 4
latest version
eeb35cb5
20 commits,
3 years ago
version 19
00b68631
19 commits,
3 years ago
version 18
65a751e6
18 commits,
3 years ago
version 17
b350f084
17 commits,
3 years ago
version 16
07692f46
16 commits,
3 years ago
version 15
a8535cbe
15 commits,
3 years ago
version 14
027d154f
14 commits,
3 years ago
version 13
5ba48b3d
13 commits,
3 years ago
version 12
c1f045ab
12 commits,
3 years ago
version 11
118233a8
11 commits,
3 years ago
version 10
0cc4e470
10 commits,
3 years ago
version 9
6442b3f5
9 commits,
3 years ago
version 8
b126283a
8 commits,
3 years ago
version 7
8235a74c
7 commits,
3 years ago
version 6
53edd340
6 commits,
3 years ago
version 5
933c82fb
5 commits,
3 years ago
version 4
34dbf927
4 commits,
3 years ago
version 3
212602a9
3 commits,
3 years ago
version 2
66a0fc7a
2 commits,
3 years ago
version 1
b92555ba
1 commit,
3 years ago
1 file
+
12
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
benchmarks/dvcs/dvcs.sh
+
12
−
8
Options
#!/bin/bash
# these variables might not need exported.
export
JUGGLER_
FILE_NAME_TAG
=
"dvcs"
export
FILE_NAME_TAG
=
"dvcs"
export
JUGGLER_SIM_FILE
=
"sim_
${
JUGGLER_
FILE_NAME_TAG
}
.root"
export
JUGGLER_REC_FILE
=
"rec_
${
JUGGLER_
FILE_NAME_TAG
}
.root"
export
JUGGLER_SIM_FILE
=
"sim_
${
FILE_NAME_TAG
}
.root"
export
JUGGLER_REC_FILE
=
"rec_
${
FILE_NAME_TAG
}
.root"
echo
"JUGGLER_N_EVENTS =
${
JUGGLER_N_EVENTS
}
"
echo
"JUGGLER_DETECTOR =
${
JUGGLER_DETECTOR
}
"
echo
"
JUGGLER_
FILE_NAME_TAG =
${
JUGGLER_
FILE_NAME_TAG
}
"
echo
"FILE_NAME_TAG =
${
FILE_NAME_TAG
}
"
## To run the reconstruction, we need the following global variables:
## - JUGGLER_INSTALL_PREFIX: Install prefix for Juggler (simu/recon)
## - JUGGLER_DETECTOR: the detector package we want to use for this benchmark
## - DETECTOR_PATH: full path to the detector definitions
curl
-o
test_proton_dvcs_eic.hepmc
"https://eicweb.phy.anl.gov/api/v4/projects/345/jobs/artifacts/master/raw/data/test_proton_
dvcs_
eic
.hepmc
?job=compile"
mc
-C
.
config host add S3 https://dtn01.sdcc.bnl.gov:9000
${
S3_ACCESS_KEY
}
${
S3_SECRET_KEY
}
mc
-C
.
cat
--insecure
S3/eictest/ATHENA/EVGEN/DVCS/DVCS_10x100_2M/DVCS.1.hepmc |
head
-n
1004
>
dvcs_
test
.hepmc
if
[[
"
$?
"
-ne
"0"
]]
;
then
echo
"Failed to download hepmc file"
exit
1
fi
export
JUGGLER_N_EVENTS
=
10
#curl -o test_proton_dvcs_eic.hepmc "https://eicweb.phy.anl.gov/api/v4/projects/345/jobs/artifacts/master/raw/data/test_proton_dvcs_eic.hepmc?job=compile"
## run geant4 simulations
npsim
--runType
batch
\
@@ -30,7 +34,7 @@ npsim --runType batch \
-v
ERROR
\
--numberOfEvents
${
JUGGLER_N_EVENTS
}
\
--compactFile
${
DETECTOR_PATH
}
/
${
JUGGLER_DETECTOR
}
.xml
\
--inputFiles
test_proton_
dvcs_
eic
.hepmc
\
--inputFiles
dvcs_
test
.hepmc
\
--outputFile
${
JUGGLER_SIM_FILE
}
if
[[
"
$?
"
-ne
"0"
]]
;
then
echo
"ERROR running npsim"
Loading