Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Jira
    • Jira
  • Merge requests 135
    • Merge requests 135
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • atlasatlas
  • athenaathena
  • Merge requests
  • !61268

Support compilation against Geant4 11.0 and 11.1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Benjamin Morgan requested to merge bmorgan/athena:update-simulation-geant4-11 into 23.0 Mar 06, 2023
  • Overview 37
  • Commits 4
  • Pipelines 3
  • Changes 42

For further simulation tests, optimisations and functionality, we'd like to try out the newer Geant4 11.1 version (ATLASSIM-6148). This MR provides fixes to account for API changes since the currently used 10.6 version. Existing calls and behaviour are retaining vis conditional compilation based on the G4VERSION_NUMBER macro. The most relevant changes are:

  • Migrate from use of G4String functions to std::string or G4StrUtil equivalents.
  • AFP_G4_SD: extracting energy range from material properties
  • LUCID_OpProcesses: no longer need to set scintillation yield factor
  • Monopole: Use new member function signatures for G4VEmModel/G4VEmFluctuationModel. No apparent update needed in implementations
  • RHadrons: replace G4HadReentrentException with G4HadronicException
  • G4PhysicsLists: Replace capture and inelastion processes/cross sections with general processes per 11.0 release notes guide.

Changes are not expected to affect configuration, behaviour, or output when using currently supported Geant4 version (10.6) given the conditional compilation, though this has only been confirmed with a small sample run.

Marked as Draft until next sign off of current simulation per info from @mbandier and @jchapman.

Edited Mar 06, 2023 by John Derek Chapman
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: update-simulation-geant4-11