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