aboutsummaryrefslogtreecommitdiff
blob: 4581eaea389bcca29677a8f7641ec228a97f76aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- pythia8209/examples/main91.cc.orig	2015-06-05 07:44:27.000000000 +0300
+++ pythia8209/examples/main91.cc	2015-06-05 08:17:22.477228166 +0300
@@ -62,13 +62,9 @@
   // Statistics on event generation.
   pythia.stat();
 
-  // Show histogram. Possibility to close it.
-  mult->Draw();
-  std::cout << "\nDouble click on the histogram window to quit.\n";
-  gPad->WaitPrimitive();
-
   // Save histogram on file and close file.
   mult->Write();
+  outFile->Close();
   delete outFile;
 
   // Done.