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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
physics_benchmarks
Commits
900c788d
Commit
900c788d
authored
Oct 6, 2022
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
feat: DIS: replace gaudirun with eicrecon
parent
d27f7830
No related branches found
No related tags found
1 merge request
!185
feat: DIS: replace gaudirun with eicrecon
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/dis/dis.sh
+6
-19
6 additions, 19 deletions
benchmarks/dis/dis.sh
with
6 additions
and
19 deletions
benchmarks/dis/dis.sh
+
6
−
19
View file @
900c788d
...
@@ -79,25 +79,12 @@ fi
...
@@ -79,25 +79,12 @@ fi
## =============================================================================
## =============================================================================
## Step 3: Run digitization & reconstruction
## Step 3: Run digitization & reconstruction
echo
"Running the digitization and reconstruction"
echo
"Running the digitization and reconstruction"
## FIXME Need to figure out how to pass file name to juggler from the commandline
JANA_HOME
=
/usr/local/lib/EICrecon eicrecon
${
SIM_FILE
}
## the tracker_reconstruction.py options file uses the following environment
mv
eicrecon.root
${
REC_FILE
}
## variables:
## - JUGGLER_SIM_FILE: input detector simulation
## - JUGGLER_REC_FILE: output reconstructed data
## - JUGGLER_N_EVENTS: number of events to process (part of global environment)
## - DETECTOR: detector package (part of global environment)
export
JUGGLER_SIM_FILE
=
${
SIM_FILE
}
export
JUGGLER_REC_FILE
=
${
REC_FILE
}
for
rec
in
options/
*
.py
;
do
unset
tag
[[
$(
basename
${
rec
}
.py
)
=
~
(
.
*
)
\.
(
.
*
)
]]
&&
tag
=
".
${
BASH_REMATCH
[2]
}
"
JUGGLER_REC_FILE
=
${
JUGGLER_REC_FILE
/.root/
${
tag
:-}
.root
}
\
gaudirun.py
${
rec
}
if
[
"
$?
"
-ne
"0"
]
;
then
if
[
"
$?
"
-ne
"0"
]
;
then
echo
"ERROR running
juggler
"
echo
"ERROR running
eicrecon
"
exit
1
exit
1
fi
fi
done
## =============================================================================
## =============================================================================
## Step 4: Analysis
## Step 4: Analysis
...
...
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
sign in
to comment