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

@@ -15,7 +15,7 @@ int main() {
// Test Solid initialization and NIST material //
{
Solid solid("test_solid");
Geant::Solid solid("test_solid");
TEST1(solid.GetLogical() != nullptr);
solid.SetNistMaterial("G4_AIR");
@@ -25,7 +25,7 @@ int main() {
// Test TessellatedSolid with a simple mesh //
{
TessellatedSolid tsolid("test_tessellated");
Geant::TessellatedSolid tsolid("test_tessellated");
TEST1(tsolid.GetLogical() != nullptr);
TEST1(tsolid.GetSolid() != nullptr);