MINT2
GaussFct.h
Go to the documentation of this file.
1 #ifndef GAUSS_FCT_HH
2 #define GAUSS_FCT_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:17:57 GMT
5 
6 
7 namespace MINT{
8 class GaussFct{
9  protected:
10  double _x;
11  double _height;
12  double _mean, _sigma;
13  double _sqrt2pi;
14 
15  public:
16  double x() const;
17  double height() const;
18  double mean() const;
19  double sigma() const;
20 
21  void set_x(double x_in);
22  void set_height(double h);
23  void set_mean(double m);
24  void set_sigma(double s);
25 
26  double getVal() const;
27  double getIntegral() const;
28  // double RealVal(){ return getVal(); }
29 
30  GaussFct(double x_in, double h, double m, double s);
31 
32  GaussFct();
33  virtual ~GaussFct(){}
34 };
35 } // namespace MINT
36 
37 #endif
38 //
void set_mean(double m)
Definition: GaussFct.cpp:29
void set_height(double h)
Definition: GaussFct.cpp:26
double getIntegral() const
Definition: GaussFct.cpp:40
static const double s
double height() const
Definition: GaussFct.cpp:13
double mean() const
Definition: GaussFct.cpp:16
double x() const
Definition: GaussFct.cpp:10
double _height
Definition: GaussFct.h:11
double sigma() const
Definition: GaussFct.cpp:19
void set_x(double x_in)
Definition: GaussFct.cpp:23
void set_sigma(double s)
Definition: GaussFct.cpp:32
static const double m
double getVal() const
Definition: GaussFct.cpp:35
virtual ~GaussFct()
Definition: GaussFct.h:33
double _sqrt2pi
Definition: GaussFct.h:13
double _sigma
Definition: GaussFct.h:12
double _x
Definition: GaussFct.h:10
double _mean
Definition: GaussFct.h:12