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 124
    • Merge requests 124
  • 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
  • !20297

Migrate PixelDigitization to use IAtRNGSvc for AthenaMT

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged John Derek Chapman requested to merge jchapman/athena:MTRNG_PixelDigi_master into master Jan 11, 2019
  • Overview 12
  • Commits 1
  • Pipelines 1
  • Changes 17

In order to make the output of MT MC Overlay (and digitization) reproducible then we need to use the thread-safe random number service (via IAtRNGSvc) in all digitization code. This merge request does this for the Pixel Digitization code. The approach taken is to retrieve the CLHEP::HepRandomEngine instance re-seeded for the current event in a method of the PileUpTool which is called once per event, this is then as an argument in calls to other methods where random numbers are required. This helps to make those tools (more) const.

Due to the slightly different way that the random number seeding is done in the MT service, the output is slightly different, but this should just be statistical.

Edited Jan 17, 2019 by John Derek Chapman
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: MTRNG_PixelDigi_master