CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
DTTimeBoxFitter.h File Reference
#include <utility>
#include "TString.h"

Go to the source code of this file.

Classes

class  DTTimeBoxFitter
 

Functions

double intGauss (double *x, double *par)
 

Function Documentation

double intGauss ( double *  x,
double *  par 
)

Definition at line 257 of file DTTimeBoxFitter.cc.

References mathSSE::sqrt(), and isotrackApplyRegressor::var.

Referenced by DTTimeBoxFitter::fitTimeBox().

257  {
258  double media = par[1];
259  double sigma = par[2];
260  double var = (x[0] - media) / (sigma * sqrt(2.));
261 
262  return 0.5 * par[0] * (1 + TMath::Erf(var));
263 }
T sqrt(T t)
Definition: SSEVec.h:19
list var
if using global norm cols_to_minmax = [&#39;t_delta&#39;, &#39;t_hmaxNearP&#39;,&#39;t_emaxNearP&#39;, &#39;t_hAnnular&#39;, &#39;t_eAnnular&#39;,&#39;t_pt&#39;,&#39;t_nVtx&#39;,&#39;t_ieta&#39;,&#39;t_eHcal10&#39;, &#39;t_eHcal30&#39;,&#39;t_rhoh&#39;,&#39;t_eHcal&#39;] df[cols_to_minmax] = df[cols_to_minmax].apply(lambda x: (x - x.min()) / (x.max() - x.min()) if (x.max() - x.min() &gt; 0) else 1.0/200.0)
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39