hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Loading...
Searching...
No Matches
ChebyshevFitFunction Class Reference

description More...

#include <ChebyshevFitFunction.h>

Inheritance diagram for ChebyshevFitFunction:
FitFunction

Protected Member Functions

double calculateBackground (double *x, double *par)
 calculate background
Protected Member Functions inherited from FitFunction
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.

Private Member Functions

 FitFunction (double m_mass_hypothesis, double m_window_size, double m_bin_size, ModelOrder m_model_order, SignalFitModel m_sig_model=FitFunction::SignalFitModel::NONE, bool m_exp_background=true)
 Constructor.

Additional Inherited Members

Public Types inherited from FitFunction
enum  SignalFitModel { NONE = 0 , GAUSSIAN = 1 , CRYSTAL_BALL = 2 }
 description More...
enum  ModelOrder { FIRST = 0 , THIRD = 1 , FIFTH = 2 , SEVENTH = 3 }
 description More...
enum  BkgModel { CHEBYSHEV = 0 , EXP_CHEBYSHEV = 1 , LEGENDRE = 2 , EXP_LEGENDRE = 3 }
 description More...
Public Member Functions inherited from FitFunction
 FitFunction (double m_mass_hypothesis, double m_window_size, double m_bin_size, ModelOrder m_model_order, SignalFitModel m_sig_model=FitFunction::SignalFitModel::NONE, bool m_exp_background=true)
 Constructor.
double operator() (double *x, double *par)
 Calculates the value of the function at the specified x and with the specified parameters.
Protected Attributes inherited from FitFunction
double mass_hypothesis = 0
double window_size = 0
double bin_size = 0
int order = 0
SignalFitModel sig_model
ModelOrder model_order
bool exp_background = true

Detailed Description

description

Definition at line 10 of file ChebyshevFitFunction.h.

Member Function Documentation

◆ calculateBackground()

double calculateBackground ( double * x,
double * par )
protectedvirtual

calculate background

Parameters
x
par
Returns
double

Implements FitFunction.

Definition at line 4 of file ChebyshevFitFunction.cxx.

◆ FitFunction()

FitFunction ( double m_mass_hypothesis,
double m_window_size,
double m_bin_size,
ModelOrder m_model_order,
SignalFitModel m_sig_model = FitFunction::SignalFitModel::NONE,
bool m_exp_background = true )
inlineprivate

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.


The documentation for this class was generated from the following files: