slic/include
diff -u -r1.45 -r1.46
--- G4Application.hh 18 Dec 2006 22:10:00 -0000 1.45
+++ G4Application.hh 9 Jan 2007 00:42:26 -0000 1.46
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/include/G4Application.hh,v 1.45 2006/12/18 22:10:00 jeremy Exp $
+// $Header: /cvs/lcd/slic/include/G4Application.hh,v 1.46 2007/01/09 00:42:26 jeremy Exp $
#ifndef SLIC_G4APPLICATION_HH
#define SLIC_G4APPLICATION_HH 1
@@ -164,6 +164,11 @@
void initializeLCDDDetectorConstruction();
/**
+ * Setup the NistWriter.
+ */
+ void initializeNistWriter();
+
+ /**
* Register the PrimaryGeneratorAction.
*/
void initializePrimaryGeneratorAction();
slic/src
diff -u -r1.76 -r1.77
--- G4Application.cc 18 Dec 2006 22:10:00 -0000 1.76
+++ G4Application.cc 9 Jan 2007 00:42:27 -0000 1.77
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/G4Application.cc,v 1.76 2006/12/18 22:10:00 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/G4Application.cc,v 1.77 2007/01/09 00:42:27 jeremy Exp $
#include "G4Application.hh"
@@ -26,6 +26,7 @@
// lcdd
#include "LCDDDetectorConstruction.hh"
#include "LCDDObjectStoreInspector.hh"
+#include "NistWriterMessenger.hh"
// geant4
#include "G4ApplicationState.hh"
@@ -147,6 +148,9 @@
// Setup the LCDD subsystem.
initializeLCDDDetectorConstruction();
+ // Setup the NIST Writer.
+ initializeNistWriter();
+
// Construct and register the UserAction classes.
initializeUserActions();
@@ -352,4 +356,9 @@
CommandLineProcessor::instance()->printUsage( os );
}
+ void G4Application::initializeNistWriter()
+ {
+ new NistWriterMessenger();
+ }
+
} // namespace slic