You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While adding an example to #30 I found that assembly geometries do not work in Geant4 10.4.3, due to a bug. I am not sure if there is a workaround but I did not find it, the G4PhysicalVolumeStore simply does not have all the physical volumes.
The obvious fix is to support more recent Geant4 versions and to introduce some mechanism to prevent a user to use assembly geometries in old Geant4 versions.
There are probably some changes to be made also to Geant4Lib.
In restG4 it seems like the only changes necessary are to update physicsList.cxx since it uses some deprecated interfaces. It even uses some deprecated interfaces already for 10.4.3, which throw a warning that they may not give correct results.
#include <G4EmProcessOptions.hh> used in
G4EmProcessOptions emOptions;
emOptions.SetFluo(true); // To activate deexcitation processes and fluorescence
emOptions.SetAuger(true); // To activate Auger effect if deexcitation is activated
emOptions.SetPIXE(true); // To activate Particle Induced X-Ray Emission (PIXE)
is deprecated and may not work correctly even in 10.4.3, we should replace this with the correct way.
Radioactive decay:
G4RadioactiveDecay* radioactiveDecay = new G4RadioactiveDecay();
radioactiveDecay->SetHLThreshold(nanosecond);
This interface also does not work in the newer versions, we need to replace it.
The text was updated successfully, but these errors were encountered:
While adding an example to #30 I found that assembly geometries do not work in Geant4 10.4.3, due to a bug. I am not sure if there is a workaround but I did not find it, the
G4PhysicalVolumeStore
simply does not have all the physical volumes.The obvious fix is to support more recent Geant4 versions and to introduce some mechanism to prevent a user to use assembly geometries in old Geant4 versions.
There are probably some changes to be made also to Geant4Lib.
In
restG4
it seems like the only changes necessary are to updatephysicsList.cxx
since it uses some deprecated interfaces. It even uses some deprecated interfaces already for 10.4.3, which throw a warning that they may not give correct results.#include <G4EmProcessOptions.hh>
used inis deprecated and may not work correctly even in 10.4.3, we should replace this with the correct way.
This interface also does not work in the newer versions, we need to replace it.
The text was updated successfully, but these errors were encountered: