#include <DecayFit.h>
|
DecayFitCorrections * | corrections = nullptr |
|
double | Sp = 0.0 |
| Total signal parallel.
|
|
double | Ss = 0.0 |
| Total signal perpendicular.
|
|
double | Bp = 0.0 |
| Total background signal parallel.
|
|
double | Bs = 0.0 |
| Total background signal perpendicular.
|
|
double | B = 0.0 |
| Total background.
|
|
double | Bexpected = 0.0 |
| expected corresponding to the mean Bg signal
|
|
◆ DecayFitIntegrateSignals()
DecayFitIntegrateSignals::DecayFitIntegrateSignals |
( |
DecayFitCorrections * | corrections = nullptr | ) |
|
|
inline |
◆ compute_signal_and_background()
void DecayFitIntegrateSignals::compute_signal_and_background |
( |
MParam * | p | ) |
|
Computes the total number of photons in the parallel and perpendicular detection channel for the background and the measured signal. The computed number of photons are stored in the static variables Sp, Ss, Bp, Bs.
- Parameters
-
p[in] | a pointer to a MParam object |
◆ Fp()
double DecayFitIntegrateSignals::Fp |
( |
| ) |
|
|
inline |
◆ Fs()
double DecayFitIntegrateSignals::Fs |
( |
| ) |
|
|
inline |
◆ normM() [1/2]
void DecayFitIntegrateSignals::normM |
( |
double * | M, |
|
|
double | s, |
|
|
int | Nchannels ) |
Normalizes a model function (that is already normalized to a unit area) to the total number of photons in parallel and perpendicular,
- Parameters
-
M[in,out] | array containing the model function in Jordi format |
s[in] | a scaling factor by which the model function is divided. |
Nchannels[in] | the number of channels in the model function (half length of M array) |
◆ normM() [2/2]
void DecayFitIntegrateSignals::normM |
( |
double * | M, |
|
|
int | Nchannels ) |
Normalizes the number of photons in the entire model function to the number of experimental photons.
Here, the Number of experimental photons is Sp + Ss (signal in parallel and perpendicular). Sp and Ss are global variables that can be computed by compute_signal_and_background
.
- Parameters
-
M[in,out] | array containing the model function in Jordi format |
Nchannels[in] | number of channels in the experiment(half length of
M array) |
◆ normM_p2s()
void DecayFitIntegrateSignals::normM_p2s |
( |
double * | M, |
|
|
int | Nchannels ) |
Normalizes the number of photons in the model function for Ss and Sp individually to the number of experimental photons in Ss and Sp.
Here, the number of experimental photons are global variables that can be computed by compute_signal_and_background
.
- Parameters
-
M | array[in,out] containing the model function in Jordi format |
Nchannels[in] | number of channels in the experiment (half length of M array) |
◆ r()
double DecayFitIntegrateSignals::r |
( |
| ) |
|
|
inline |
◆ rho()
double DecayFitIntegrateSignals::rho |
( |
double | tau, |
|
|
double | r0 ) |
|
inline |
◆ rs()
double DecayFitIntegrateSignals::rs |
( |
| ) |
|
|
inline |
◆ str()
std::string DecayFitIntegrateSignals::str |
( |
| ) |
|
|
inline |
double DecayFitIntegrateSignals::B = 0.0 |
◆ Bexpected
double DecayFitIntegrateSignals::Bexpected = 0.0 |
expected corresponding to the mean Bg signal
◆ Bp
double DecayFitIntegrateSignals::Bp = 0.0 |
Total background signal parallel.
◆ Bs
double DecayFitIntegrateSignals::Bs = 0.0 |
Total background signal perpendicular.
◆ corrections
◆ Sp
double DecayFitIntegrateSignals::Sp = 0.0 |
◆ Ss
double DecayFitIntegrateSignals::Ss = 0.0 |
Total signal perpendicular.
The documentation for this struct was generated from the following file: