22#include "MdcRecoUtil/DifNumber.h"
23#include "MdcRecoUtil/DifIndepPar.h"
42 assert(
v.num_row()==
nPar());
47 HepVector temp(
nPar());
54 assert(e.num_col()==
nPar());
55 assert(e.num_row()==b.
nPar());
57 for(
int i=1; i<=
nPar(); i++) {
58 for(
int j=1; j<=b.
nPar(); j++) {
82 cout <<
"number:" <<
number() << endl;
83 cout <<
"npar:" <<
nPar() << endl;
84 for(
int i=1; i<=
nPar(); i++) {
85 cout <<
"derivative(" << i <<
"):" <<
derivative(i) << endl;
108 return -c/b+a*c/pow(b,3);
119 if(
s>0.0) {
s-=descr;}
else {
s+=descr;}
const DifNumber zero(0.0)
double correlation(const DifNumber &a, const DifNumber &b)
DifNumber solveQuad(const DifNumber &a, const DifNumber &b, const DifNumber &c, int pref, Code &code)
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
HepSymMatrix & covariance()
void fetchDerivatives(HepVector &v) const
HepVector derivatives() const
double correlation(const DifNumber &b, const HepSymMatrix &e) const
friend DifNumber sqrt(const DifNumber &a)
double derivative(int i) const
const DifIndepPar * indepPar() const
friend double correlation(const DifNumber &a, const DifNumber &b, const HepSymMatrix &e)