Import Geant4 11.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2024-12-06 11:11:40 +01:00
parent e58e650b32
commit 32390e802b
1984 changed files with 98713 additions and 83996 deletions
+8
View File
@@ -6,6 +6,14 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2024-09-10 Ivana Hrivnacova (geomvol-V11-02-04)
- Coverity fix in G4ReflectionFactory:
Do not pass the same G4VisAttributes object to the reflected LV
## 2024-08-07 Gabriele Cosmo (geomvol-V11-02-03)
- Access G4GeometryManager singleton through its GetInstance() in
G4AssemblyStore.
## 2024-04-02 Gabriele Cosmo (geomvol-V11-02-02)
- Applied trivial clang-tidy fixes to G4AssemblyStore, i.e. removed
unnecessary 'if' check for null pointer in Clean() method.
@@ -70,7 +70,7 @@ void G4AssemblyStore::Clean()
{
// Do nothing if geometry is closed
//
if (G4GeometryManager::IsGeometryClosed())
if (G4GeometryManager::GetInstance()->IsGeometryClosed())
{
G4cout << "WARNING - Attempt to delete the assembly store"
<< " while geometry closed !" << G4endl;
@@ -424,7 +424,10 @@ G4LogicalVolume* G4ReflectionFactory::CreateReflectedLV(G4LogicalVolume* LV)
LV->GetFieldManager(),
LV->GetSensitiveDetector(),
LV->GetUserLimits());
refLV->SetVisAttributes(LV->GetVisAttributes()); // vis-attributes
if (LV->GetVisAttributes() != nullptr) {
refLV->SetVisAttributes(*LV->GetVisAttributes()); // vis-attributes
}
refLV->SetBiasWeight(LV->GetBiasWeight()); // biasing weight
if (LV->IsRegion())
{