slic/src
diff -u -r1.68 -r1.69
--- LcioManager.cc 17 May 2006 02:51:46 -0000 1.68
+++ LcioManager.cc 27 Jun 2006 21:46:10 -0000 1.69
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/LcioManager.cc,v 1.68 2006/05/17 02:51:46 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/LcioManager.cc,v 1.69 2006/06/27 21:46:10 jeremy Exp $
#include "LcioManager.hh"
// slic
@@ -59,7 +59,6 @@
m_McpFinalColl(0),
m_writer(0),
m_runHdr(0),
- m_path("."),
m_fileExistsAction( LcioManager::eFail ),
m_runNumber(0),
m_enableDumpEvent(false),
@@ -216,10 +215,18 @@
string LcioManager::getFullOutputPath(bool withExtension)
{
- string fullPath = m_path + "/" + m_filename;
- if ( withExtension ) {
+ string fullPath;
+
+ if (m_path.length() > 0) {
+ fullPath = m_path + "./";
+ }
+
+ fullPath += m_filename;
+
+ if (withExtension) {
fullPath += ".slcio";
}
+
return fullPath;
}