41void DoFatalException(
const G4String& outputName)
45 <<
" \"" << outputName <<
"\" output type is not supported." <<
G4endl
46 <<
" " <<
"Analysis manager cannot be created.";
60 if ( outputType == G4AnalysisOutput::kNone ) {
61 DoFatalException(outputName);
66 switch ( outputType ) {
67 case G4AnalysisOutput::kCsv:
71 case G4AnalysisOutput::kHdf5:
75 case G4AnalysisOutput::kRoot:
78 case G4AnalysisOutput::kXml:
81 case G4AnalysisOutput::kNone:
87 DoFatalException(outputName);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
static G4CsvAnalysisManager * Instance()
static G4Hdf5AnalysisManager * Instance()
static G4RootAnalysisManager * Instance()
static G4XmlAnalysisManager * Instance()
G4AnalysisOutput GetOutput(const G4String &outputName, G4bool warn=true)
G4ToolsAnalysisManager * ManagerInstance(const G4String &outputType)