Skip to content
Snippets Groups Projects

Fix Geant4 configuration

Merged Florian Uhlig requested to merge f.uhlig/cbmroot:fix_geant4_config into master
All threads resolved!

With the additional parameter specialCuts the energy based Geant3 cuts are automatically converted to the range based Geant4 cuts by VMC. Without the parameter the default Geant4 cuts are used. The change reduced the number of secondaries by a factor of 5 or more for a normal CbmRoot UrQMD simulation and speed up the runtime by factors. The runtime compared to Geant3 went from being slower by a factor of 4 to being slower by 30 %. The change of the maximum number of steps from 1e7 to the correct number of 10000 has no effect. There are no tracks exceeding 10000 steps such that there is no additional speedup.

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
  • This was tested for beam transport with Trajectories turned on, there was a remarkable saving in terms of run-time for Geant4, which was completely unusable for my task before implementation.

    The difference in time per event between Geant3 and Geant4 on 20 events was approximately 10%. However it should be stressed that Geant3 and Geant4 where not giving identical beam trajectories, with many beam ion terminating before the end of the beampipe/cave, thus perhaps giving an unfair time comparison.

  • @v.friese,

    is there an issue why you don't approve the MR?

  • No. Please attend to the comments by Eoin.

  • Florian Uhlig resolved all threads

    resolved all threads

  • Florian Uhlig added 27 commits

    added 27 commits

    Compare with previous version

  • @v.friese,

    all issues were fixed.

  • Volker Friese approved this merge request

    approved this merge request

  • Florian Uhlig added 12 commits

    added 12 commits

    Compare with previous version

  • Pierre-Alain Loizeau
  • Pierre-Alain Loizeau
  • Clang format

  • requested changes

  • Florian Uhlig added 4 commits

    added 4 commits

    Compare with previous version

  • Pierre-Alain Loizeau enabled an automatic merge when all merge checks for 937fb261 pass

    enabled an automatic merge when all merge checks for 937fb261 pass

  • Pierre-Alain Loizeau aborted the automatic merge because target branch was updated

    aborted the automatic merge because target branch was updated

  • added 16 commits

    Compare with previous version

  • added 25 commits

    Compare with previous version

  • Florian Uhlig added 11 commits

    added 11 commits

    Compare with previous version

  • Florian Uhlig resolved all threads

    resolved all threads

  • @p.-a.loizeau,

    could you please merge. I would like to port also this one to the jul24_patches branch.

  • Please register or sign in to reply
    Loading