Jpp
|
Parametrisation of time-over-threshold distribution. More...
#include <JFitToT.hh>
Public Member Functions | |
JFitToT (const JPMTParameters ¶meters, const double xmin, const double xmax) | |
Constructor. More... | |
TFitResultPtr | operator() (TH1 &h1, const std::string &option) |
Fit histogram. More... | |
const Double_t * | getModelParameters () const |
Get model parameters. More... | |
Double_t * | getModelParameters () |
Get model parameters. More... | |
void | setModelParameters (const Double_t *data) |
Set model parameters. More... | |
const Double_t | getModelParameter (const int i) const |
Get model parameter. More... | |
JFitParameter_t | getModelParameter (Double_t JFitToTParameters::*p) const |
Get model parameter. More... | |
Static Public Member Functions | |
static Double_t | getValue (const Double_t *x, const Double_t *par) |
Get rate as a function of the fit parameters. More... | |
static Int_t | getNumberOfModelParameters () |
Get number of model parameters. More... | |
Public Attributes | |
Double_t | W |
normalisation More... | |
Double_t | gain |
PMT gain. More... | |
Double_t | gainSpread |
PMT gain spread. More... | |
Static Private Member Functions | |
static JPMTAnalogueSignalProcessor & | getInstance () |
Get unique instance of PMT analogue signal processor. More... | |
Private Attributes | |
double | Xmin |
double | Xmax |
Parametrisation of time-over-threshold distribution.
Note that for use in ROOT fit operations, the member method JFitToT::getValue is static.
Definition at line 153 of file JFitToT.hh.
|
inline |
Constructor.
parameters | parameters |
xmin | minimal x |
xmax | maximal x |
Definition at line 164 of file JFitToT.hh.
|
inline |
Fit histogram.
Note that the PMT parameters which are part of the model are 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.
h1 | ROOT 1D-histogram |
option | fit option |
Definition at line 191 of file JFitToT.hh.
|
inlinestatic |
Get rate as a function of the fit parameters.
x | pointer to abscissa values |
par | pointer to parameter values |
Definition at line 258 of file JFitToT.hh.
|
inlinestaticprivate |
Get unique instance of PMT analogue signal processor.
Definition at line 279 of file JFitToT.hh.
|
inlinestaticinherited |
Get number of model parameters.
Definition at line 73 of file JFitToT.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Set model parameters.
data | pointer to parameters |
Definition at line 106 of file JFitToT.hh.
|
inlineinherited |
Get model parameter.
i | parameter index |
Definition at line 120 of file JFitToT.hh.
|
inlineinherited |
Get model parameter.
p | pointer to data member |
Definition at line 132 of file JFitToT.hh.
|
private |
Definition at line 286 of file JFitToT.hh.
|
private |
Definition at line 287 of file JFitToT.hh.
|
inherited |
normalisation
Definition at line 142 of file JFitToT.hh.
|
inherited |
PMT gain.
Definition at line 143 of file JFitToT.hh.
|
inherited |
PMT gain spread.
Definition at line 144 of file JFitToT.hh.