add Geant namespace

This commit is contained in:
AndreaRigoni
2026-03-14 14:01:44 +00:00
parent e5dfb75262
commit 692cdf7ae3
23 changed files with 76 additions and 26 deletions

View File

@@ -10,6 +10,9 @@
#include "G4SystemOfUnits.hh"
#include "Randomize.hh"
namespace uLib {
namespace Geant {
EmitterPrimary::EmitterPrimary()
: G4VUserPrimaryGeneratorAction(), fParticleGun(nullptr) {
// Creiamo il ParticleGun impostandolo per sparare 1 particella alla volta
@@ -146,4 +149,7 @@ void QuadMeshEmitterPrimary::GeneratePrimaries(G4Event *anEvent) {
// Keep energy from base class or set here if needed
fParticleGun->GeneratePrimaryVertex(anEvent);
}
}
}
} // namespace Geant
} // namespace uLib