Skip to content
Snippets Groups Projects

FastCaloSim: Making FastShowerCellBuilderTool const.

Merged Scott Snyder requested to merge ssnyder/athena:const6.FastCaloSim-20190122 into master

TH1::GetRandom() and TH2::GetRandom2() are not MT-safe, since they're non-const and also use gRandom. These are used from ParticleEnergyParametrization. Rewrite so as to be const and to allow passing in a random generator rather than having to use gRandom. (We currently still pass in gRandom. Changing that would change rng seeding, so that will be fixed in a subsequent change.)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading