slic/src
diff -u -r1.4 -r1.5
--- EventSourceWithInputFile.cc 26 May 2005 23:00:48 -0000 1.4
+++ EventSourceWithInputFile.cc 3 Aug 2005 23:20:04 -0000 1.5
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/EventSourceWithInputFile.cc,v 1.4 2005/05/26 23:00:48 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/EventSourceWithInputFile.cc,v 1.5 2005/08/03 23:20:04 jeremy Exp $
#include "EventSourceWithInputFile.hh"
#include "EventSourceManager.hh"
@@ -32,8 +32,6 @@
void EventSourceWithInputFile::reset()
{
- //std::cout << "reset" << std::endl;
-
// close if open
if ( m_fileIsOpen ) {
close();
@@ -72,13 +70,12 @@
{
// attempt to setup filename from mgr if got a new filename
if ( EventSourceManager::instance()->isNewFilename() ) {
- //std::cout << "mgr has new fname" << std::endl;
setFilename( EventSourceManager::instance()->getFilename() );
}
// check if filename is setup correctly
if ( !m_fileIsSet ) {
- G4Exception("Generator filename was not valid.");
+ G4Exception("Generator filename was not set.");
}
// reset if new file