diff --git a/benchmarks/insert_tau/Snakefile~ b/benchmarks/insert_tau/Snakefile~ deleted file mode 100644 index e7b0cb3..0000000 --- a/benchmarks/insert_tau/Snakefile~ +++ /dev/null @@ -1,57 +0,0 @@ -rule insert_tau_generate: - input: - script="benchmarks/insert_tau/analysis/gen_particles.cxx", - params: - NEVENTS_GEN=1000, - th_max=7.0, - th_min=1.7 - output: - GEN_FILE="sim_output/insert_tau/tau-_{P}GeV.hepmc" - shell: - """ -root -l -b -q '{input.script}({params.NEVENTS_GEN},"{output.GEN_FILE}", "tau-", {params.th_min}, {params.th_max}, 0., 360., {wildcards.P})' -""" - -rule insert_tau_simulate: - input: - GEN_FILE="sim_output/insert_tau/tau-_{P}GeV.hepmc" - params: - PHYSICS_LIST="FTFP_BERT" - output: - SIM_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_sim_tau-_{P}GeV.edm4hep.root" - shell: - """ -NEVENTS_SIM=1000 -# Running simulation -npsim \ - --compactFile $DETECTOR_PATH/{wildcards.DETECTOR_CONFIG}.xml \ - --numberOfEvents $NEVENTS_SIM \ - --physicsList {params.PHYSICS_LIST} \ - --inputFiles {input.GEN_FILE} \ - --outputFile {output.SIM_FILE} -""" - -rule insert_tau_recon: - input: - SIM_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_sim_tau-_{P}GeV.edm4hep.root" - output: - REC_FILE="sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV.edm4hep.root" - shell: - """ -NEVENTS_REC=1000 -eicrecon {input.SIM_FILE} -Ppodio:output_file={output.REC_FILE} -Pdd4hep:xml_files=$DETECTOR_PATH/{wildcards.DETECTOR_CONFIG}.xml -Ppodio:output_collections=MCParticles,HcalEndcapPInsertRecHits,HcalEndcapPInsertClusters,HcalEndcapPInsertSubcellHits,EcalEndcapPInsertRecHits,EcalEndcapPInsertClusters -Pjana:nevents=$NEVENTS_REC -""" - -rule insert_tau_analysis: - input: - expand("sim_output/insert_tau/{DETECTOR_CONFIG}_rec_tau-_{P}GeV.edm4hep.root", - P=[20,50, 100, 200], - DETECTOR_CONFIG=["{DETECTOR_CONFIG}"]), - script="benchmarks/insert_tau/analysis/tau_plots.py", - output: - results_dir=directory("results/{DETECTOR_CONFIG}/insert_tau"), - shell: - """ -mkdir -p {output.results_dir} -python {input.script} {output.results_dir} -"""