Print

Print


Commit in slic/src on MAIN
LcioManager.cc+6-21.72 -> 1.73
JM: Write the Geant4 version into the LCRunHeader.

slic/src
LcioManager.cc 1.72 -> 1.73
diff -u -r1.72 -r1.73
--- LcioManager.cc	5 Sep 2006 23:21:58 -0000	1.72
+++ LcioManager.cc	12 Oct 2006 22:30:01 -0000	1.73
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/LcioManager.cc,v 1.72 2006/09/05 23:21:58 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/LcioManager.cc,v 1.73 2006/10/12 22:30:01 jeremy Exp $
 #include "LcioManager.hh"
 
 // slic
@@ -32,6 +32,7 @@
 #include "G4TrajectoryContainer.hh"
 #include "G4VHitsCollection.hh"
 #include "G4SDManager.hh"
+#include "G4Version.hh"
 
 // std
 #include <ctime>
@@ -284,7 +285,10 @@
     m_runHdr = new LCRunHeaderImpl();
 
     // set app string in run header
-    m_runHdr->parameters().setValue( "APP_STRING", PackageInfo::getFullApplicationString() );
+    m_runHdr->parameters().setValue("APP_STRING", PackageInfo::getFullApplicationString());
+
+    // Write Geant4 version into run header.
+    m_runHdr->parameters().setValue("GEANT4_VERSION", G4Version);
 
     // set run number
     m_runHdr->setRunNumber(m_runNumber);
CVSspam 0.2.8