Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
+18 -16
View File
@@ -32,21 +32,23 @@
G4VUserPrimaryGeneratorAction::G4VUserPrimaryGeneratorAction()
{
if(!(G4ParticleTable::GetParticleTable()->GetReadiness()))
{
G4String msg;
msg = " You are instantiating G4VUserPrimaryGeneratorAction BEFORE your\n";
msg += "G4VUserPhysicsList is instantiated and assigned to G4RunManager.\n";
msg += " Such an instantiation is prohibited by Geant4 version 8.0. To fix this problem,\n";
msg += "please make sure that your main() instantiates G4VUserPhysicsList AND\n";
msg += "set it to G4RunManager before instantiating other user action classes\n";
msg += "such as G4VUserPrimaryParticleGeneratorAction.";
G4Exception("G4VUserPrimaryGeneratorAction::G4VUserPrimaryGeneratorAction()",
"Run0061",FatalException,msg);
}
if(!(G4ParticleTable::GetParticleTable()->GetReadiness()))
{
G4String msg;
msg = " You are instantiating G4VUserPrimaryGeneratorAction BEFORE your\n";
msg += "G4VUserPhysicsList is instantiated and assigned to G4RunManager.\n";
msg +=
" Such an instantiation is prohibited by Geant4 version 8.0. To fix this "
"problem,\n";
msg +=
"please make sure that your main() instantiates G4VUserPhysicsList AND\n";
msg +=
"set it to G4RunManager before instantiating other user action classes\n";
msg += "such as G4VUserPrimaryParticleGeneratorAction.";
G4Exception(
"G4VUserPrimaryGeneratorAction::G4VUserPrimaryGeneratorAction()",
"Run0061", FatalException, msg);
}
}
G4VUserPrimaryGeneratorAction::~G4VUserPrimaryGeneratorAction()
{;}
G4VUserPrimaryGeneratorAction::~G4VUserPrimaryGeneratorAction() { ; }