Jpp
18.0.1-rc.1
the software that should make you happy
|
Template specialisation of two-fold coincidence rate due to K40 and other radioactive decays. More...
#include <JFitK40.hh>
Public Member Functions | |
JFitK40_t (const JModule &module, const Double_t xmin, const Double_t xmax, const Double_t ymin, const Double_t ymax, const bool option) | |
Constructor. More... | |
TFitResultPtr | operator() (TH2 &h2, const std::string &option) |
Fit 2D-histogram. More... | |
Static Public Member Functions | |
static Double_t | getRate (const Double_t *x, const Double_t *data) |
Get K40 coincidence rate as a function of the fit parameters. More... | |
Template specialisation of two-fold coincidence rate due to K40 and other radioactive decays.
Note that for use in ROOT fit operations, the member method JFitK40_t::getRate is static.
Definition at line 586 of file JFitK40.hh.
|
inline |
Constructor.
module | detector module |
xmin | minimal x |
xmax | maximal x |
ymin | minimal y |
ymax | maximal y |
option | true = fix average t0; false = free average t0 |
Definition at line 600 of file JFitK40.hh.
|
inlinestatic |
Get K40 coincidence rate as a function of the fit parameters.
To speed up the calculation, it is assumed that the parameter values do not change unless also the x[0] value changes (i.e. the index of the PMT pair).
x | pointer to data |
data | pointer to parameter values |
Definition at line 624 of file JFitK40.hh.
|
inline |
Fit 2D-histogram.
Note that the PMT parameters are partially reset before the fit according the status of each PMT and the obtained fit parameters are copied back to the model parameters after the fit.
h2 | ROOT histogram |
option | fit option |
Definition at line 659 of file JFitK40.hh.