Skip to content

Commit

Permalink
Merge branch 'propagate_photons' into 'master'
Browse files Browse the repository at this point in the history
Enable photon propagation in GiBUU

See merge request simulation/km3buu!85
  • Loading branch information
8me committed Mar 1, 2024
2 parents 6af7bbd + 9b954a0 commit 2027d6e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Unreleased changes
------------------
* Enabled photon propagation in GiBUU in std. configuration
* Fix right handed probability calculation for NC

v1.7.0
Expand Down
4 changes: 4 additions & 0 deletions km3buu/data/template.job
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@
DIScutW = 3.0
DIScutwidth = 0.1
/

&insertion
propagateNoPhoton = .false.
/
4 changes: 2 additions & 2 deletions km3buu/tests/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def test_right_handed_helicity_nc(self):
arr = self.output._get_raw_arrays()
arr["process_ID"] = arr.process_ID + 1
rh_prob = GiBUUOutput.right_helicity_probability(arr)
np.testing.assert_array_almost_equal(
rh_prob[:3], [0.0, 0.0, 0.0])
np.testing.assert_array_almost_equal(rh_prob[:3], [0.0, 0.0, 0.0])


@pytest.mark.skipif(not KM3NET_LIB_AVAILABLE,
reason="KM3NeT dataformat required")
Expand Down

0 comments on commit 2027d6e

Please sign in to comment.