Back to home page

EIC code displayed by LXR

 
 

    


Warning, /detector_benchmarks/benchmarks/secondary_vertexing_dis/Snakefile is written in an unsupported language. File is not indexed.

0001 rule secondary_vertex_analysis:
0002     input:
0003         script=workflow.source_path("analysis/invariant_mass.py"),
0004         reco=lambda wildcards: [f"sim_output/tracking_performances_dis/{wildcards.DETECTOR_CONFIG}/pythia8NCDIS_{wildcards.EBEAM}x{wildcards.PBEAM}_minQ2={wildcards.MINQ2}_beamEffects_xAngle=-0.025_hiDiv_{i}.edm4eic.root" for i in range(1, 6)],
0005     output:
0006         "results/{DETECTOR_CONFIG}/secondary_vertex_pythia8NCDIS_{EBEAM}x{PBEAM}_minQ2={MINQ2}_{VERTICES_COLLECTION}.png",
0007     wildcard_constraints:
0008         EBEAM=r"\d+",
0009         PBEAM=r"\d+",
0010         MINQ2=r"\d+",
0011     shell:
0012         """
0013 python {input.script} --input {input.reco} --output {output} --vertices-collection {wildcards.VERTICES_COLLECTION}
0014 """