| 
    Jpp
    15.0.1-rc.2-highQE
    
   the software that should make you happy 
   | 
 
Data structure for result including value, first derivative and integrals of function. More...
#include <JResult.hh>
  
 Public Types | |
| typedef JLANG::JClass < JResult_t >::argument_type  | argument_type | 
Public Member Functions | |
| JResultPDF () | |
| Default constructor.  More... | |
| JResultPDF (argument_type f, argument_type fp, argument_type v, argument_type V) | |
| Constructor.  More... | |
| JResultPDF (argument_type R, argument_type x, const JRange< JResult_t > &X) | |
| Constructor.  More... | |
| JResultPDF & | negate () | 
| Prefix unary minus for function value of PDF.  More... | |
| JResultPDF & | add (const JResultPDF &value) | 
| Addition operator for function value of PDF.  More... | |
| JResultPDF & | sub (const JResultPDF &value) | 
| Subtraction operator for function value of PDF.  More... | |
| JResultPDF & | mul (const double value) | 
| Multiplication operator for function value of PDF.  More... | |
| JResultPDF & | div (const double value) | 
| Division operator for function value of PDF.  More... | |
| double | getP () const | 
| Get probability of first hit.  More... | |
| double | getChi2 () const | 
| Get chi2 of first hit.  More... | |
| double | getDerivativeOfChi2 () const | 
| Get derivative of chi2 of first hit.  More... | |
| JFirst_t & | mul (const JSecond_t &object) | 
| Multiply with object.  More... | |
Public Attributes | |
| JResult_t | f | 
| function value  More... | |
| JResult_t | fp | 
| first derivative  More... | |
| JResult_t | v | 
| integral <xmin,x]  More... | |
| JResult_t | V | 
| integral <xmin,xmax>  More... | |
Data structure for result including value, first derivative and integrals of function.
This data structure contains the following data mambers:
JResultPDF::f = function value; JResultPDF::fp = first derivative; JResultPDF::v = partial integral; JResultPDF::V = complete integral.
The partial and complete integrals are used to evaluate the probability of the first hit.
This class implements the JMATH::JMath interface.
Definition at line 337 of file JResult.hh.
| typedef JLANG::JClass<JResult_t>::argument_type JTOOLS::JResultPDF< JResult_t >::argument_type | 
Definition at line 341 of file JResult.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Constructor.
| f | function value | 
| fp | first derivative | 
| v | integral <xmin,x] | 
| V | integral <xmin,xmax> | 
Definition at line 363 of file JResult.hh.
      
  | 
  inline | 
Constructor.
This constructor refers to the result of a signal with a constant rate R to produce an event occuring at the given moment x within the fixed range X.
| R | rate | 
| x | abscissa value | 
| X | abscissa range | 
Definition at line 383 of file JResult.hh.
      
  | 
  inline | 
Prefix unary minus for function value of PDF.
Definition at line 398 of file JResult.hh.
      
  | 
  inline | 
Addition operator for function value of PDF.
| value | function value of PDF | 
Definition at line 415 of file JResult.hh.
      
  | 
  inline | 
Subtraction operator for function value of PDF.
| value | function value of PDF | 
Definition at line 432 of file JResult.hh.
      
  | 
  inline | 
Multiplication operator for function value of PDF.
| value | multiplication factor | 
Definition at line 449 of file JResult.hh.
      
  | 
  inline | 
Division operator for function value of PDF.
| value | division factor | 
Definition at line 466 of file JResult.hh.
      
  | 
  inline | 
Get probability of first hit.
The probability is defined at the moment JResultPDF::f and JResultPDF::v have been evaluated and it is normalised to the total interval corresponding to JResultPDF::V.
Definition at line 484 of file JResult.hh.
      
  | 
  inline | 
Get chi2 of first hit.
The chi2 corresponds to -log(P), where P is the probability JResultPDF::f.
Definition at line 496 of file JResult.hh.
      
  | 
  inline | 
      
  | 
  inlineinherited | 
Multiply with object.
| object | object | 
Definition at line 357 of file JMath.hh.
| JResult_t JTOOLS::JResultPDF< JResult_t >::f | 
function value
Definition at line 513 of file JResult.hh.
| JResult_t JTOOLS::JResultPDF< JResult_t >::fp | 
first derivative
Definition at line 514 of file JResult.hh.
| JResult_t JTOOLS::JResultPDF< JResult_t >::v | 
integral <xmin,x]
Definition at line 515 of file JResult.hh.
| JResult_t JTOOLS::JResultPDF< JResult_t >::V | 
integral <xmin,xmax>
Definition at line 516 of file JResult.hh.
 1.8.5