another fix

This commit is contained in:
Jan Kieseler
2023-10-09 12:36:03 +02:00
parent 61e3648635
commit 647522ae8c
+1 -1
View File
@@ -83,7 +83,7 @@ void PrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
rand = G4INCL::Random::shoot();
partEnergy = rand*(maxPartEnergy-minPartEnergy)+minPartEnergy;
G4cout << "shooting with " << partEnergy << " GeV" << G4endl;
//G4cout << "shooting with " << partEnergy << " GeV" << G4endl;
auto particleDefinition
= G4ParticleTable::GetParticleTable()->FindParticle(partSpecies);