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
Commits
db96a68c
Commit
db96a68c
authored
8 months ago
by
Dmitry Kalinkin
Browse files
Options
Downloads
Patches
Plain Diff
zdc_lyso: namespace prefix for Snakemake rules
parent
07804284
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#101190
failed
8 months ago
Stage: status-pending
Stage: config
Stage: initialize
Stage: data_init
Stage: simulate
Stage: calibrate
Stage: benchmarks
Stage: collect
Stage: deploy
Stage: status-report
Changes
2
Pipelines
109
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benchmarks/zdc_lyso/Snakefile
+6
-6
6 additions, 6 deletions
benchmarks/zdc_lyso/Snakefile
benchmarks/zdc_lyso/config.yml
+1
-1
1 addition, 1 deletion
benchmarks/zdc_lyso/config.yml
with
7 additions
and
7 deletions
benchmarks/zdc_lyso/Snakefile
+
6
−
6
View file @
db96a68c
import os
rule
ecal
_lyso_sim_hepmc:
rule
zdc
_lyso_sim_hepmc:
input:
script = "benchmarks/zdc_lyso/gen_particles.cxx",
output:
...
...
@@ -16,7 +16,7 @@ root -l -b -q '{input.script}({params.num_events}, "{output.hepmcfile}", "{wildc
"""
rule
ecal
_lyso_sim:
rule
zdc
_lyso_sim:
input:
hepmcfile="data/{PARTICLE}_{BEAM_ENERGY}GeV_theta_{THETA_MIN}deg_thru_{THETA_MAX}deg.hepmc",
warmup="warmup/{DETECTOR_CONFIG}.edm4hep.root",
...
...
@@ -38,7 +38,7 @@ npsim \
"""
rule
ecal
_lyso_reco:
rule
zdc
_lyso_reco:
input:
"sim_output/zdc_lyso/{DETECTOR_CONFIG}_{PARTICLE}_{BEAM_ENERGY}GeV_theta_{THETA_MIN}deg_thru_{THETA_MAX}deg.edm4hep.root",
output:
...
...
@@ -52,7 +52,7 @@ mv podio_output.root {output}
"""
rule zdc_analysis:
rule zdc_
lyso_
analysis:
input:
expand("sim_output/zdc_lyso/{{DETECTOR_CONFIG}}_{PARTICLE}_{BEAM_ENERGY}GeV_theta_{THETA_MIN}deg_thru_{THETA_MAX}deg.eicrecon.tree.edm4eic.root",
PARTICLE=["gamma"],
...
...
@@ -69,7 +69,7 @@ python {input.script}
# Examples of invocation
rule
create_all
_hepmc:
rule
zdc_lyso
_hepmc:
input:
expand("data/{PARTICLE}_{BEAM_ENERGY}GeV_theta_{THETA_MIN}deg_thru_{THETA_MAX}deg.hepmc",
PARTICLE=["gamma"],
...
...
@@ -78,7 +78,7 @@ rule create_all_hepmc:
THETA_MAX=["0.3"])
rule
run_all
_local
ly
:
rule
zdc_lyso
_local:
input:
"results/" + os.environ["DETECTOR_CONFIG"] + "/zdc_lyso/plots.pdf",
message:
...
...
This diff is collapsed.
Click to expand it.
benchmarks/zdc_lyso/config.yml
+
1
−
1
View file @
db96a68c
...
...
@@ -2,7 +2,7 @@ sim:zdc_lyso:
extends
:
.det_benchmark
stage
:
simulate
script
:
-
snakemake --cores 1
run_all
_local
ly
-
snakemake --cores 1
zdc_lyso
_local
retry
:
max
:
2
when
:
...
...
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