#include <utility>
#include "TString.h"
Go to the source code of this file.
|
double | intGauss (double *x, double *par) |
|
double intGauss |
( |
double * |
x, |
|
|
double * |
par |
|
) |
| |
Definition at line 257 of file DTTimeBoxFitter.cc.
References mathSSE::sqrt(), and isotrackApplyRegressor::var.
Referenced by DTTimeBoxFitter::fitTimeBox().
258 double media = par[1];
259 double sigma = par[2];
260 double var = (
x[0] - media) / (sigma *
sqrt(2.));
262 return 0.5 * par[0] * (1 + TMath::Erf(var));
list var
if using global norm cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal'] df[cols_to_minmax] = df[cols_to_minmax].apply(lambda x: (x - x.min()) / (x.max() - x.min()) if (x.max() - x.min() > 0) else 1.0/200.0)
uint16_t const *__restrict__ x