description  
 More...
#include <FitFunction.h>
|  | 
| virtual double | calculateBackground (double *x, double *par)=0 | 
|  | Calculates the value of the background function at the specified x and with the specified parameters. 
 | 
|  | 
| double | calculateSignal (double *x, double *par) | 
|  | Calculates the value of the signal function at the specified x and with the specified parameters. 
 | 
|  | 
| double | getCorrectedX (double x) | 
|  | Gets a value of x corrected for window size and the mass hypothesis. 
 | 
|  | 
description 
more details 
Definition at line 12 of file FitFunction.h.
◆ BkgModel
description 
| Enumerator | 
|---|
| CHEBYSHEV |  | 
| EXP_CHEBYSHEV |  | 
| LEGENDRE |  | 
| EXP_LEGENDRE |  | 
Definition at line 39 of file FitFunction.h.
 
 
◆ ModelOrder
description 
| Enumerator | 
|---|
| FIRST |  | 
| THIRD |  | 
| FIFTH |  | 
| SEVENTH |  | 
Definition at line 28 of file FitFunction.h.
 
 
◆ SignalFitModel
description 
| Enumerator | 
|---|
| NONE |  | 
| GAUSSIAN |  | 
| CRYSTAL_BALL |  | 
Definition at line 18 of file FitFunction.h.
 
 
◆ FitFunction()
Constructor. 
- Parameters
- 
  
    | m_mass_hypothesis |  |  | m_window_size |  |  | m_bin_size |  |  | m_model_order |  |  | m_sig_model |  |  | m_exp_background |  |  
 
Definition at line 56 of file FitFunction.h.
 
 
◆ calculateBackground()
  
  | 
        
          | virtual double calculateBackground | ( | double * | x, |  
          |  |  | double * | par |  
          |  | ) |  |  |  | protectedpure virtual | 
 
 
◆ calculateSignal()
  
  | 
        
          | double calculateSignal | ( | double * | x, |  
          |  |  | double * | par |  
          |  | ) |  |  |  | inlineprotected | 
 
Calculates the value of the signal function at the specified x and with the specified parameters. 
- Parameters
- 
  
  
- Returns
- double 
Definition at line 140 of file FitFunction.h.
 
 
◆ getCorrectedX()
  
  | 
        
          | double getCorrectedX | ( | double | x | ) |  |  | inlineprotected | 
 
Gets a value of x corrected for window size and the mass hypothesis. 
- Parameters
- 
  
  
- Returns
- double 
Definition at line 161 of file FitFunction.h.
 
 
◆ operator()()
  
  | 
        
          | double operator() | ( | double * | x, |  
          |  |  | double * | par |  
          |  | ) |  |  |  | inline | 
 
Calculates the value of the function at the specified x and with the specified parameters. 
- Parameters
- 
  
  
- Returns
- double 
Definition at line 92 of file FitFunction.h.
 
 
◆ bin_size
Size of each bin in the histogram. 
Definition at line 108 of file FitFunction.h.
 
 
◆ exp_background
  
  | 
        
          | bool exp_background = true |  | protected | 
 
 
◆ mass_hypothesis
  
  | 
        
          | double mass_hypothesis = 0 |  | protected | 
 
 
◆ model_order
◆ order
◆ sig_model
◆ sigParm
Specifies where the signal parameters begin. 
Definition at line 167 of file FitFunction.h.
 
 
◆ window_size
The documentation for this class was generated from the following file: