![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/HelixHough/FitNewton/ChiSquareGradHessian.h>
Inheritance diagram for FitNewton::ChiSquareGradHessian:
Collaboration diagram for FitNewton::ChiSquareGradHessian:Public Member Functions | |
| ChiSquareGradHessian (FunctionGradHessian *func_instance, unsigned long int numthreads=1) | |
| ~ChiSquareGradHessian () | |
| void | setPoints (const std::vector< std::vector< double > > &POINTS) |
| void | setData (const std::vector< double > &DATA) |
| void | setErrors (const std::vector< double > &ERROR) |
| void | setFunction (FunctionGradHessian *f) |
| void | resetPointsDataErrors () |
| bool | calcValGradHessian (const Eigen::VectorXd &x, double &val, Eigen::VectorXd &grad, Eigen::MatrixXd &hessian) |
| void | calcValGradHessianThread1 (void *arg) |
| bool | calcValGrad (const Eigen::VectorXd &x, double &val, Eigen::VectorXd &grad) |
| void | calcValGradThread1 (void *arg) |
| void | getCovariance (Eigen::MatrixXd &cov) |
| FunctionGradHessian * | Clone () const |
| void | setErrorsAreWeights (bool e_a_w) |
| void | computeCovariance (const double &val, const Eigen::MatrixXd &hessian) |
Public Member Functions inherited from FitNewton::FunctionGradHessian | |
| FunctionGradHessian (unsigned int nparams=1, unsigned int nfixedparams=1) | |
| virtual | ~FunctionGradHessian () |
| unsigned int | nPars () |
| unsigned int | nFixedPars () |
| std::vector< double > | getFixedPars () |
| void | setFixedPar (unsigned int coor, double val) |
| virtual void | rescaleMove (const Eigen::VectorXd &, Eigen::VectorXd &) |
Private Attributes | |
| FunctionGradHessian * | func |
| const std::vector< std::vector < double > > * | points |
| const std::vector< double > * | data |
| const std::vector< double > * | data_errors |
| const Eigen::VectorXd * | current_eval |
| double * | val_output |
| Eigen::VectorXd * | grad_output |
| Eigen::MatrixXd * | hessian_output |
| Eigen::MatrixXd | covariance |
| bool | data_has_errors |
| bool | errors_are_weights |
| std::vector < SeamStress::Seamstress * > * | vssp |
| std::vector < SeamStress::Seamstress > | vss |
| SeamStress::Pincushion < ChiSquareGradHessian > * | pins |
| unsigned long int | nthreads |
| unsigned long int | thread_tot |
| unsigned long int | niter |
| pthread_mutex_t | mutex |
| pthread_mutexattr_t | mattr |
Additional Inherited Members | |
Protected Attributes inherited from FitNewton::FunctionGradHessian | |
| unsigned int | npars |
| unsigned int | nfixedpars |
| std::vector< double > | fixedpars |
Definition at line 17 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 17 of file ChiSquareGradHessian.h
| FitNewton::ChiSquareGradHessian::ChiSquareGradHessian | ( | FunctionGradHessian * | func_instance, |
| unsigned long int | numthreads = 1 |
||
| ) |
| FitNewton::ChiSquareGradHessian::~ChiSquareGradHessian | ( | ) |
Definition at line 32 of file ChiSquareGradHessian.cpp.
View newest version in sPHENIX GitHub at line 32 of file ChiSquareGradHessian.cpp
|
virtual |
Reimplemented from FitNewton::FunctionGradHessian.
Definition at line 180 of file ChiSquareGradHessian.cpp.
View newest version in sPHENIX GitHub at line 180 of file ChiSquareGradHessian.cpp
References FitNewton::FunctionGradHessian::calcValGrad(), calcValGradThread1(), FitNewton::FunctionGradHessian::Clone(), current_eval, func, grad_output, niter, FitNewton::FunctionGradHessian::npars, nthreads, pins, points, FitNewton::FunctionGradHessian::setFixedPar(), SeamStress::Pincushion< TClass >::sewStraight(), thread_tot, val_output, and x.
Here is the call graph for this function:
|
virtual |
Implements FitNewton::FunctionGradHessian.
Definition at line 77 of file ChiSquareGradHessian.cpp.
View newest version in sPHENIX GitHub at line 77 of file ChiSquareGradHessian.cpp
References FitNewton::FunctionGradHessian::calcValGrad(), calcValGradHessianThread1(), FitNewton::FunctionGradHessian::Clone(), covariance, current_eval, func, grad_output, hessian_output, niter, FitNewton::FunctionGradHessian::npars, nthreads, pins, points, FitNewton::FunctionGradHessian::setFixedPar(), SeamStress::Pincushion< TClass >::sewStraight(), thread_tot, val_output, and x.
Here is the call graph for this function:| void FitNewton::ChiSquareGradHessian::calcValGradHessianThread1 | ( | void * | arg | ) |
Definition at line 105 of file ChiSquareGradHessian.cpp.
View newest version in sPHENIX GitHub at line 105 of file ChiSquareGradHessian.cpp
References FitNewton::FunctionGradHessian::calcValGradHessian(), FitNewton::FunctionGradHessian::Clone(), current_eval, data_has_errors, func, k, mutex, niter, FitNewton::FunctionGradHessian::npars, part, points, FitNewton::FunctionGradHessian::setFixedPar(), start(), temp1, and thread_tot.
Referenced by calcValGradHessian().
Here is the call graph for this function:
Here is the caller graph for this function:| void FitNewton::ChiSquareGradHessian::calcValGradThread1 | ( | void * | arg | ) |
Definition at line 203 of file ChiSquareGradHessian.cpp.
View newest version in sPHENIX GitHub at line 203 of file ChiSquareGradHessian.cpp
References FitNewton::FunctionGradHessian::calcValGrad(), FitNewton::FunctionGradHessian::Clone(), current_eval, data_has_errors, func, mutex, niter, FitNewton::FunctionGradHessian::npars, part, points, FitNewton::FunctionGradHessian::setFixedPar(), start(), temp1, and thread_tot.
Referenced by calcValGrad().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements FitNewton::FunctionGradHessian.
Definition at line 43 of file ChiSquareGradHessian.cpp.
View newest version in sPHENIX GitHub at line 43 of file ChiSquareGradHessian.cpp
References ChiSquareGradHessian(), data, data_errors, data_has_errors, func, nthreads, points, setData(), setErrors(), and setPoints().
Here is the call graph for this function:
|
virtual |
Reimplemented from FitNewton::FunctionGradHessian.
Definition at line 53 of file ChiSquareGradHessian.cpp.
View newest version in sPHENIX GitHub at line 53 of file ChiSquareGradHessian.cpp
References covariance, data_errors, data_has_errors, errors_are_weights, FitNewton::FunctionGradHessian::npars, and points.
| void FitNewton::ChiSquareGradHessian::getCovariance | ( | Eigen::MatrixXd & | cov | ) |
Definition at line 71 of file ChiSquareGradHessian.cpp.
View newest version in sPHENIX GitHub at line 71 of file ChiSquareGradHessian.cpp
References covariance.
|
inline |
Definition at line 31 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 31 of file ChiSquareGradHessian.h
References data, data_errors, data_has_errors, and points.
|
inline |
Definition at line 26 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 26 of file ChiSquareGradHessian.h
References data.
Referenced by Clone().
Here is the caller graph for this function:
|
inline |
Definition at line 27 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 27 of file ChiSquareGradHessian.h
References data_errors, data_has_errors, and ERROR.
Referenced by Clone().
Here is the caller graph for this function:
|
inline |
Definition at line 44 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 44 of file ChiSquareGradHessian.h
References errors_are_weights.
|
inline |
Definition at line 29 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 29 of file ChiSquareGradHessian.h
References func.
|
inline |
Definition at line 25 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 25 of file ChiSquareGradHessian.h
References points.
Referenced by Clone().
Here is the caller graph for this function:
|
private |
Definition at line 61 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 61 of file ChiSquareGradHessian.h
Referenced by calcValGradHessian(), computeCovariance(), and getCovariance().
|
private |
Definition at line 55 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 55 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), calcValGradHessian(), calcValGradHessianThread1(), and calcValGradThread1().
|
private |
Definition at line 52 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 52 of file ChiSquareGradHessian.h
Referenced by Clone(), resetPointsDataErrors(), and setData().
|
private |
Definition at line 53 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 53 of file ChiSquareGradHessian.h
Referenced by Clone(), computeCovariance(), resetPointsDataErrors(), and setErrors().
|
private |
Definition at line 63 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 63 of file ChiSquareGradHessian.h
Referenced by calcValGradHessianThread1(), calcValGradThread1(), Clone(), computeCovariance(), resetPointsDataErrors(), and setErrors().
|
private |
Definition at line 64 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 64 of file ChiSquareGradHessian.h
Referenced by computeCovariance(), and setErrorsAreWeights().
|
private |
Definition at line 50 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 50 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), calcValGradHessian(), calcValGradHessianThread1(), calcValGradThread1(), Clone(), and setFunction().
|
private |
Definition at line 58 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 58 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), and calcValGradHessian().
|
private |
Definition at line 59 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 59 of file ChiSquareGradHessian.h
Referenced by calcValGradHessian().
|
private |
Definition at line 74 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 74 of file ChiSquareGradHessian.h
Referenced by ChiSquareGradHessian().
|
private |
Definition at line 73 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 73 of file ChiSquareGradHessian.h
Referenced by calcValGradHessianThread1(), calcValGradThread1(), and ChiSquareGradHessian().
|
private |
Definition at line 72 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 72 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), calcValGradHessian(), calcValGradHessianThread1(), and calcValGradThread1().
|
private |
Definition at line 69 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 69 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), calcValGradHessian(), ChiSquareGradHessian(), Clone(), and ~ChiSquareGradHessian().
|
private |
Definition at line 68 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 68 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), calcValGradHessian(), ChiSquareGradHessian(), and ~ChiSquareGradHessian().
|
private |
Definition at line 51 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 51 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), calcValGradHessian(), calcValGradHessianThread1(), calcValGradThread1(), Clone(), computeCovariance(), resetPointsDataErrors(), and setPoints().
|
private |
Definition at line 71 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 71 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), calcValGradHessian(), calcValGradHessianThread1(), and calcValGradThread1().
|
private |
Definition at line 57 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 57 of file ChiSquareGradHessian.h
Referenced by calcValGrad(), and calcValGradHessian().
|
private |
Definition at line 67 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 67 of file ChiSquareGradHessian.h
Referenced by ChiSquareGradHessian(), and ~ChiSquareGradHessian().
|
private |
Definition at line 66 of file ChiSquareGradHessian.h.
View newest version in sPHENIX GitHub at line 66 of file ChiSquareGradHessian.h
Referenced by ChiSquareGradHessian(), and ~ChiSquareGradHessian().