#include "hparrootfileio.h"

HParRootFileIo


class description - source file - inheritance tree (.pdf)

class HParRootFileIo : public HParIo

Inheritance Chart:
TObject
<-
HParIo
<-
HParRootFileIo

    public:
HParRootFileIo() HParRootFileIo(const HParRootFileIo&) ~HParRootFileIo() virtual void cd() virtual Bool_t check() static TClass* Class() virtual void close() TList* getList() HParRootFile* getParRootFile() virtual TClass* IsA() const Bool_t open(Text_t* fname, Option_t* option = "READ", Text_t* ftitle, Int_t compress = 1) HParRootFileIo& operator=(const HParRootFileIo&) virtual void print() virtual void readVersions(HRun*) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
HParRootFile* file pointer to ROOT file

Class Description

 HParRootFileIo

 Interface class for parameter I/O from/to ROOT file
 derived from interface base class HParIo.

 It contains a pointer to the "connection class" of type HParRootFile
 inherited from TFile.  HParRootFile contains an object of type HRun
 which holds the list of container versions for an event file.

 It contains also a list of detector interface classes all having the common
 base type HDetParRootFileIo. Every detector has its own interface class.

 This class replaces the former class HParFileIo.



HParRootFileIo()
 constructor

~HParRootFileIo()
 destructor closes an open file

Bool_t open(Text_t* fname, Option_t* option, Text_t* ftitle, Int_t compress)
 It opens a ROOT file (default option "READ"). An open file will be closed.
 The detector I/Os for all detectors defined in the setup are activated.

void close()
 closes an open ROOT file and deletes the detector I/Os

void print()
 prints the content of a open ROOT file and the list of detector I/Os

HParRootFile* getParRootFile()
 returns a pointer to the current ROOT file

void readVersions(HRun* currentRun)
 reads the parameter container versions for the current run from
 the ROOT file

TList* getList()
 returns the list of keys found in the ROOT file



Inline Functions


                 Bool_t check()
                   void cd()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
         HParRootFileIo HParRootFileIo(const HParRootFileIo&)
        HParRootFileIo& operator=(const HParRootFileIo&)


Last update: 03/02/2000 by Ilse Koenig


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.