Skip to content
Snippets Groups Projects

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

Merged Alexander Mazurov requested to merge lhcbgauss-739 into master
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -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)
Loading