#include "hldfilesourcebase.h"

HldFileSourceBase


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

class HldFileSourceBase : public HldSource

Inheritance Chart:
TObject
<-
HDataSource
<-
HldSource
<-
HldFileSourceBase
<-
HldFileSource
<-
HldRFIOFileSource
HSUHldFileInfo
HldGrepFileSource
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    public:
virtual ~HldFileSourceBase() void addFile(Text_t* fileName, Text_t* refFile) virtual void addFile(Text_t* fileName, Int_t refId = -1) static TClass* Class() virtual const Text_t* getCurrentFileName() const virtual Int_t getCurrentRefId() virtual Int_t getCurrentRunId() TList* getListOfFiles() virtual EDsState getNextEvent(Bool_t doUnpack = kTRUE) virtual Bool_t getNextFile() virtual Int_t getRunId(const Text_t* fileName) virtual Bool_t init() virtual TClass* IsA() const virtual Bool_t rewind() void setDirectory(Text_t* direc) void setMaxEventPerFile(Int_t n) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TList fFileList List with all files to be analyzed HldFileDesc* fCurrentFile Pointer to current file. TString fCurrentDir Current directory for addFile TIterator* iter Iterator over list of files Int_t fEventNr Int_t fEventLimit Event counter and maximun event nr per file

Class Description

HLdFileSource

  This "data source" reads the LMD data from files on disk.
  (further information in base class HldSource)



~HldFileSourceBase(void)
 Destructor for a LMD file data source

Bool_t init(void)
 initializes the unpackers and creates the fReadEvent of the first file

Int_t getCurrentRunId(void)

Int_t getCurrentRefId(void)

EDsState getNextEvent(Bool_t doUnpack)
 loops over the event files in the runtime database
 Tries to read a new event from the LMD file and put the info into the
 HEvent structure:

void addFile(Text_t *fileName, Text_t *refFile)



Inline Functions


               Bool_t rewind()
                 void setMaxEventPerFile(Int_t n)
               Bool_t getNextFile()
               TList* getListOfFiles()
                Int_t getRunId(const Text_t* fileName)
        const Text_t* getCurrentFileName() const
                 void addFile(Text_t* fileName, Int_t refId = -1)
                 void setDirectory(Text_t* direc)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)


Author: Ilse Koenig
Last update: 26/11/98 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.