SFrame 3.6
core/include/SOutputFile.h
Go to the documentation of this file.
00001 // Dear emacs, this is -*- c++ -*-
00002 // $Id: SOutputFile.h 120 2009-08-27 12:02:57Z krasznaa $
00003 /***************************************************************************
00004  * @Project: SFrame - ROOT-based analysis framework for ATLAS
00005  * @Package: Core
00006  *
00007  * @author Stefan Ask       <Stefan.Ask@cern.ch>           - Manchester
00008  * @author David Berge      <David.Berge@cern.ch>          - CERN
00009  * @author Johannes Haller  <Johannes.Haller@cern.ch>      - Hamburg
00010  * @author A. Krasznahorkay <Attila.Krasznahorkay@cern.ch> - CERN/Debrecen
00011  *
00012  ***************************************************************************/
00013 
00014 #ifndef SFRAME_CORE_SOutputFile_H
00015 #define SFRAME_CORE_SOutputFile_H
00016 
00017 // ROOT include(s):
00018 #include <TNamed.h>
00019 #include <TString.h>
00020 
00032 class SOutputFile : public TNamed {
00033 
00034 public:
00036    SOutputFile( const char* name, const TString& fileName );
00037 
00039    void SetFileName( const TString& fileName );
00041    const TString& GetFileName() const;
00042 
00043 private:
00044    TString m_fileName; 
00045 
00046 #ifndef DOXYGEN_IGNORE
00047    ClassDef( SOutputFile, 1 );
00048 #endif // DOXYGEN_IGNORE
00049 
00050 }; // class SOutputFile
00051 
00052 #endif // SFRAME_CORE_SOutputFile_H