Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user