Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • nptool nptool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • np
  • nptoolnptool
  • Issues
  • #52
Closed
Open
Issue created Apr 24, 2018 by Adrien Matta@matta☠Owner

Major bug, fixed

Created by: moukaddam

The bug affected mainly simulations using a thick target (here it's ~25.6um) inducing large energy loss of the beam. Before the fix, the energy loss of the beam particle in the target was overestimated for interactions taking place close to the upstream target surface. The opposite was true for interactions downstream. Problem spotted in NPS/Core/Target.cxx, below some typical values and their fix. =============== Example Target Z: 0 mm halfTargetThickness: 12.3 micrometer

(below in micrometer) test case 1: Generated Interaction Z: -8.1 Calculated depth : -20.4 --> This should be 12.3-8.1 = 4.2 test case 2: Generated Interaction Z: +9.8 Calculated depth : -2.5 --> This should be 12.3+9.8 = 23.1

Result on a test case: The peaks shown corresponds to the g.s in different angular bin. Data are simulated for 60Fe(d,p) reaction. Left panel before fix, right panel after. 60fe_before_after_bugfix_2

Assignee
Assign to
Time tracking