#include <G4UserEventAction.hh>
Definition at line 48 of file G4UserEventAction.hh.
◆ G4UserEventAction()
G4UserEventAction::G4UserEventAction |
( |
| ) |
|
Definition at line 37 of file G4UserEventAction.cc.
38{
40 {
42 msg = " You are instantiating G4UserEventAction BEFORE your\n";
43 msg += "G4VUserPhysicsList is instantiated and assigned to G4RunManager.\n";
44 msg += " Such an instantiation is prohibited by Geant4 version 8.0. To fix this problem,\n";
45 msg += "please make sure that your main() instantiates G4VUserPhysicsList AND\n";
46 msg += "set it to G4RunManager before instantiating other user action classes\n";
47 msg += "such as G4UserEventAction.";
48 G4Exception(
"G4UserEventAction::G4UserEventAction()",
50 }
51}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
static G4ParticleTable * GetParticleTable()
◆ ~G4UserEventAction()
virtual G4UserEventAction::~G4UserEventAction |
( |
| ) |
|
|
virtualdefault |
◆ BeginOfEventAction()
void G4UserEventAction::BeginOfEventAction |
( |
const G4Event * |
anEvent | ) |
|
|
virtual |
◆ EndOfEventAction()
void G4UserEventAction::EndOfEventAction |
( |
const G4Event * |
anEvent | ) |
|
|
virtual |
◆ SetEventManager()
◆ fpEventManager
The documentation for this class was generated from the following files: