Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
+27 -39
View File
@@ -23,58 +23,46 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
//
// ---------------- G4ExceptionHandler ----------------
//
// Authors: M.Asai - August 2002
//
// ------------------------------------------------------------
// G4ExceptionHandler
//
// Class description:
//
// Abstract base class which need to be notified when G4Exception occurs.
// The concrete class object derived from this base class will be automatically
// registered to G4StateManager and the virtual method Notify() will be invoked
// when G4Exception occurs.
// Abstract base class which needs to be notified when G4Exception occurs.
// The concrete class object derived from this class will be automatically
// registered to G4StateManager and the virtual method Notify() will be
// invoked when G4Exception occurs.
// ------------------------------------------------------------
#ifndef G4ExceptionHandler_h
#define G4ExceptionHandler_h 1
// Author: M.Asai - August 2002
// --------------------------------------------------------------------
#ifndef G4ExceptionHandler_hh
#define G4ExceptionHandler_hh 1
#include "globals.hh"
#include "G4ExceptionSeverity.hh"
#include "G4VExceptionHandler.hh"
#include "globals.hh"
class G4ExceptionHandler : public G4VExceptionHandler
{
public:
G4ExceptionHandler();
virtual ~G4ExceptionHandler();
G4bool operator==(const G4ExceptionHandler& right) const;
G4bool operator!=(const G4ExceptionHandler& right) const;
public:
public: // with description
virtual G4bool Notify(const char* originOfException,
const char* exceptionCode, G4ExceptionSeverity severity,
const char* description);
// Virtual method which will be invoked by G4StateManager when
// G4Exception occurs.
// If TRUE returned, core dump will be generated, while FALSE returned,
// program execution continues.
G4ExceptionHandler();
virtual ~G4ExceptionHandler();
G4bool operator==(const G4ExceptionHandler& right) const;
G4bool operator!=(const G4ExceptionHandler& right) const;
private:
G4ExceptionHandler(const G4ExceptionHandler& right);
G4ExceptionHandler& operator=(const G4ExceptionHandler& right);
G4ExceptionHandler(const G4ExceptionHandler&) = delete;
G4ExceptionHandler& operator=(const G4ExceptionHandler&) = delete;
private:
void DumpTrackInfo();
virtual G4bool Notify(const char* originOfException,
const char* exceptionCode, G4ExceptionSeverity severity,
const char* description);
// Will be invoked by G4StateManager when G4Exception occurs.
// If TRUE returned, core dump is generated, while if FALSE,
// the program execution continues.
private:
void DumpTrackInfo();
};
#endif