CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CompMethods.cc File Reference
#include <memory>
#include <string>
#include <fstream>
#include <iostream>
#include <cmath>
#include "Validation/RecoJets/interface/CompMethods.h"

Go to the source code of this file.

Functions

double Gauss (double *x, double *par)
 

Function Documentation

double Gauss ( double *  x,
double *  par 
)

Definition at line 13 of file CompMethods.cc.

13  {
14  double arg=0;
15  if(par[2]!=0){
16  arg = (x[0]-par[1])/par[2];
17  }
18  return par[0]*TMath::Exp(-0.5*arg*arg);
19 }
A arg
Definition: Factorize.h:36
Definition: DDAxes.h:10
const double par[8 *NPar][4]