#include "hdirectsource.h"

HDirectSource


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

class HDirectSource : public HDataSource

Inheritance Chart:
TObject
<-
HDataSource
<-
HDirectSource
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    public:
~HDirectSource() Bool_t addGeantReader(HGeantReader* r) static TClass* Class() virtual Bool_t finalize() virtual const Text_t* getCurrentFileName() const virtual Int_t getCurrentRefId() virtual Int_t getCurrentRunId() EDsState getNextEvent() virtual Bool_t init() virtual TClass* IsA() const void setCurrentRunId(Int_t Id) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TList fReaderList List of active Geant readers. Int_t fCurrentRunId

Class Description

 HDirectSource

  This class is a data source to operate directly under HGeant control

  HDirectSource acts like HGeantSource, but instead of taking the data from
  HGeant Root file(s) it is launched from within HGeant and gets the data
  directly from the simulation categories in memory


~HDirectSource(void)
Destructor. Deletes the readers

Bool_t addGeantReader(HGeantReader *r)
This method is provided to stay compatible with readers
like HMdcGeantRootReader, which do part of the digitization
The input is the actual reader to be used.

Bool_t finalize(void)

Bool_t init(void)
 calls the init() functions of all readers

EDsState getNextEvent(void)
Produce a new event and fill into the HEvent structure




Inline Functions


                 void setCurrentRunId(Int_t Id)
                Int_t getCurrentRunId()
                Int_t getCurrentRefId()
        const Text_t* getCurrentFileName() const
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)


Author: R. Holzmann
Last update: 02/03/2000 by R. Holzmann


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.