Skip to content
GitLab
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 148
    • Merge requests 148
  • 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
  • !20345

Migrate TRTDigitizationTool to use IAtRNGSvc for AthenaMT

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged John Derek Chapman requested to merge jchapman/athena:MTRNG_TRTDigi_master into master Jan 14, 2019
  • Overview 39
  • Commits 1
  • Pipelines 5
  • Changes 16

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 TRT 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 24, 2019 by John Derek Chapman
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: MTRNG_TRTDigi_master