Skip to content
Snippets Groups Projects
Commit 08d51812 authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

* adding project file and Snakemake example to Example4

parent 3192902b
No related branches found
No related tags found
No related merge requests found
Pipeline #228093 passed
# create a list of n indices, increase if more core avalaible
job_list=[]
for n in range(10):
job_list.append(str(n))
rule trigger:
input:
expand("root/analysis/Example4_{id}.root",id=job_list)
rule simulation:
output:
"root/simulation/Example4_{id}.root"
shell:
"npsimulation -D Example4.detector -E Example4.reaction -O Example4_{wildcards.id} -B run.mac --random-seed {wildcards.id}"
rule analysis:
output:
"root/analysis/Example4_{id}.root"
input:
"root/simulation/Example4_{id}.root"
shell:
"npanalysis -T SimulatedTree root/simulation/Example4_{wildcards.id}.root -O Example4_{wildcards.id}"
Project FDC2
AnalysisOutput= ./root/analysis
SimulationOutput= ./root/simulation
EnergyLoss= ./EnergyLossTable
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment