You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Moving from Geant4 v6.2.2 to v8.0

CLHEP

  • G4 v8 uses CLHEP 1.9.2.2 (or higher?)
  • Note: Starting with this version CLHEP has gone to namespaces and is providing a separate library for each subsection of code. However, in this version they have overridden the namespaces (with using statements) and still provide a single CLHEP librrary. It appears (so far - fingers crossed) that we are ok just downloading and using.
  • The using statements is provided for the most used CLHEP classes by G4, we are using other classes that are not included.. as far as I have understood so far ..

New features (relevant to GLAST)

  • "Non static" particle definition: this will require some changes in the PhysicsList and RunManager
  • Improvements (question) to the Multiple Scattering:

    Multiple Scattering electromagnetic process

    In the electromagnetic standard package major changes have been introduced concerning the Multiple Scattering process. To improve the behaviour of low energy particles (electrons in particular, but affecting also hadrons), the Multiple Scattering now limits the step size for the particles. This restriction is undertaken using several criteria, and is applied systematically, in all volumes and materials. In addition a model of the correlation between lateral displacement and final direction has been implemented (see the Physics Reference Manual for further information).
    As a result, most physical observables become more stable when varying production cuts (i.e. less "cut dependent"). There is a corresponding cost, a CPU-time penalty, when utilising the same value of the production thresholds. This penalty can be significant, depending on the user's setup and the cut values. For many use cases the increased stability will allow the choice of higher production thresholds, recovering computing performance while maintaining physics performance.
    To enable the user to investigate its benefits, a mechanism is provided to deactivate this step limitation. The new method MscStepLimitation(bool) of G4MultipleScattering disables these new step limitations. In addition, in order to help the transition, the old version is available for this release 'frozen' in the class G4MultipleScattering71. Several examples (in extended/electromagnetic) provide sample physics lists which use this older version.

Windows build issues

Linux build issues

  • No labels