CMS 3D CMS Logo

Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibMuon/DTCalibration/src/DTTimeBoxFitter.cc File Reference

#include "CalibMuon/DTCalibration/interface/DTTimeBoxFitter.h"
#include <iostream>
#include <vector>
#include "TFile.h"
#include "TH1F.h"
#include "TMath.h"
#include "TF1.h"
#include "TString.h"

Go to the source code of this file.

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));

}