#ifndef HGEOCREATESETUP_H #define HGEOCREATESETUP_H // // Declaration of a function called by the Geant-Fortranroutine UGEOM // using cfortran.h of Cern-library. // From here the whole geometry is created: // The classes HGeoInfo geoInfo // HGeoMedia geoMedia // HGeoShapes geoShapes are instantiated. // They are needed for every detector. // First the predefined media are read from file if indicated by it's filename // extension (keyword 'media' in filename), and afterwards the user defined // media (keyword 'usermed' in filename). // (see hgeoinfo.h for further information) // // According to the filenames all detectors are read (from file or database) // and created. Every detector is characterized by a special substring in its // filename. Uptil now 8 sets are defined with the following substrings: // "cave" "rich" "sect" "mdc" "coils" "tof" "shower" "usergeo" // If a filename with one of these substrings is found, the detector is created. // The class for this detector is accessed via a pointer of the type of the // baseclass HGeoSet (see hgeoset.h). // #if defined (WITHFORTRAN) || (WITHGEANT) #include "cfortran.h" #endif #ifdef WITHGEANT #include "geant321.h" #endif #include "hades.h" #include "hadexitcodes.h" #include "hgeoinfo.h" #include "hgeomedia.h" #include "hgeoshapes.h" #include "hgeoset.h" #include "hgeocave.h" #include "hgeorich.h" #include "hgeosect.h" #include "hgeomdc.h" #include "hgeocoils.h" #include "hgeotof.h" #include "hgeoshower.h" #include "hgeouser.h" void hgeocreatesetup(); #endif