test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~ExceptionHandler();
17  int operator==(const ExceptionHandler & right) const { return (this == &right); }
18  int operator!=(const ExceptionHandler & right) const { return (this != &right); }
19  virtual bool Notify(const char * exceptionOrigin, const char * exceptionCode,
20  G4ExceptionSeverity severity, const char * description);
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
virtual ~ExceptionHandler()
virtual bool Notify(const char *exceptionOrigin, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
ExceptionHandler(const ExceptionHandler &)
string rm
Definition: submit.py:76
int operator==(const ExceptionHandler &right) const
ExceptionHandler & operator=(const ExceptionHandler &right)
tuple description
Definition: idDealer.py:66
RunManager * fRunManager
RunManagerMT * fRunManagerMT
int operator!=(const ExceptionHandler &right) const