Skip to content
Snippets Groups Projects
Commit 2027d6ef authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Merge branch 'propagate_photons' into 'master'

Enable photon propagation in GiBUU

See merge request !85
parents 6af7bbd8 9b954a0e
No related branches found
No related tags found
1 merge request!85Enable photon propagation in GiBUU
Pipeline #48912 passed
Unreleased changes
------------------
* Enabled photon propagation in GiBUU in std. configuration
* Fix right handed probability calculation for NC
v1.7.0
......
......@@ -63,3 +63,7 @@
DIScutW = 3.0
DIScutwidth = 0.1
/
&insertion
propagateNoPhoton = .false.
/
......@@ -115,8 +115,8 @@ class TestGiBUUOutput(unittest.TestCase):
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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment