#include "hrfiorootsource.h"

HRFIORootSource


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

class HRFIORootSource : public HRootSource

Inheritance Chart:
TObject
<-
HDataSource
<-
HRootSource
<-
HRFIORootSource

    protected:
Bool_t access(const TString& name, Int_t mode) virtual TFile* getFile(TString name) virtual TString getFileName(Text_t* file) public:
HRFIORootSource(Bool_t fPersistent = kTRUE, Bool_t fMerge = kFALSE) HRFIORootSource(const HRFIORootSource&) virtual ~HRFIORootSource() static TClass* Class() const char* getArchive() const virtual TClass* IsA() const HRFIORootSource& operator=(const HRFIORootSource&) void setArchive(Text_t* archiveName) Bool_t setInput(Text_t* fileName, Text_t* archiveName, Text_t* treeName) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TString fArchive ! Name of archive (path in server) TString fServer ! Name of GSI RFIO server (adsmexp / lxgstore)

Class Description

 HRFIORootSource

 This data source can read data from a ROOT file generated by
 HYDRA, this includes both the reconstruction and simulation software.

 The data source takes care of instantiating the appropriate classes even
 if they are non-standard. That is, if you have an input file with
 HMdcHitSim instead of HMdcHit; HRFIORootSource will take care of using
 HMdcHitSim during the analysis.



HRFIORootSource(Bool_t fPers, Bool_t fMerg) : HRootSource(fPers, fMerg)
 for fPers==kFALSE, input cats are suppressed in output
 for fMerg==kTRUE, partial events in input tree are merged into current
 event, if it exists already at init().

~HRFIORootSource(void)
Class destructor, it clears the data source.

void setArchive(Text_t archiveName[])
Sets the archive where to read files from.

Bool_t access(const TString &inname, Int_t mode)
return 0;  // always true switched off because CINT does not like rfio_fopen !! to be fixed

TString getFileName(Text_t *file)

Bool_t setInput(Text_t *fileName,Text_t *archiveName,Text_t *treeName)

TFile* getFile(TString name)



Inline Functions


             const char* getArchive() const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
         HRFIORootSource HRFIORootSource(const HRFIORootSource&)
        HRFIORootSource& operator=(const HRFIORootSource&)


Author: Peter Zumbruch
Last update: 12/Nov/2003 by P. Zumbruch


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.