From 6ba4f217079aa2b8236b5fe41d6212c290cbfe30 Mon Sep 17 00:00:00 2001 From: Sasha Mazurov <alexander.mazurov@cern.ch> Date: Tue, 31 May 2016 13:24:11 +0200 Subject: [PATCH] Don't use G4* environment varaibles in the hadronic tests (See LHCBGAUSS-739) --- .../extended/hadronic/G4Hadr00/scripts/run_hadronic_tests.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_hadronic_tests.py b/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_hadronic_tests.py index c244d859f4..42e8d264d9 100755 --- a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_hadronic_tests.py +++ b/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_hadronic_tests.py @@ -132,8 +132,6 @@ for phys_list in phys_lists : ############# Plotting graphs on pdf -G4version = os.environ["G4VERS"] - c1 = TCanvas() part = ['pi-', 'kaon-', 'proton'] @@ -149,7 +147,7 @@ for p,ap in zip(part,apart) : _file3 = TFile("root/QGSP_BERT_"+ap+"_Al.root"); gr3 = _file3.Get("Total"); - gr0.SetTitle("Comparison of physics lists in Geant4 " + G4version); + gr0.SetTitle("Comparison of physics lists in Geant4 "); gr0.GetXaxis().SetTitle("Energy (MeV)"); gr0.GetYaxis().SetTitle("Total cross section (b)"); gr0.SetLineWidth(2) -- GitLab