wimpydd is hosted by Hepforge, IPPP Durham






resolution.py

Since the function \({\cal G}(E^{\prime},E_{ee})\) takes two arguments only a .py file can be provided with a regular Python function in the two variable \(E^{\prime}\) (visible energy) and \(E_{ee}\) (electron-equivalent energy) in keV.

In the case of dual-phase xenon detectors the light-yield \({\cal L}\) takes the place of the quenching, the average number of photo-electrons \(\nu\) that of the electron-equivalent energy (so that \(E_{ee}=q_T(E_R) E_R \rightarrow \nu={\cal L}(E_R) E_R\)) and the signal \(S_1\) (in photo-electrons, PH) that of the visible energy. In this case the efficiency is a function of \(S_1\) and of \(\nu\). The function \({\cal G}(E^{\prime},E_{ee})\) must be normalized so that \(\int_0^{\infty}{\cal G}(E^{\prime},E_{ee})dE^{\prime}=\int_0^{\infty}{\cal G}(E^{\prime},E_{ee})dE_{ee}=1\). The file can contain an arbitrary number of functions, the first is loaded as the energy resolution. Its user-provided help (within '''...''' triple quotation marks) is loaded as a help string of the experiment class.