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

rTFileBase Class Reference

It uses the IOfileVI interface to open/close and access ROOT files (TFile). More...

#include <rTFileBase.h>

Inheritance diagram for rTFileBase:

IOfileVI rHistoFileServer rTreeBase List of all members.

Public Methods

 rTFileBase ()
 constructor.

virtual ~rTFileBase ()
 destructor.

virtual void open ()
 open a file "filename" in Read/Write mode.

virtual void close ()
 close the root-file.

virtual void clear ()
 clear the the member variables.

TFile* getFile ()
 return the pointer to the root-file. More...


Protected Attributes

TFile* m_RFile
 pointer to the ROOT file.


Detailed Description

It uses the IOfileVI interface to open/close and access ROOT files (TFile).

The ROOT files used by centella should inherit from rTFileBase

Definition at line 16 of file rTFileBase.h.


Constructor & Destructor Documentation

rTFileBase::rTFileBase ( ) [inline]

constructor.

Definition at line 22 of file rTFileBase.h.

rTFileBase::~rTFileBase ( ) [inline, virtual]

destructor.

Definition at line 24 of file rTFileBase.h.


Member Function Documentation

void rTFileBase::clear ( ) [inline, virtual]

clear the the member variables.

Reimplemented from IOfileVI.

Reimplemented in rTreeBase.

Definition at line 32 of file rTFileBase.cpp.

void rTFileBase::close ( ) [inline, virtual]

close the root-file.

Reimplemented from IOfileVI.

Definition at line 22 of file rTFileBase.cpp.

TFile * rTFileBase::getFile ( ) [inline]

return the pointer to the root-file.

To active this ROOT file the derived methods sould call "getFile()->cd();"

Definition at line 35 of file rTFileBase.h.

void rTFileBase::open ( ) [inline, virtual]

open a file "filename" in Read/Write mode.

Reimplemented from IOfileVI.

Reimplemented in rHistoFileServer, and rTreeBase.

Definition at line 6 of file rTFileBase.cpp.


Member Data Documentation

TFile * rTFileBase::m_RFile [protected]

pointer to the ROOT file.

Definition at line 40 of file rTFileBase.h.


The documentation for this class was generated from the following files:
Generated at Fri Aug 18 12:57:42 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000