Skip to content
Snippets Groups Projects
Commit 7dcf2426 authored by Gloria Corti's avatar Gloria Corti
Browse files

Merge branch 'lhcbgauss-739' into 'master'

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

See LHCBGAUSS-739. We can use a slot name for the plot names in lhcbpr  instead of putting Geant version into the plots

See merge request !6
parents e7ae3c2f 6ba4f217
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment