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
1f0ca504
Commit
1f0ca504
authored
9 months ago
by
Dmitry Kalinkin
Browse files
Options
Downloads
Patches
Plain Diff
backgrounds: use updated beam gas files
parent
0a85ff9d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benchmarks/backgrounds/Snakefile
+11
-11
11 additions, 11 deletions
benchmarks/backgrounds/Snakefile
benchmarks/backgrounds/config.yml
+5
-1
5 additions, 1 deletion
benchmarks/backgrounds/config.yml
with
16 additions
and
12 deletions
benchmarks/backgrounds/Snakefile
+
11
−
11
View file @
1f0ca504
...
@@ -4,37 +4,37 @@ import shutil
...
@@ -4,37 +4,37 @@ import shutil
rule backgrounds_get_beam_gas_electron:
rule backgrounds_get_beam_gas_electron:
input:
input:
provider.remote(remote_path("EPIC/EVGEN/BACKGROUNDS/BEAMGAS/electron/
beam_gas_ep_10GeV_foam_emin10keV_10Mevt_vtx.hepmc
")),
provider.remote(remote_path("EPIC/EVGEN/BACKGROUNDS/BEAMGAS/electron/
GETaLM1.0.0-1.0/10GeV/GETaLM1.0.0-1.0_ElectronBeamGas_10GeV_foam_emin10keV_run001.hepmc3.tree.root
")),
output:
output:
"input/backgrounds/
beam_gas_electron.hepmc
",
"input/backgrounds/
GETaLM1.0.0-1.0_ElectronBeamGas_10GeV_foam_emin10keV_run001.hepmc3.tree.root
",
run:
run:
shutil.move(input[0], output[0])
shutil.move(input[0], output[0])
rule backgrounds_get_beam_gas_proton:
rule backgrounds_get_beam_gas_proton:
input:
input:
provider.remote(remote_path("EPIC/EVGEN/BACKGROUNDS/BEAMGAS/proton/
ProtonBeamGasEvents/100GeV/100GeV_1.hepmc
")),
provider.remote(remote_path("EPIC/EVGEN/BACKGROUNDS/BEAMGAS/proton/
pythia8.306-1.0/100GeV/pythia8.306-1.0_ProtonBeamGas_100GeV_run001.hepmc3.tree.root
")),
output:
output:
"input/backgrounds/
b
eam
_g
as_
proton.hepmc
",
"input/backgrounds/
pythia8.306-1.0_ProtonB
eam
G
as_
100GeV_run001.hepmc3.tree.root
",
run:
run:
shutil.move(input[0], output[0])
shutil.move(input[0], output[0])
rule backgrounds_get_DIS:
rule backgrounds_get_DIS:
input:
input:
provider.remote(remote_path("EPIC/EVGEN/DIS/NC/{BEAM}/minQ2={MINQ2}/pythia8NCDIS_{BEAM}_minQ2={MINQ2}_{SUFFIX}.hepmc")),
provider.remote(remote_path("EPIC/EVGEN/DIS/NC/{BEAM}/minQ2={MINQ2}/pythia8NCDIS_{BEAM}_minQ2={MINQ2}_{SUFFIX}.hepmc
3.tree.root
")),
wildcard_constraints:
wildcard_constraints:
BEAM="\d+x\d+",
BEAM="\d+x\d+",
MINQ2="\d+",
MINQ2="\d+",
output:
output:
"input/backgrounds/pythia8NCDIS_{BEAM}_minQ2={MINQ2}_{SUFFIX}.hepmc",
"input/backgrounds/pythia8NCDIS_{BEAM}_minQ2={MINQ2}_{SUFFIX}.hepmc
3.tree.root
",
run:
run:
shutil.move(input[0], output[0])
shutil.move(input[0], output[0])
rule backgrounds_sim:
rule backgrounds_sim:
input:
input:
hepmc="input/backgrounds/{NAME}.hepmc",
hepmc="input/backgrounds/{NAME}.hepmc
3.tree.root
",
warmup="warmup/{DETECTOR_CONFIG}.edm4hep.root",
warmup="warmup/{DETECTOR_CONFIG}.edm4hep.root",
output:
output:
"sim_output/{DETECTOR_CONFIG}/backgrounds/{NAME}.edm4hep.root",
"sim_output/{DETECTOR_CONFIG}/backgrounds/{NAME}.edm4hep.root",
...
@@ -62,11 +62,11 @@ rule backgrounds_ecal_backwards:
...
@@ -62,11 +62,11 @@ rule backgrounds_ecal_backwards:
input:
input:
matplotlibrc=".matplotlibrc",
matplotlibrc=".matplotlibrc",
script="benchmarks/backgrounds/ecal_backwards.py",
script="benchmarks/backgrounds/ecal_backwards.py",
electron_beam_gas_gen="input/backgrounds/
beam_gas_electron.hepmc
",
electron_beam_gas_gen="input/backgrounds/
GETaLM1.0.0-1.0_ElectronBeamGas_10GeV_foam_emin10keV_run001.hepmc3.tree.root
",
electron_beam_gas_sim="sim_output/" + DETECTOR_CONFIG + "/backgrounds/
b
eam
_g
as_
electron
.edm4hep.root",
electron_beam_gas_sim="sim_output/" + DETECTOR_CONFIG + "/backgrounds/
GETaLM1.0.0-1.0_ElectronB
eam
G
as_
10GeV_foam_emin10keV_run001
.edm4hep.root",
physics_signal_sim="sim_output/" + DETECTOR_CONFIG + "/backgrounds/pythia8NCDIS_10x100_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1.edm4hep.root",
physics_signal_sim="sim_output/" + DETECTOR_CONFIG + "/backgrounds/pythia8NCDIS_10x100_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1.edm4hep.root",
proton_beam_gas_gen="input/backgrounds/
b
eam
_g
as_
proton.hepmc
",
proton_beam_gas_gen="input/backgrounds/
pythia8.306-1.0_ProtonB
eam
G
as_
100GeV_run001.hepmc3.tree.root
",
proton_beam_gas_sim="sim_output/" + DETECTOR_CONFIG + "/backgrounds/
b
eam
_g
as_
proton
.edm4hep.root",
proton_beam_gas_sim="sim_output/" + DETECTOR_CONFIG + "/backgrounds/
pythia8.306-1.0_ProtonB
eam
G
as_
100GeV_run001
.edm4hep.root",
output:
output:
directory("results/backgrounds/backwards_ecal")
directory("results/backgrounds/backwards_ecal")
threads: workflow.cores
threads: workflow.cores
...
...
This diff is collapsed.
Click to expand it.
benchmarks/backgrounds/config.yml
+
5
−
1
View file @
1f0ca504
...
@@ -4,7 +4,11 @@ sim:backgrounds:
...
@@ -4,7 +4,11 @@ sim:backgrounds:
script
:
script
:
-
mkdir -p $LOCAL_DATA_PATH/input
-
mkdir -p $LOCAL_DATA_PATH/input
-
ln -s $LOCAL_DATA_PATH/input input
-
ln -s $LOCAL_DATA_PATH/input input
-
snakemake --cores 2 sim_output/$DETECTOR_CONFIG/beam_gas_{electron,proton}.edm4hep.root sim_output/$DETECTOR_CONFIG/pythia8NCDIS_10x100_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_vtxfix_1.edm4hep.root
-
|
snakemake --cores 2 \
sim_output/$DETECTOR_CONFIG/backgrounds/GETaLM1.0.0-1.0_ElectronBeamGas_10GeV_foam_emin10keV_run001.edm4hep.root \
sim_output/$DETECTOR_CONFIG/backgrounds/pythia8.306-1.0_ProtonBeamGas_100GeV_run001.edm4hep.root \
sim_output/$DETECTOR_CONFIG/backgrounds/pythia8NCDIS_10x100_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1.edm4hep.root
bench:backgrounds_emcal_backwards
:
bench:backgrounds_emcal_backwards
:
extends
:
.det_benchmark
extends
:
.det_benchmark
...
...
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