#include "hgeantreader.h"

HGeantReader


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

class HGeantReader : public TObject

Inheritance Chart:
TObject
<-
HGeantReader
<-
HKineGeantReader
HMdcGeantReader
HRichGeantReader
HShowerGeantReader
HSimulGeantReader
HTofGeantReader

    public:
HGeantReader() HGeantReader(const HGeantReader&) ~HGeantReader() static TClass* Class() virtual Bool_t execute() virtual Bool_t finalize() virtual Bool_t init() virtual TClass* IsA() const HGeantReader& operator=(const HGeantReader&) virtual void setInput(TFile* file) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TFile* fInputFile Pointer to the input file.

Class Description

HGeantReader

 Base class for the different GEANT readers, a "GEANT reader" is an object
responsible of reading GEANT output data into the event structure. These data
are organized in ntuples (TTrees in Root notation) which can be in different files,
each reader takes data from a set of these ntuples and puts them into the event
structure.


HGeantReader(void)
Default constructor

~HGeantReader(void)
Destructor

void setInput(TFile *file)
Sets the file where data are read from to "file"

Bool_t execute(void)
This method should be overriden by the different GEANT readers, here
is where each reader takes the data from the input file and puts those
data into the event structure.

This method returns kTRUE if no problem has been found or kFALSE if it
has been unable to read the data.

Bool_t init(void)
 This method should be overriden by the different GEANT readers.
 It is called before the event loop and can contain all functionality
 which can be done once in advance.



Inline Functions


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


Author: Manuel Sanchez
Last update: 18/06/98 by Manuel Sanchez


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.