Skip to content
Snippets Groups Projects
Commit e87d4ba4 authored by Simon Gardner's avatar Simon Gardner
Browse files

Make canvas name more useful

parent ff1b65ce
Branches
Tags
No related merge requests found
......@@ -2,9 +2,9 @@ rule beamline_sim:
input:
macro="beamGPS.mac",
output:
"/scratch/EIC/G4out/beamline/beamlineTest.edm4hep.root",
"/scratch/EIC/G4out/beamline/beamlineTest{tag}.edm4hep.root",
log:
"/scratch/EIC/G4out/beamline/beamlineTest.edm4hep.root.log",
"/scratch/EIC/G4out/beamline/beamlineTest{tag}.edm4hep.root.log",
shell:
"""
exec npsim \
......@@ -17,11 +17,11 @@ rule beamline_sim:
rule beamline_analysis:
input:
"/scratch/EIC/G4out/beamline/beamlineTest.edm4hep.root",
"/scratch/EIC/G4out/beamline/beamlineTest{tag}.edm4hep.root",
output:
"/scratch/EIC/ReconOut/beamline/beamlineTestAnalysis.root"
"/scratch/EIC/ReconOut/beamline/beamlineTestAnalysis{tag}.root"
log:
"/scratch/EIC/ReconOut/beamline/beamlineTestAnalysis.root.log"
"/scratch/EIC/ReconOut/beamline/beamlineTestAnalysis{tag}.root.log"
params:
xml=os.getenv("DETECTOR_PATH")+"/epic_ip6_extended.xml",
shell:
......
......@@ -110,7 +110,7 @@ void analysis( TString inFile = "/scratch/EIC/G4out/beamline/beamlineTest.
}
TCanvas *cX = new TCanvas("c1","c1",3000,1600);
TCanvas *cX = new TCanvas("x_px_canvas","x_px_canvas",3000,1600);
cX->Divide(4,2);
int i=1;
......@@ -121,7 +121,7 @@ void analysis( TString inFile = "/scratch/EIC/G4out/beamline/beamlineTest.
}
TCanvas *cY = new TCanvas("c2","c2",3000,1600);
TCanvas *cY = new TCanvas("y_py_canvas","y_py_canvas",3000,1600);
cY->Divide(4,2);
i=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment