projects/slic/branches/v04-00-00-pre/src
--- projects/slic/branches/v04-00-00-pre/src/LcioManager.cc 2014-05-20 21:38:35 UTC (rev 3131)
+++ projects/slic/branches/v04-00-00-pre/src/LcioManager.cc 2014-05-20 21:45:08 UTC (rev 3132)
@@ -341,11 +341,18 @@
/* Set the idrup. */
int idrup = mcpColl->getParameters().getIntVal("_idrup");
+ //G4cout << "idrup = " << idrup << G4endl;
if (idrup != 0) {
lcevt->parameters().setValue("_idrup", idrup);
}
}
+ // Write SLIC version into event header.
+ lcevt->parameters().setValue("SLIC_VERSION", PackageInfo::getVersion());
+
+ // Write Geant4 version into event header.
+ lcevt->parameters().setValue("GEANT4_VERSION", Geant4VersionInfo::getVersion());
+
/* Set the current LCEvent. */
setCurrentLCEvent(lcevt);