Jpp
|
Parametrisation of time-over-threshold distribution. More...
#include <JFitToT.hh>
Public Member Functions | |
JFitToT (const JPMTParameters ¶meters, const JRange< double > &range) | |
Constructor. More... | |
const JPMTAnalogueSignalProcessor & | getCPU () const |
Access method for the analogue signal processor. More... | |
TFitResultPtr | operator() (TH1 &h1, const std::string &option) |
Fit histogram. More... | |
Double_t | getValue (const Double_t *x, const Double_t *par) |
Get rate as a function of the fit parameters. More... | |
const Double_t * | getModelParameters () const |
Get model parameters. More... | |
Double_t * | getModelParameters () |
Get model parameters. More... | |
void | setModelParameter (const int i, const Double_t value) |
Set model parameter. 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 Int_t | getNumberOfModelParameters () |
Get number of model parameters. More... | |
Public Attributes | |
Double_t | gain |
PMT gain. More... | |
Double_t | gainSpread |
PMT gain spread. More... | |
Double_t | normalization |
Private Attributes | |
JPMTAnalogueSignalProcessor | cpu |
Parametrisation of time-over-threshold distribution.
Note that for use in ROOT fit operations, the member method JFitToT::getValue is static.
Definition at line 176 of file JFitToT.hh.
|
inline |
Constructor.
parameters | parameters |
range | abscissa range |
Definition at line 187 of file JFitToT.hh.
|
inline |
Access method for the analogue signal processor.
Definition at line 207 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 223 of file JFitToT.hh.
|
inline |
Get rate as a function of the fit parameters.
x | pointer to abscissa values |
par | pointer to parameter values |
Definition at line 267 of file JFitToT.hh.
|
inlinestaticinherited |
Get number of model parameters.
Definition at line 84 of file JFitToT.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Set model parameter.
i | parameter index |
value | parameter value |
Definition at line 118 of file JFitToT.hh.
|
inlineinherited |
Set model parameters.
data | pointer to parameters |
Definition at line 129 of file JFitToT.hh.
|
inlineinherited |
Get model parameter.
i | parameter index |
Definition at line 143 of file JFitToT.hh.
|
inlineinherited |
Get model parameter.
p | pointer to data member |
Definition at line 155 of file JFitToT.hh.
|
private |
Definition at line 285 of file JFitToT.hh.
|
inherited |
PMT gain.
Definition at line 165 of file JFitToT.hh.
|
inherited |
PMT gain spread.
Definition at line 166 of file JFitToT.hh.
|
inherited |
Definition at line 167 of file JFitToT.hh.