EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/HelixHough/FitNewton/FunctionGradHessian.h>
Public Member Functions | |
FunctionGradHessian (unsigned int nparams=1, unsigned int nfixedparams=1) | |
virtual | ~FunctionGradHessian () |
virtual bool | calcValGradHessian (const Eigen::VectorXd &x, double &val, Eigen::VectorXd &grad, Eigen::MatrixXd &hessian)=0 |
virtual bool | calcValGrad (const Eigen::VectorXd &x, double &val, Eigen::VectorXd &grad) |
unsigned int | nPars () |
unsigned int | nFixedPars () |
std::vector< double > | getFixedPars () |
void | setFixedPar (unsigned int coor, double val) |
virtual FunctionGradHessian * | Clone () const =0 |
virtual void | computeCovariance (const double &, const Eigen::MatrixXd &) |
virtual void | rescaleMove (const Eigen::VectorXd &, Eigen::VectorXd &) |
Protected Attributes | |
unsigned int | npars |
unsigned int | nfixedpars |
std::vector< double > | fixedpars |
Definition at line 9 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 9 of file FunctionGradHessian.h
|
inline |
Definition at line 12 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 12 of file FunctionGradHessian.h
References fixedpars, and nfixedpars.
|
inlinevirtual |
Definition at line 17 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 17 of file FunctionGradHessian.h
|
inlinevirtual |
Reimplemented in FitNewton::ChiSquareGradHessian, and FitNewton::SquareGradient.
Definition at line 21 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 21 of file FunctionGradHessian.h
References calcValGradHessian().
Referenced by FitNewton::ChiSquareGradHessian::calcValGrad(), FitNewton::ChiSquareGradHessian::calcValGradHessian(), and FitNewton::ChiSquareGradHessian::calcValGradThread1().
|
pure virtual |
Implemented in FitNewton::GaussianRegGradHessian, VertexFitFunc, FitNewton::ChiSquareGradHessian, HelixDCAFunc, FitNewton::SquareGradient, FitNewton::GaussianGradHessian, and FitNewton::GaussianIntegralGradHessian.
Referenced by calcValGrad(), FitNewton::ChiSquareGradHessian::calcValGradHessianThread1(), FitNewton::GaussianRegGradHessian::calcValGradHessianThread1(), and FitNewton::NewtonMinimizerGradHessian::findSaddlePoint().
|
pure virtual |
Implemented in FitNewton::GaussianRegGradHessian, VertexFitFunc, FitNewton::ChiSquareGradHessian, FitNewton::SquareGradient, HelixDCAFunc, FitNewton::GaussianGradHessian, and FitNewton::GaussianIntegralGradHessian.
Referenced by FitNewton::ChiSquareGradHessian::calcValGrad(), FitNewton::ChiSquareGradHessian::calcValGradHessian(), FitNewton::ChiSquareGradHessian::calcValGradHessianThread1(), FitNewton::GaussianRegGradHessian::calcValGradHessianThread1(), and FitNewton::ChiSquareGradHessian::calcValGradThread1().
|
inlinevirtual |
Reimplemented in FitNewton::GaussianRegGradHessian, and FitNewton::ChiSquareGradHessian.
Definition at line 36 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 36 of file FunctionGradHessian.h
Referenced by FitNewton::NewtonMinimizerGradHessian::findSaddlePoint().
|
inline |
Definition at line 29 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 29 of file FunctionGradHessian.h
References fixedpars.
Referenced by FitNewton::SquareGradient::SquareGradient().
|
inline |
Definition at line 28 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 28 of file FunctionGradHessian.h
References nfixedpars.
|
inline |
Definition at line 27 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 27 of file FunctionGradHessian.h
References npars.
Referenced by FitNewton::NewtonMinimizerGradHessian::minimize(), and FitNewton::NewtonMinimizerGradHessian::setFunction().
|
inlinevirtual |
Definition at line 38 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 38 of file FunctionGradHessian.h
Referenced by FitNewton::NewtonMinimizerGradHessian::findSaddlePoint().
|
inline |
Definition at line 31 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 31 of file FunctionGradHessian.h
References fixedpars.
Referenced by FitNewton::ChiSquareGradHessian::calcValGrad(), FitNewton::ChiSquareGradHessian::calcValGradHessian(), VertexFitFunc::calcValGradHessian(), FitNewton::ChiSquareGradHessian::calcValGradHessianThread1(), FitNewton::GaussianRegGradHessian::calcValGradHessianThread1(), FitNewton::ChiSquareGradHessian::calcValGradThread1(), FitNewton::GaussianGradHessian::Clone(), FitNewton::GaussianIntegralGradHessian::Clone(), and main().
|
protected |
Definition at line 46 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 46 of file FunctionGradHessian.h
Referenced by FitNewton::GaussianGradHessian::calcValGradHessian(), FitNewton::GaussianIntegralGradHessian::calcValGradHessian(), HelixDCAFunc::calcValGradHessian(), VertexFitFunc::calcValGradHessian(), FitNewton::GaussianGradHessian::Clone(), FitNewton::GaussianIntegralGradHessian::Clone(), FunctionGradHessian(), getFixedPars(), setFixedPar(), and FitNewton::SquareGradient::SquareGradient().
|
protected |
Definition at line 44 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 44 of file FunctionGradHessian.h
Referenced by FunctionGradHessian(), and nFixedPars().
|
protected |
Definition at line 43 of file FunctionGradHessian.h.
View newest version in sPHENIX GitHub at line 43 of file FunctionGradHessian.h
Referenced by FitNewton::SquareGradient::calcValGrad(), FitNewton::ChiSquareGradHessian::calcValGrad(), FitNewton::ChiSquareGradHessian::calcValGradHessian(), FitNewton::GaussianRegGradHessian::calcValGradHessian(), FitNewton::ChiSquareGradHessian::calcValGradHessianThread1(), FitNewton::GaussianRegGradHessian::calcValGradHessianThread1(), FitNewton::ChiSquareGradHessian::calcValGradThread1(), FitNewton::ChiSquareGradHessian::computeCovariance(), FitNewton::GaussianRegGradHessian::computeCovariance(), and nPars().