A parameter which will be fitted in the simulation.
More...
#include <model.h>
|
| | freeparameter (double mi, double ma, TRandom3 *r, double ss=1e-2) |
| |
| void | next (TRandom3 *r, double f=1) |
| | changes randomly the ::value of the parameter, the standard deviation is ::step More...
|
| |
| bool | isvalid () const |
| | checks if the value of the parameter is between ::min and ::max More...
|
| |
| double | dist (double x) const |
| | probability distribution, to be used by the Markov Chain Monte Carlo simulation More...
|
| |
|
| double | min |
| | minimum possible value for the parameter More...
|
| |
| double | max |
| | maximum possible value for the parameter More...
|
| |
| double | value |
| | value of the parameter More...
|
| |
| double | step |
| | standard deviation of the random changes of ::value in next(TRandom3 *) More...
|
| |
A parameter which will be fitted in the simulation.
Definition at line 124 of file model.h.
| freeparameter::freeparameter |
( |
double |
mi, |
|
|
double |
ma, |
|
|
TRandom3 * |
r, |
|
|
double |
ss = 1e-2 |
|
) |
| |
|
inline |
- Parameters
-
| mi | minimum possible value for the parameter |
| ma | maximum possible value for the parameter |
| r | random number generator |
Definition at line 130 of file model.h.
double min
minimum possible value for the parameter
double value
value of the parameter
double max
maximum possible value for the parameter
double step
standard deviation of the random changes of ::value in next(TRandom3 *)
| double freeparameter::dist |
( |
double |
x | ) |
const |
|
inline |
probability distribution, to be used by the Markov Chain Monte Carlo simulation
- Returns
Definition at line 146 of file model.h.
double value
value of the parameter
double step
standard deviation of the random changes of ::value in next(TRandom3 *)
| bool freeparameter::isvalid |
( |
| ) |
const |
|
inline |
checks if the value of the parameter is between ::min and ::max
Definition at line 140 of file model.h.
double min
minimum possible value for the parameter
double value
value of the parameter
double max
maximum possible value for the parameter
| void freeparameter::next |
( |
TRandom3 * |
r, |
|
|
double |
f = 1 |
|
) |
| |
|
inline |
changes randomly the ::value of the parameter, the standard deviation is ::step
- Parameters
-
Definition at line 135 of file model.h.
double value
value of the parameter
double step
standard deviation of the random changes of ::value in next(TRandom3 *)
| double freeparameter::max |
maximum possible value for the parameter
Definition at line 152 of file model.h.
| double freeparameter::min |
minimum possible value for the parameter
Definition at line 150 of file model.h.
| double freeparameter::step |
standard deviation of the random changes of ::value in next(TRandom3 *)
Definition at line 156 of file model.h.
| double freeparameter::value |
value of the parameter
Definition at line 154 of file model.h.
The documentation for this class was generated from the following file: