Skip to content
Snippets Groups Projects
Commit 6ba4f217 authored by Sasha Mazurov's avatar Sasha Mazurov
Browse files

Don't use G4* environment varaibles in the hadronic tests (See LHCBGAUSS-739)

parent e7ae3c2f
No related branches found
No related tags found
2 merge requests!7Don't use G4* environment varaibles in the hadronic tests (See LHCBGAUSS-739),!6Don't use G4* environment varaibles in the hadronic tests (See LHCBGAUSS-739)
...@@ -132,8 +132,6 @@ for phys_list in phys_lists : ...@@ -132,8 +132,6 @@ for phys_list in phys_lists :
############# Plotting graphs on pdf ############# Plotting graphs on pdf
G4version = os.environ["G4VERS"]
c1 = TCanvas() c1 = TCanvas()
part = ['pi-', 'kaon-', 'proton'] part = ['pi-', 'kaon-', 'proton']
...@@ -149,7 +147,7 @@ for p,ap in zip(part,apart) : ...@@ -149,7 +147,7 @@ for p,ap in zip(part,apart) :
_file3 = TFile("root/QGSP_BERT_"+ap+"_Al.root"); _file3 = TFile("root/QGSP_BERT_"+ap+"_Al.root");
gr3 = _file3.Get("Total"); 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.GetXaxis().SetTitle("Energy (MeV)");
gr0.GetYaxis().SetTitle("Total cross section (b)"); gr0.GetYaxis().SetTitle("Total cross section (b)");
gr0.SetLineWidth(2) gr0.SetLineWidth(2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment