Beam frequency unit treated inconsistently
According to the manual the beam frequency BFREQ
is in MHz.
This is indeed the case for most important places:
- https://gitlab.psi.ch/OPAL/src/blob/master/src/Structure/Beam.cpp#L371
- https://gitlab.psi.ch/OPAL/src/blob/master/src/Track/TrackRun.cpp#L604
- https://gitlab.psi.ch/OPAL/src/blob/master/src/Track/TrackRun.cpp#L641
However in quite a few places it is treated or mentioned as Hz:
https://gitlab.psi.ch/OPAL/src/blob/master/src/Structure/Beam.cpp#L74https://gitlab.psi.ch/OPAL/src/blob/master/src/Structure/Beam.cpp#L138https://gitlab.psi.ch/OPAL/src/blob/master/src/Track/TrackRun.cpp#L935Some of the documentationMany of the regression tests, e.g. Distribution-Binomial-1, Distribution-Gauss-1/2, Scan-1, Degrader-1