Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -16,6 +16,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
09-07-2021 V.Ivanchenko, tag empii-V10-07-01
use const pointer to G4Element
16-04-2021 B.Morgan, tag empii-V10-07-00
Migrate build to modular CMake API
@@ -591,8 +591,7 @@ void G4PixeCrossSectionHandler::ActiveElements()
for (G4int iEl=0; iEl<nElements; iEl++)
{
G4Element* element = (*elementVector)[iEl];
G4double Z = element->GetZ();
G4double Z = (*elementVector)[iEl]->GetZ();
if (!(activeZ.contains(Z)) && Z >= zMin && Z <= zMax)
{
activeZ.push_back(Z);