It should now be possible to build a static version of musrfit and shared libraries for the user functions.
This is needed on systems which do not support linking static libraries to shared ones (like Cygwin).
These changes still need to be tested on Cygwin, especially with user functions implementing the "global interface".
Therefore, a new library is built and the plugins link to that one.
This new library at the moment only contains the startup handler, however, finally it might serve as well for other routines
that are used by different plugins.
ROOT is anyway checking multiple extensions for dynamic libraries, therefore leaving them out yields platform-independent msr files.
- Minor changes in libTFitPofB
- Added a user function for Uemura's ZF/LF dynamical spin-glass relaxation function
see, e.g. Y.J. Uemura et al., Phys. Rev. B 31, 546-563 (1985)
or Y.J. Uemura, Hyperfine Interact. 8, 739 (1981)
This yields an overall Lorentzian field distribution with motional narrowing.
However, the present implementation is at best some design study:
The Lorentzian distribution of width "a" is modeled by Gaussian distributions of widths "sigma" from 0 to infinity.
Some "resonable cut-offs" would be: 0.1*a < sigma < 10000*a
Due to finite memory and computing power, in the present version these cut-offs are: 0.1*a < sigma < 40*a
This yields depolarization functions overall similar to those in Uemura's articles.
However, due to the low cut-off the first derivative of the depolarization function is zero in the limit t->0
(what should not be the case for a true Lorentzan).
Furthermore, the calculation is rather slow and the resulting functions should only be regarded as crude approximations.
Therefore, at the moment this is far from being of practical use in analyzing experimental data.
Now both have a line break at the end--before this has only been true for the asymmetry data.
(If the line break is not needed it should be consistently removed and replaced by a cout.flush()
followed by a line break when musrview is terminated.)