Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:15

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 // G4ExceptionSeverity
0027 //
0028 // Description:
0029 //
0030 // Specifies the severity of G4Exception
0031 //
0032 //  FatalException
0033 //   Error is severe or it happens at the initialization time.
0034 //   Program should be aborted and core dump will be generated.
0035 //
0036 //  FatalErrorInArgument
0037 //   Fatal error caused by most likely the mis-use of interfaces
0038 //   by the user's code. Program should be aborted and core dump
0039 //   will be generated.
0040 //
0041 //  RunMustBeAborted
0042 //   Error happens at initialization of a run (ex. at the
0043 //   moment of closing geometry), or some unpleasant situation
0044 //   occurs during the event loop. Current run will be aborted
0045 //   and the application returns to "Idle" state.
0046 //
0047 //  EventMustBeAborted
0048 //   Error happens during tracking a particle. The event currently
0049 //   being processed should be aborted, run will not be aborted.
0050 //
0051 //  JustWarning
0052 //   Just display messages.
0053 //
0054 //  IgnoreTheIssue
0055 //   No message generated.
0056 //
0057 
0058 // Author: M.Asai, 19 August 2002
0059 // 05 September 2023 : IgnoreTheIssue added
0060 //
0061 // --------------------------------------------------------------------
0062 #ifndef G4ExceptionSeverity_hh
0063 #define G4ExceptionSeverity_hh 1
0064 
0065 enum G4ExceptionSeverity
0066 {
0067   FatalException,
0068   FatalErrorInArgument,
0069   RunMustBeAborted,
0070   EventMustBeAborted,
0071   JustWarning,
0072   IgnoreTheIssue
0073 };
0074 #endif