CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
NonrelativisticBW.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id:
3
//---------------------NonrelativisticBWDistribution------------------------//
4
// //
5
// //
6
// Joe Boudreau, June 2011 //
7
// //
8
//--------------------------------------------------------------------------//
9
#ifndef NonrelativisticBWDistribution_h
10
#define NonrelativisticBWDistribution_h 1
11
#include "CLHEP/GenericFunctions/AbsFunction.hh"
12
#include "CLHEP/GenericFunctions/Parameter.hh"
13
#include "CLHEP/GenericFunctions/IncompleteGamma.hh"
14
namespace
Genfun
{
15
16
/**
17
* @author
18
* @ingroup genfun
19
*/
20
class
NonrelativisticBWDistribution
:
public
AbsFunction
{
21
22
FUNCTION_OBJECT_DEF
(
NonrelativisticBWDistribution
)
23
24
public
:
25
26
// Constructor
27
NonrelativisticBWDistribution
();
28
29
// Copy constructor
30
NonrelativisticBWDistribution
(
const
NonrelativisticBWDistribution
&right);
31
32
// Destructor
33
virtual
~NonrelativisticBWDistribution
();
34
35
// Retreive function value
36
virtual
double
operator ()
(
double
argument)
const override
;
37
virtual
double
operator ()
(
const
Argument
& a)
const override
{
return
operator()
(a[0]);}
38
39
// Get the paramter alpha
40
Parameter
&
mass
();
41
42
// Get the parameter beta
43
Parameter
&
width
();
44
45
46
private
:
47
48
// It is illegal to assign an adjustable constant
49
const
NonrelativisticBWDistribution
& operator=(
const
NonrelativisticBWDistribution
&right);
50
51
// Here are the two parameters alpha and beta:
52
53
Parameter
_mass;
54
Parameter
_width;
55
56
57
58
};
59
}
// namespace Genfun
60
#endif
FUNCTION_OBJECT_DEF
#define FUNCTION_OBJECT_DEF(classname)
Definition:
AbsFunction.hh:143
Genfun::AbsFunction
Definition:
AbsFunction.hh:48
Genfun::Argument
Definition:
Argument.hh:17
Genfun::NonrelativisticBWDistribution
Definition:
NonrelativisticBW.hh:20
Genfun::NonrelativisticBWDistribution::NonrelativisticBWDistribution
NonrelativisticBWDistribution()
Definition:
NonrelativisticBW.cc:19
Genfun::NonrelativisticBWDistribution::mass
Parameter & mass()
Definition:
NonrelativisticBW.cc:42
Genfun::NonrelativisticBWDistribution::width
Parameter & width()
Definition:
NonrelativisticBW.cc:47
Genfun::NonrelativisticBWDistribution::operator()
virtual double operator()(double argument) const override
Definition:
NonrelativisticBW.cc:34
Genfun::NonrelativisticBWDistribution::~NonrelativisticBWDistribution
virtual ~NonrelativisticBWDistribution()
Definition:
NonrelativisticBW.cc:31
Genfun::Parameter
Definition:
Parameter.hh:35
Genfun
Definition:
Abs.hh:14
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
NonrelativisticBW.hh
Generated by
1.9.6