CMS 3D CMS Logo

ExceptionHandler.h
Go to the documentation of this file.
1 #ifndef SimG4Core_ExceptionHandler_H
2 #define SimG4Core_ExceptionHandler_H
3 
4 #include "G4VExceptionHandler.hh"
5 #include "G4ExceptionSeverity.hh"
6 
7 class RunManager;
8 class RunManagerMT;
9 
10 class ExceptionHandler : public G4VExceptionHandler
11 {
12 public:
16  ~ExceptionHandler() override;
17  int operator==(const ExceptionHandler & right) const { return (this == &right); }
18  int operator!=(const ExceptionHandler & right) const { return (this != &right); }
19  bool Notify(const char * exceptionOrigin, const char * exceptionCode,
20  G4ExceptionSeverity severity, const char * description) override;
21 private:
22  ExceptionHandler(const ExceptionHandler &) : G4VExceptionHandler() {}
23  ExceptionHandler& operator=(const ExceptionHandler &right) { return *this; }
26  //bool override;
27  //int verbose;
28 };
29 
30 #endif
~ExceptionHandler() override
ExceptionHandler(const ExceptionHandler &)
bool Notify(const char *exceptionOrigin, const char *exceptionCode, G4ExceptionSeverity severity, const char *description) override
int operator==(const ExceptionHandler &right) const
ExceptionHandler & operator=(const ExceptionHandler &right)
RunManager * fRunManager
RunManagerMT * fRunManagerMT
rm
Definition: submit.py:76
int operator!=(const ExceptionHandler &right) const