Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

rTFileBase.h

Go to the documentation of this file.
00001 
00002 #ifndef rTFileBase_h
00003 #define rTFileBase_h
00004 
00005 #include "Event/IOfileVI.h"
00006 
00007 class TFile;
00008 
00009 //---------------------------------------
00011 /*! The ROOT files used by centella should inherit from rTFileBase */
00012 //---------------------------------------
00013 // JA Hernando, Santa Cruz, CA, 05/15/00
00014 //----------------------------------------
00015 //###############
00016 class rTFileBase : public IOfileVI
00017 //###############
00018 {       
00019 public:
00020 
00022         rTFileBase()  {clear();}
00024         virtual ~rTFileBase() {clear();}
00025 
00027         virtual void open(); // init with this root file
00029         virtual void close();
00031         virtual void clear();
00032 
00034 
00035         TFile* getFile() {return m_RFile; };
00036 
00037 protected:
00038 
00040         TFile*        m_RFile; // input file
00041 };
00042 #endif
00043 

Generated at Fri Aug 18 12:57:38 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000