CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/CalibMuon/DTCalibration/interface/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().

                                        {
  double media = par[1];
  double sigma = par[2];
  double var = (x[0]-media)/(sigma*sqrt(2.));

  return 0.5*par[0]*(1+TMath::Erf(var));

}