Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -6,6 +6,9 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2023-08-29 Ben Morgan (phys-ctor-limiters-V11-01-00)
|
||||
- Fix Coverity unreachable code warning
|
||||
|
||||
## 2022-11-24 Gabriele Cosmo (phys-ctor-limiters-V11-00-08)
|
||||
- Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1.
|
||||
|
||||
|
||||
@@ -116,7 +116,6 @@ void G4FastSimulationPhysics::ConstructProcess()
|
||||
|
||||
G4bool isUnderFastSimulation(false);
|
||||
G4String processAndGeometryNames;
|
||||
G4int icount(0);
|
||||
|
||||
G4ProcessVector* vprocess = pmanager->GetProcessList();
|
||||
for (G4int ip = 0 ; ip < (G4int)vprocess->size() ; ++ip)
|
||||
@@ -126,22 +125,10 @@ void G4FastSimulationPhysics::ConstructProcess()
|
||||
if ( pb != nullptr )
|
||||
{
|
||||
isUnderFastSimulation = true;
|
||||
if ( icount < 3 )
|
||||
{
|
||||
processAndGeometryNames += pb->GetProcessName();
|
||||
processAndGeometryNames += "[geom:";
|
||||
processAndGeometryNames += pb->GetWorldVolume()->GetName();
|
||||
processAndGeometryNames += "] ";
|
||||
}
|
||||
else
|
||||
{
|
||||
processAndGeometryNames += "\n ";
|
||||
processAndGeometryNames += pb->GetProcessName();
|
||||
processAndGeometryNames += "[geom:";
|
||||
processAndGeometryNames += pb->GetWorldVolume()->GetName();
|
||||
processAndGeometryNames += "] ";
|
||||
icount = 0;
|
||||
}
|
||||
processAndGeometryNames += pb->GetProcessName();
|
||||
processAndGeometryNames += "[geom:";
|
||||
processAndGeometryNames += pb->GetWorldVolume()->GetName();
|
||||
processAndGeometryNames += "] ";
|
||||
}
|
||||
}
|
||||
if ( isUnderFastSimulation ) G4cout << std::setw(14) << particleName << " : " << processAndGeometryNames << G4endl;
|
||||
|
||||
Reference in New Issue
Block a user