Skip to content

feat: bump Geant4 version to 11.3.2#153

Merged
plexoos merged 4 commits into
mainfrom
update-geant4
Oct 13, 2025
Merged

feat: bump Geant4 version to 11.3.2#153
plexoos merged 4 commits into
mainfrom
update-geant4

Conversation

@plexoos

@plexoos plexoos commented Oct 13, 2025

Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v18.1.3

Only 5 out of 7 clang-format concerns fit within this pull request's diff.

Click here for the full clang-format patch
diff --git a/u4/U4Surface.h b/u4/U4Surface.h
index 8dd6841..2a6bcd9 100644
--- a/u4/U4Surface.h
+++ b/u4/U4Surface.h
@@ -16,3 +15,0 @@ use a small array and plant metadata on that
-#include "G4String.hh"
-#include "G4OpticalSurface.hh"
-#include "G4MaterialPropertiesTable.hh"
@@ -21 +17,0 @@ use a small array and plant metadata on that
-#include "G4Version.hh"
@@ -22,0 +19,4 @@ use a small array and plant metadata on that
+#include "G4MaterialPropertiesTable.hh"
+#include "G4OpticalSurface.hh"
+#include "G4String.hh"
+#include "G4Version.hh"
@@ -222 +222 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-        G4LogicalBorderSurface* bs = it->second ;    
+        G4LogicalBorderSurface* bs = it->second ;
@@ -228 +228 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-        vec->push_back(bs);    
+        vec->push_back(bs);
@@ -261,2 +261,2 @@ inline const std::vector<G4LogicalSkinSurface*>* U4Surface::PrepareSkinSurfaceVe
-    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ; 
-    VKS* vec = new VKS;
+    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ;
+    VKS *vec = new VKS;
@@ -278 +278 @@ inline const std::vector<G4LogicalSkinSurface*>* U4Surface::PrepareSkinSurfaceVe
-    VKS* vec = tab;
+    VKS *vec = tab;

Have any feedback or feature suggestions? Share it here.

Comment thread u4/U4Surface.h
Comment thread u4/U4Surface.h
Comment thread u4/U4Surface.h
Comment thread u4/U4Surface.h Outdated
Comment thread u4/U4Surface.h Outdated
@github-actions github-actions Bot dismissed their stale review October 13, 2025 17:21

outdated suggestion

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v18.1.3

Only 4 out of 6 clang-format concerns fit within this pull request's diff.

Click here for the full clang-format patch
diff --git a/u4/U4Surface.h b/u4/U4Surface.h
index 08a6622..7e5c6b7 100644
--- a/u4/U4Surface.h
+++ b/u4/U4Surface.h
@@ -16,3 +15,0 @@ use a small array and plant metadata on that
-#include "G4String.hh"
-#include "G4OpticalSurface.hh"
-#include "G4MaterialPropertiesTable.hh"
@@ -21 +17,0 @@ use a small array and plant metadata on that
-#include "G4Version.hh"
@@ -22,0 +19,4 @@ use a small array and plant metadata on that
+#include "G4MaterialPropertiesTable.hh"
+#include "G4OpticalSurface.hh"
+#include "G4String.hh"
+#include "G4Version.hh"
@@ -221,2 +221,2 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-    {   
-        G4LogicalBorderSurface* bs = it->second ;
+    {
+        G4LogicalBorderSurface *bs = it->second;
@@ -229 +229 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-        const PPV ppv = it->first ; 
+        const PPV ppv = it->first;
@@ -261,2 +261,2 @@ inline const std::vector<G4LogicalSkinSurface*>* U4Surface::PrepareSkinSurfaceVe
-    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ; 
-    VKS* vec = new VKS;
+    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ;
+    VKS *vec = new VKS;

Have any feedback or feature suggestions? Share it here.

Comment thread u4/U4Surface.h
Comment thread u4/U4Surface.h
Comment thread u4/U4Surface.h Outdated
@github-actions github-actions Bot dismissed their stale review October 13, 2025 21:46

outdated suggestion

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v18.1.3

Only 4 out of 6 clang-format concerns fit within this pull request's diff.

Click here for the full clang-format patch
diff --git a/u4/U4Surface.h b/u4/U4Surface.h
index 6f9d86d..d4bd4a0 100644
--- a/u4/U4Surface.h
+++ b/u4/U4Surface.h
@@ -16,3 +15,0 @@ use a small array and plant metadata on that
-#include "G4String.hh"
-#include "G4OpticalSurface.hh"
-#include "G4MaterialPropertiesTable.hh"
@@ -21 +17,0 @@ use a small array and plant metadata on that
-#include "G4Version.hh"
@@ -22,0 +19,4 @@ use a small array and plant metadata on that
+#include "G4MaterialPropertiesTable.hh"
+#include "G4OpticalSurface.hh"
+#include "G4String.hh"
+#include "G4Version.hh"
@@ -221,2 +221,2 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-    {   
-        G4LogicalBorderSurface* bs = it->second ;
+    {
+        G4LogicalBorderSurface *bs = it->second;
@@ -230 +230 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-        assert( ppv.first == bs->GetVolume1());  
+        assert(ppv.first == bs->GetVolume1());
@@ -261,2 +261,2 @@ inline const std::vector<G4LogicalSkinSurface*>* U4Surface::PrepareSkinSurfaceVe
-    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ; 
-    VKS* vec = new VKS;
+    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ;
+    VKS *vec = new VKS;

Have any feedback or feature suggestions? Share it here.

Comment thread u4/U4Surface.h
Comment thread u4/U4Surface.h Outdated
@github-actions github-actions Bot dismissed their stale review October 13, 2025 21:47

outdated suggestion

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v18.1.3

Only 4 out of 6 clang-format concerns fit within this pull request's diff.

Click here for the full clang-format patch
diff --git a/u4/U4Surface.h b/u4/U4Surface.h
index 22e2257..a38fd3e 100644
--- a/u4/U4Surface.h
+++ b/u4/U4Surface.h
@@ -16,3 +15,0 @@ use a small array and plant metadata on that
-#include "G4String.hh"
-#include "G4OpticalSurface.hh"
-#include "G4MaterialPropertiesTable.hh"
@@ -21 +17,0 @@ use a small array and plant metadata on that
-#include "G4Version.hh"
@@ -22,0 +19,4 @@ use a small array and plant metadata on that
+#include "G4MaterialPropertiesTable.hh"
+#include "G4OpticalSurface.hh"
+#include "G4String.hh"
+#include "G4Version.hh"
@@ -221,2 +221,2 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-    {   
-        G4LogicalBorderSurface* bs = it->second ;
+    {
+        G4LogicalBorderSurface *bs = it->second;
@@ -231 +231 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-        assert( ppv.second == bs->GetVolume2());  
+        assert(ppv.second == bs->GetVolume2());
@@ -261,2 +261,2 @@ inline const std::vector<G4LogicalSkinSurface*>* U4Surface::PrepareSkinSurfaceVe
-    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ; 
-    VKS* vec = new VKS;
+    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ;
+    VKS *vec = new VKS;

Have any feedback or feature suggestions? Share it here.

@BNLNPPS BNLNPPS deleted a comment from github-actions Bot Oct 13, 2025
@BNLNPPS BNLNPPS deleted a comment from github-actions Bot Oct 13, 2025
Added logic to append formatted indices to border surface names to
ensure uniqueness.

Resolves BNLNPPS/esi-g4ox#50
@BNLNPPS BNLNPPS deleted a comment from github-actions Bot Oct 13, 2025
@BNLNPPS BNLNPPS deleted a comment from github-actions Bot Oct 13, 2025
@github-actions github-actions Bot dismissed their stale review October 13, 2025 21:53

outdated suggestion

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v18.1.3

Only 4 out of 6 clang-format concerns fit within this pull request's diff.

Click here for the full clang-format patch
diff --git a/u4/U4Surface.h b/u4/U4Surface.h
index 6843a9f..2a6bcd9 100644
--- a/u4/U4Surface.h
+++ b/u4/U4Surface.h
@@ -16,3 +15,0 @@ use a small array and plant metadata on that
-#include "G4String.hh"
-#include "G4OpticalSurface.hh"
-#include "G4MaterialPropertiesTable.hh"
@@ -21 +17,0 @@ use a small array and plant metadata on that
-#include "G4Version.hh"
@@ -22,0 +19,4 @@ use a small array and plant metadata on that
+#include "G4MaterialPropertiesTable.hh"
+#include "G4OpticalSurface.hh"
+#include "G4String.hh"
+#include "G4Version.hh"
@@ -222 +222 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-        G4LogicalBorderSurface* bs = it->second ;    
+        G4LogicalBorderSurface* bs = it->second ;
@@ -228 +228 @@ inline const std::vector<G4LogicalBorderSurface*>* U4Surface::PrepareBorderSurfa
-        vec->push_back(bs);    
+        vec->push_back(bs);
@@ -261 +261 @@ inline const std::vector<G4LogicalSkinSurface*>* U4Surface::PrepareSkinSurfaceVe
-    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ; 
+    typedef std::map<const G4LogicalVolume*,G4LogicalSkinSurface*>::const_iterator IT ;

Have any feedback or feature suggestions? Share it here.

Comment thread u4/U4Surface.h
Comment thread u4/U4Surface.h
Comment thread u4/U4Surface.h
@BNLNPPS BNLNPPS deleted a comment from github-actions Bot Oct 13, 2025
@BNLNPPS BNLNPPS deleted a comment from github-actions Bot Oct 13, 2025
@BNLNPPS BNLNPPS deleted a comment from github-actions Bot Oct 13, 2025
@BNLNPPS BNLNPPS deleted a comment from github-actions Bot Oct 13, 2025
@plexoos plexoos merged commit f051f4a into main Oct 13, 2025
3 checks passed
@plexoos plexoos deleted the update-geant4 branch October 13, 2025 22:05
@plexoos plexoos added this to simphony Mar 13, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in simphony Mar 13, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Done in simphony Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant