1 #ifndef SLIC_SLICAPPLICATION_HH_
2 #define SLIC_SLICAPPLICATION_HH_ 1
9 #include "G4UIsession.hh"
10 #include "G4ApplicationState.hh"
19 class SlicApplicationMessenger;
25 "caught unknown exception",
26 "caught STD exception",
27 "output file already exists",
28 "failed to delete old output file",
30 "invalid geometry setup",
31 "event generator was never setup"
185 throw new std::exception();
G4UImessenger to G4FieldManager and related classes.
Base class for slic code modules that provides common functionality, such as logging to an output str...
Extension of G4RunManager.
G4UImessenger for the SLIC application.
Singleton class for a Geant4 application.
void setMode(ERunMode rmode)
RunManager * getRunManager()
int getReturnCode() const
RunManager * m_runManager
SlicApplicationMessenger * m_appMessenger
@ FAILED_DELETE_LCIO_FILE
void initializeUserActions()
std::string m_binarybasename
const std::string & getBinaryName() const
const char * getErrorCodeString(unsigned int errorCode)
FieldMessenger * m_fieldMessenger
virtual ~SlicApplication()
void setAborting(bool a=true)
void setReturnCode(int rc)
std::string * m_geant4VersionString
const std::string & getBinaryBasename() const
static const char * ErrorCodeStrings[]