ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloReco
centrality
ClusterIso
compressor
Half
HelixHough
FitNewton
ChiSquareGradHessian.cpp
ChiSquareGradHessian.h
FunctionGradHessian.h
GaussianGradHessian.cpp
GaussianGradHessian.h
GaussianIntegralGradHessian.cpp
GaussianIntegralGradHessian.h
GaussianRegGradHessian.cpp
GaussianRegGradHessian.h
NewtonMinimizerGradHessian.cpp
NewtonMinimizerGradHessian.h
SquareGradient.cpp
SquareGradient.h
helix_hough
Seamstress
intt
jetbackground
KFParticle_sPHENIX
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
PHTpcTracker
tpc
tpccalib
tpcdaq
trackbase
trackbase_historic
trackreco
trigger
vararray
QA
simulation
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SquareGradient.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SquareGradient.h
1
#ifndef FITNEWTON_SQUAREGRADIENT_H
2
#define FITNEWTON_SQUAREGRADIENT_H
3
4
#include "
FunctionGradHessian.h
"
5
6
#include <Eigen/Core>
7
8
namespace
FitNewton
9
{
10
class
SquareGradient
:
public
FunctionGradHessian
11
{
12
public
:
13
SquareGradient
(
FunctionGradHessian
*
func
);
14
~SquareGradient
();
15
16
// this class is intended to be used only with line-search, and so this function doesn't fill the Hessian, and really should not be called
17
bool
calcValGradHessian
(
const
Eigen::VectorXd&
x
,
double
& val, Eigen::VectorXd& grad, Eigen::MatrixXd& hessian);
18
19
// fill the gradient of this function based on "function"
20
// this class represents the square of the magnitude of the gradient of "function",
21
// so we can calculate the val and grad from the val,grad,hessian of function
22
bool
calcValGrad
(
const
Eigen::VectorXd& x,
double
& val, Eigen::VectorXd& grad);
23
24
FunctionGradHessian
*
Clone
()
const
;
25
26
bool
verbose
;
27
28
protected
:
29
FunctionGradHessian
*
function
;
30
};
31
}
32
33
34
35
36
#endif
coresoftware
blob
master
offline
packages
HelixHough
FitNewton
SquareGradient.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:34
using
1.8.2 with
ECCE GitHub integration