1 #ifndef PhysicsTools_Utilities_Gaussian_h 2 #define PhysicsTools_Utilities_Gaussian_h 19 return oneOverSqrtTwoPi / *
sigma *
exp(-z * z / 2);
const double oneOverSqrtTwoPi
std::shared_ptr< double > sigma
Exp< T >::type exp(const T &t)
Sqrt< T >::type sqrt(const T &t)
Gaussian(const Parameter &m, const Parameter &s)
Gaussian(double m, double s)
std::shared_ptr< double > mean
double operator()(double x) const
Gaussian(std::shared_ptr< double > m, std::shared_ptr< double > s)