CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
TrivariateGaussian.hh
Go to the documentation of this file.
1// -*- C++ -*-
2// $Id: TrivariateGaussian.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3//---------------------TrivariateGaussian-----------------------------------//
4// //
5// Class TrivariateGaussian //
6// Joe Boudreau, Petar Maksimovic, November 1999 //
7// //
8//--------------------------------------------------------------------------//
9#ifndef TrivariateGaussian_h
10#define TrivariateGaussian_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 ~TrivariateGaussian();
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 TrivariateGaussian
43 Parameter & mean0();
44 const Parameter & mean0() const;
45 Parameter & mean1();
46 const Parameter & mean1() const;
47 Parameter & mean2();
48 const Parameter & mean2() const;
49
50 // Get the sigma of the TrivariateGaussian
51 Parameter & sigma0();
52 const Parameter & sigma0() const;
53 Parameter & sigma1();
54 const Parameter & sigma1() const;
55 Parameter & sigma2();
56 const Parameter & sigma2() const;
57
58 // Get the correlation coefficient:
59 Parameter & corr01();
60 const Parameter & corr01() const;
61 Parameter & corr02();
62 const Parameter & corr02() const;
63 Parameter & corr12();
64 const Parameter & corr12() const;
65
66
67 private:
68
69 // It is illegal to assign an adjustable constant
70 const TrivariateGaussian & operator=(const TrivariateGaussian &right);
71
72 // Here is the decay constant
73 Parameter _mean0;
74 Parameter _mean1;
75 Parameter _mean2;
76
77 // Here is the sigma
78 Parameter _sigma0;
79 Parameter _sigma1;
80 Parameter _sigma2;
81
82 // Here is the correlation coefficient:
83 Parameter _corr01;
84 Parameter _corr02;
85 Parameter _corr12;
86
87 };
88} // namespace Genfun
89
90#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