Jpp
|
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... | |
JResultDerivative< JResult_t > & | mul (const JNullType &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... | |
JResultHesse< JResult_t > & | mul (const JNullType &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 210 of file JResult.hh.
typedef JResultDerivative<JResult_t>::argument_type JTOOLS::JResultHesse< JResult_t >::argument_type |
Definition at line 215 of file JResult.hh.
|
inline |
Default constructor.
Definition at line 221 of file JResult.hh.
|
inline |
Constructor.
f | function value |
fp | first derivative |
fpp | second derivative |
Definition at line 234 of file JResult.hh.
|
inline |
Prefix unary minus for function value of PDF.
Definition at line 247 of file JResult.hh.
|
inline |
Addition operator for function value of PDF.
value | function value of PDF |
Definition at line 262 of file JResult.hh.
|
inline |
Subtraction operator for function value of PDF.
value | function value of PDF |
Definition at line 277 of file JResult.hh.
|
inline |
Multiplication operator for function value of PDF.
value | multiplication factor |
Definition at line 292 of file JResult.hh.
|
inline |
Division operator for function value of PDF.
value | multiplication factor |
Definition at line 307 of file JResult.hh.
|
inlineinherited |
Addition operator for function value of PDF.
value | function value of PDF |
Definition at line 90 of file JResult.hh.
|
inlineinherited |
Subtraction operator for function value of PDF.
value | function value of PDF |
Definition at line 105 of file JResult.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
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 152 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 168 of file JResult.hh.
|
inlineinherited |
Get derivative of chi2.
hit | hit (or not) |
Definition at line 183 of file JResult.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
JResult_t JTOOLS::JResultHesse< JResult_t >::fpp |
second derivative
Definition at line 316 of file JResult.hh.
|
inherited |
function value
Definition at line 192 of file JResult.hh.
|
inherited |
first derivative
Definition at line 193 of file JResult.hh.