CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 274 of file DTTimeBoxFitter.cc.

References mathSSE::sqrt().

Referenced by DTTimeBoxFitter::fitTimeBox().

274  {
275  double media = par[1];
276  double sigma = par[2];
277  double var = (x[0]-media)/(sigma*sqrt(2.));
278 
279  return 0.5*par[0]*(1+TMath::Erf(var));
280 
281 }
T sqrt(T t)
Definition: SSEVec.h:46
x
Definition: VDTMath.h:216