Skip to content
Snippets Groups Projects
Verified Commit 7c45b837 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Revert impact angle acos

parent 1bdc351e
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ function cherenkov(track, pos::Position; dir::Union{Direction,Missing}=missing,
Δt = t - _t
_pos = V - (d_track * track.dir)
_dir = normalize(_pos)
impact_angle = ismissing(dir) ? NaN : acos(_dir dir)
impact_angle = ismissing(dir) ? NaN : _dir dir
CherenkovPhoton(
d_closest,
d_photon,
......
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