Jpp
18.3.1
the software that should make you happy
|
Data structure for result including value and first derivative of function. More...
#include <JResult.hh>
Public Types | |
typedef JResultDerivative < JResult_t >::argument_type | argument_type |
Public Member Functions | |
JResultHesse () | |
Default constructor. More... | |
JResultHesse (argument_type f, argument_type fp, argument_type fpp) | |
Constructor. More... | |
JResultHesse & | negate () |
Prefix unary minus for function value of PDF. More... | |
JResultHesse & | add (const JResultHesse &value) |
Addition operator for function value of PDF. More... | |
JResultHesse & | sub (const JResultHesse &value) |
Subtraction operator for function value of PDF. More... | |
JResultHesse & | mul (const double value) |
Multiplication operator for function value of PDF. More... | |
JResultHesse & | div (const double value) |
Division operator for function value of PDF. More... | |
JResultDerivative & | add (const JResultDerivative &value) |
Addition operator for function value of PDF. More... | |
JResultDerivative & | sub (const JResultDerivative &value) |
Subtraction operator for function value of PDF. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
double | getP (const bool hit) const |
Get probability. More... | |
double | getChi2 (const bool hit) const |
Get chi2. More... | |
double | getDerivativeOfChi2 (const bool hit) const |
Get derivative of chi2. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
Public Attributes | |
JResult_t | fpp |
second derivative More... | |
JResult_t | f |
function value More... | |
JResult_t | fp |
first derivative More... | |
Data structure for result including value and first derivative of function.
This data structure contains the following data mambers:
JResultHesse::f = function value; JResultHesse::fp = first derivative; JResultHesse::fpp = second derivative;
This class implements the JMATH::JMath interface.
Definition at line 212 of file JResult.hh.
typedef JResultDerivative<JResult_t>::argument_type JTOOLS::JResultHesse< JResult_t >::argument_type |
Definition at line 217 of file JResult.hh.
|
inline |
Default constructor.
Definition at line 223 of file JResult.hh.
|
inline |
Constructor.
f | function value |
fp | first derivative |
fpp | second derivative |
Definition at line 236 of file JResult.hh.
|
inline |
Prefix unary minus for function value of PDF.
Definition at line 249 of file JResult.hh.
|
inline |
Addition operator for function value of PDF.
value | function value of PDF |
Definition at line 264 of file JResult.hh.
|
inline |
Subtraction operator for function value of PDF.
value | function value of PDF |
Definition at line 279 of file JResult.hh.
|
inline |
Multiplication operator for function value of PDF.
value | multiplication factor |
Definition at line 294 of file JResult.hh.
|
inline |
Division operator for function value of PDF.
value | multiplication factor |
Definition at line 309 of file JResult.hh.
|
inlineinherited |
Addition operator for function value of PDF.
value | function value of PDF |
Definition at line 92 of file JResult.hh.
|
inlineinherited |
Subtraction operator for function value of PDF.
value | function value of PDF |
Definition at line 107 of file JResult.hh.
|
inlineinherited |
|
inlineinherited |
Get probability.
If the given hit is false (true), the return value corresponds to the Poisson probability that zero (one or more) hits occur for the given expectation value JResultDerivative::f.
hit | hit (or not) |
Definition at line 154 of file JResult.hh.
|
inlineinherited |
Get chi2.
The chi2 corresponds to -log(P)
, where P
is the probability JResultDerivative::f.
hit | hit (or not) |
Definition at line 170 of file JResult.hh.
|
inlineinherited |
Get derivative of chi2.
hit | hit (or not) |
Definition at line 185 of file JResult.hh.
|
inlineinherited |
JResult_t JTOOLS::JResultHesse< JResult_t >::fpp |
second derivative
Definition at line 318 of file JResult.hh.
|
inherited |
function value
Definition at line 194 of file JResult.hh.
|
inherited |
first derivative
Definition at line 195 of file JResult.hh.