Commit in projects/slic/branches/v04-00-00-pre/src on MAIN | |||
LcioManager.cc | +7 | 3131 -> 3132 |
Write SLIC and Geant4 version into event header. This is extremely redundant but run headers are not looked at in lcsim so it is the only solution.
--- 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);
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1