Go to the source code of this file.
|
| top |
| TopConfig A simple configuration that is NOT a singleton.
|
|
|
void | fcn (int &npar, double *deriv, double &result, double par[], int flag) |
| this is where we write out chi2 More...
|
|
◆ fcn()
void fcn |
( |
int & |
npar, |
|
|
double * |
deriv, |
|
|
double & |
result, |
|
|
double |
par[], |
|
|
int |
flag |
|
) |
| |
this is where we write out chi2
Definition at line 183 of file Chi2LJets.cxx.
186 double mytopmass =
par[0];
189 TLorentzVector neutrino(
params->neutrino_px,
params->neutrino_py,
pz, sqrt(
193 double t_lep_term = ((
params->lepton + neutrino +
params->leptonic_b).M() - mytopmass) /
199 result = w_lep_term * w_lep_term +
200 t_lep_term * t_lep_term +