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