Jpp
master_rocky-37-gf0c5bc59d
the software that should make you happy
|
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 180 of file JFitToT.hh.
|
inline |
Constructor.
parameters | parameters |
range | abscissa range |
Definition at line 191 of file JFitToT.hh.
|
inline |
Access method for the analogue signal processor.
Definition at line 211 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 227 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 270 of file JFitToT.hh.
|
inlinestaticinherited |
Get number of model parameters.
Definition at line 88 of file JFitToT.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Set model parameter.
i | parameter index |
value | parameter value |
Definition at line 122 of file JFitToT.hh.
|
inlineinherited |
Set model parameters.
data | pointer to parameters |
Definition at line 133 of file JFitToT.hh.
|
inlineinherited |
Get model parameter.
i | parameter index |
Definition at line 147 of file JFitToT.hh.
|
inlineinherited |
Get model parameter.
p | pointer to data member |
Definition at line 159 of file JFitToT.hh.
|
private |
Definition at line 290 of file JFitToT.hh.
|
inherited |
PMT gain.
Definition at line 169 of file JFitToT.hh.
|
inherited |
PMT gain spread.
Definition at line 170 of file JFitToT.hh.
|
inherited |
Definition at line 171 of file JFitToT.hh.