Skip to content

GitLab

  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 137
    • Merge requests 137
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • atlas
  • athenaathena
  • Merge requests
  • !38233

Switch to using G4AtlasActionInitialization to initialize UserActions in Simulation jobs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged John Derek Chapman requested to merge jchapman/athena:UserActionInit_master into master Nov 13, 2020
  • Overview 11
  • Commits 2
  • Pipelines 1
  • Changes 11

G4AtlasActionInitialization derives from G4VUserActionInitialization. Classes based on G4VUserActionInitialization are the recommended way of initializing G4UserActions in Geant4MT. Switching to this approach should make our Athena interface to Geant4 more standard. Currently the class just wraps calls to the UserActionSvc.
The required clients of the UserActionSvc are then updated to create (in the case of G4AtlasAlg, G4LegacyTransportTool and G4TransportTool) G4AtlasActionInitialization or use it (G4AtlasRunManager, G4AtlasUserWorkerThreadInitialization, G4AtlasWorkerRunManager).

Ideally G4RunActions would be initialized for the master thread also via the G4VUserActionInitialization::BuildForMaster call. This functionality was missing in the current implementation, so has not been added here in order to reproduce exactly the current behaviour. Adding it requires significant refactoring which is best handled in a separate merge request.

Edited Nov 17, 2020 by John Derek Chapman
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: UserActionInit_master