Go to the documentation of this file.
39 msg =
" You are instantiating G4VUserPrimaryGeneratorAction BEFORE your\n";
40 msg +=
"G4VUserPhysicsList is instantiated and assigned to G4RunManager.\n";
41 msg +=
" Such an instantiation is prohibited by Geant4 version 8.0. To fix this problem,\n";
42 msg +=
"please make sure that your main() instantiates G4VUserPhysicsList AND\n";
43 msg +=
"set it to G4RunManager before instantiating other user action classes\n";
44 msg +=
"such as G4VUserPrimaryParticleGeneratorAction.";
45 G4Exception(
"G4VUserPrimaryGeneratorAction::G4VUserPrimaryGeneratorAction()",