Belle II Software
release-05-01-25
BaseSoftConstraint.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* See https://github.com/tferber/OrcaKinfit, forked from *
4
* https://github.com/iLCSoft/MarlinKinfit *
5
* *
6
* Further information about the fit engine and the user interface *
7
* provided in MarlinKinfit can be found at *
8
* https://www.desy.de/~blist/kinfit/doc/html/ *
9
* and in the LCNotes LC-TOOL-2009-001 and LC-TOOL-2009-004 available *
10
* from http://www-flc.desy.de/lcnotes/ *
11
* *
12
* Adopted by: Torben Ferber (torben.ferber@desy.de) (TF) *
13
* *
14
* This software is provided "as is" without any warranty. *
15
**************************************************************************/
16
17
#ifndef __BaseSoftConstraint_H
18
#define __BaseSoftConstraint_H
19
20
#include "analysis/OrcaKinFit/BaseConstraint.h"
21
22
namespace
Belle2
{
28
namespace
OrcaKinFit {
29
30
class
BaseFitObject;
31
32
// Class BaseSoftConstraint:
34
71
class
BaseSoftConstraint:
public
BaseConstraint {
72
public
:
73
75
virtual
~BaseSoftConstraint
();
76
78
virtual
double
getChi2
()
const
= 0;
79
80
82
virtual
void
add2ndDerivativesToMatrix
(
double
* M,
83
int
idim
84
)
const
= 0;
86
virtual
void
addToGlobalChi2DerVector
(
double
* y,
87
int
idim
88
)
const
= 0;
89
90
91
// protected:
92
// char* name;
93
};
94
95
}
// end OrcaKinFit namespace
97
}
// end Belle2 namespace
98
99
#endif // __BASECONTRAINT_H
Belle2::OrcaKinFit::BaseSoftConstraint::add2ndDerivativesToMatrix
virtual void add2ndDerivativesToMatrix(double *M, int idim) const =0
Adds second order derivatives to global covariance matrix M.
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::OrcaKinFit::BaseSoftConstraint::addToGlobalChi2DerVector
virtual void addToGlobalChi2DerVector(double *y, int idim) const =0
Add derivatives of chi squared to global derivative matrix.
Belle2::OrcaKinFit::BaseSoftConstraint::~BaseSoftConstraint
virtual ~BaseSoftConstraint()
Virtual destructor.
Belle2::OrcaKinFit::BaseSoftConstraint::getChi2
virtual double getChi2() const =0
Returns the chi2.
analysis
OrcaKinFit
include
BaseSoftConstraint.h
Generated on Fri Nov 5 2021 03:45:51 for Belle II Software by
1.8.17