slic/src
diff -u -r1.14 -r1.15
--- LcioFileNamer.cc 17 May 2006 02:51:46 -0000 1.14
+++ LcioFileNamer.cc 25 Aug 2006 22:21:05 -0000 1.15
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/LcioFileNamer.cc,v 1.14 2006/05/17 02:51:46 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/LcioFileNamer.cc,v 1.15 2006/08/25 22:21:05 jeremy Exp $
#include "LcioFileNamer.hh"
// lcdd
@@ -12,6 +12,7 @@
#include "PackageInfo.hh"
#include "RunManager.hh"
#include "TimeUtil.hh"
+#include "PhysicsListManager.hh"
// geant4
#include "G4Run.hh"
@@ -62,6 +63,9 @@
else if ( field == "binary" ) {
value = G4Application::instance()->getBinaryBasename();
}
+ else if ( field == "physics" ) {
+ value = PhysicsListManager::instance()->getCurrentListName();
+ }
else {
cerr << "WARNING: Ignoring unknown field <" << field << ">" << endl;
value = "";