SFrame 3.6
|
00001 // $Id: SOutputFile.cxx 120 2009-08-27 12:02:57Z krasznaa $ 00002 /*************************************************************************** 00003 * @Project: SFrame - ROOT-based analysis framework for ATLAS 00004 * @Package: Core 00005 * 00006 * @author Stefan Ask <Stefan.Ask@cern.ch> - Manchester 00007 * @author David Berge <David.Berge@cern.ch> - CERN 00008 * @author Johannes Haller <Johannes.Haller@cern.ch> - Hamburg 00009 * @author A. Krasznahorkay <Attila.Krasznahorkay@cern.ch> - CERN/Debrecen 00010 * 00011 ***************************************************************************/ 00012 00013 // Local include(s): 00014 #include "../include/SOutputFile.h" 00015 #include "../include/SLogger.h" 00016 00017 #ifndef DOXYGEN_IGNORE 00018 ClassImp( SOutputFile ); 00019 #endif // DOXYGEN_IGNORE 00020 00021 SOutputFile::SOutputFile( const char* name, const TString& fileName ) 00022 : TNamed( name, "Temporary SFrame file descriptor" ), m_fileName( fileName ) { 00023 00024 } 00025 00026 void SOutputFile::SetFileName( const TString& fileName ) { 00027 00028 m_fileName = fileName; 00029 return; 00030 00031 } 00032 00033 const TString& SOutputFile::GetFileName() const { 00034 00035 return m_fileName; 00036 00037 }