#include "hgeominterface.h"

HGeomInterface


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

class HGeomInterface : public TObject

Inheritance Chart:
TObject
<-
HGeomInterface
    private:
HGeomIo* connectInput(const char*) Bool_t connectOutput(const char*) public:
HGeomInterface() HGeomInterface(const HGeomInterface&) ~HGeomInterface() Bool_t addAlignment(HSpecGeomPar*) Bool_t addAlignment(HDetGeomPar*) void addInputFile(const char*) void addSetupFile(const char* f) static TClass* Class() Bool_t createAll(Bool_t withCleanup = kFALSE) Bool_t createGeometry(Bool_t withCleanup = kFALSE) Bool_t createSet(HGeomSet*) void deleteSet(HGeomSet* pSet) HGeomSet* findSet(const char*) HGeomIo* getFileInput() HGeomMedia* getMedia() HGeomIo* getOraInput() HGeomIo* getOutput() HGeomShapes* getShapes() virtual TClass* IsA() const HGeomInterface& operator=(const HGeomInterface&) void print() Bool_t readAll() Bool_t readGeomConfig(const char*) Bool_t readMedia() Bool_t readSet(HGeomSet*) Bool_t readSetupFile() void setGeomBuilder(HGeomBuilder* p) void setOracleInput(HGeomIo* p) void setOutput(HGeomIo* p) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Bool_t writeAll() Bool_t writeMedia() Bool_t writeMedia(const char*) Bool_t writeSet(HGeomSet*) Bool_t writeSet(HGeomSet*, const char*)

Data Members

    private:
HGeomIo* fileInput ASCII file I/O HGeomIo* oraInput Oracle input HGeomIo* output Oracle output Int_t nSets number of geometry sets (detector parts) Int_t nActualSets number of set in actual geometry Int_t nFiles number of geometry and hit files TObjArray* sets array of geometry sets HGeomMedia* media list of media HGeomShapes* shapes list of shapes TList* masterNodes list of mother nodes used by several sets TString setupFile file with detector setups (subsets) HGeomBuilder* geoBuilder actually used geometry builder

Class Description

 HGeomInterface

 Manager class for geometry used by simulation



HGeomInterface()
 Constructor

~HGeomInterface()
 Destructor

void addInputFile(const char* file)
 Adds the input file and creates the corresponding detector object

HGeomSet* findSet(const char* name)
 Find the detector set in the actual setup

Bool_t readSet(HGeomSet* pSet)
 Reads the geometry for the detector part

Bool_t writeSet(HGeomSet* pSet)
 Writes the geometry for the detector part to output

Bool_t writeSet(HGeomSet* pSet, const char* filename)
 Writes the geometry for the detector part to file

void deleteSet(HGeomSet* pSet)
 Deletes the set

Bool_t readMedia()
 Reads the media

Bool_t writeMedia()
 Writes the media to output

Bool_t writeMedia(const char* filename)
 Writes the media to file

Bool_t readAll()
 Reads the media and the whole geometry and hit definitions

Bool_t writeAll()
 Reads the media and the whole geometry to output

Bool_t createAll(Bool_t withCleanup)
 Creates the whole geometry
 (if withCleanup==kTRUE, the geometry input is deleted afterwards)

Bool_t createGeometry(Bool_t withCleanup)
 Reads and creates the whole geometry
 (if withCleanup==kTRUE, the geometry input is deleted after creation)

HGeomIo* connectInput(const char* filename)
 Connects the input (ASCII or Oracle)

Bool_t connectOutput (const char* name)
 Connects the output (ASCII or Oracle)

Bool_t createSet(HGeomSet* pSet)
 Creates the geometry of detector part

Bool_t addAlignment(HSpecGeomPar* pPar)
 Adds the target alignment (not yet implemented for sectors)

Bool_t addAlignment(HDetGeomPar* pPar)
 Adds the detector alignment

void print()
 Prints the media and the list of detector parts

Bool_t readGeomConfig(const char* configFile)
 Reads the GEANT configuration file

Bool_t readSetupFile()
 Reads the detector setups, needed for create only subsets



Inline Functions


                   void setOracleInput(HGeomIo* p)
                   void setOutput(HGeomIo* p)
                   void setGeomBuilder(HGeomBuilder* p)
               HGeomIo* getFileInput()
               HGeomIo* getOraInput()
               HGeomIo* getOutput()
           HGeomShapes* getShapes()
            HGeomMedia* getMedia()
                   void addSetupFile(const char* f)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
         HGeomInterface HGeomInterface(const HGeomInterface&)
        HGeomInterface& operator=(const HGeomInterface&)


Last update: 09/05/2006 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.