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.
|
description More...
#include <ChebyshevFitFunction.h>
Protected Member Functions | |
double | calculateBackground (double *x, double *par) |
calculate background | |
![]() | |
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 | |
![]() | |
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... | |
![]() | |
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. | |
![]() | |
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 |
description
Definition at line 10 of file ChebyshevFitFunction.h.
|
protectedvirtual |
calculate background
x | |
par |
Implements FitFunction.
Definition at line 4 of file ChebyshevFitFunction.cxx.
|
inlineprivate |
Constructor.
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.