CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
BivariateGaussian.hh
Go to the documentation of this file.
1// -*- C++ -*-
2// $Id: BivariateGaussian.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3//---------------------BivariateGaussian------------------------------------//
4// //
5// Class BivariateGaussian //
6// Joe Boudreau, Petar Maksimovic, November 1999 //
7// //
8//--------------------------------------------------------------------------//
9#ifndef BivariateGaussian_h
10#define BivariateGaussian_h 1
11#include "CLHEP/GenericFunctions/AbsFunction.hh"
12#include "CLHEP/GenericFunctions/Parameter.hh"
13
14namespace Genfun {
15
16 /**
17 * @author
18 * @ingroup genfun
19 */
21
23
24 public:
25
26 // Constructor
28
29 // Copy constructor
31
32 // Destructor
33 virtual ~BivariateGaussian();
34
35 // Retreive function value
36 virtual double operator ()(double argument) const override; // Gives an error.
37 virtual double operator ()(const Argument & a) const override; // Must use this one
38
39 // Dimensionality
40 virtual unsigned int dimensionality() const override;
41
42 // Get the mean of the BivariateGaussian
43 Parameter & mean0();
44 const Parameter & mean0() const;
45 Parameter & mean1();
46 const Parameter & mean1() const;
47
48 // Get the sigma of the BivariateGaussian
49 Parameter & sigma0();
50 const Parameter & sigma0() const;
51 Parameter & sigma1();
52 const Parameter & sigma1() const;
53
54 // Get the correlation coefficient:
55 Parameter & corr01();
56 const Parameter & corr01() const;
57
58
59 private:
60
61 // It is illegal to assign an adjustable constant
62 const BivariateGaussian & operator=(const BivariateGaussian &right);
63
64 // Here is the decay constant
65 Parameter _mean0;
66 Parameter _mean1;
67
68 // Here is the sigma
69 Parameter _sigma0;
70 Parameter _sigma1;
71
72 // Here is the correlation coefficient:
73 Parameter _corr01;
74
75 };
76} // namespace Genfun
77
78#endif
#define FUNCTION_OBJECT_DEF(classname)
Definition: AbsFunction.hh:143
virtual double operator()(double argument) const override
virtual unsigned int dimensionality() const override
Definition: Abs.hh:14