// Main programm for compiling and running the programm without Geant // It's called if the fag WITHGEANT is not defined in the makefile // #include "geantdef.h" #include "hadesstd.h" #include "hgeantinput.h" #include "hgeocreatesetup.h" // Global class to store the input read from the initialization-file HGeantInput geantInput; int main () { // hgeantinit("geoinifile.cmd"); not working without Geant flag HString s="geoinifile.cmd"; geantInput.iniSourceFile(s); if (geantInput.readFileNames()==HSUCCESS) { geantInput.showFileNames(); hgeocreatesetup(); return EXIT_SUCCESS; } else { cerr << "cannot read files from geoinifile.cmd" << endl; return EXIT_FAILURE; } }