CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
Gamma.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id:
3
//---------------------Gamma------------------------------------------------//
4
// //
5
// The //
6
// Joe Boudreau, Jan 2007 //
7
// //
8
//--------------------------------------------------------------------------//
9
#ifndef Gamma_h
10
#define Gamma_h 1
11
#include "CLHEP/GenericFunctions/AbsFunction.hh"
12
#include "CLHEP/GenericFunctions/Parameter.hh"
13
#include "CLHEP/GenericFunctions/LogGamma.hh"
14
namespace
Genfun
{
15
16
/**
17
* @author
18
* @ingroup genfun
19
*/
20
class
Gamma
:
public
AbsFunction
{
21
22
FUNCTION_OBJECT_DEF
(
Gamma
)
23
24
public
:
25
26
// Constructor
27
Gamma
();
28
29
// Copy constructor
30
Gamma
(
const
Gamma
&right);
31
32
// Destructor
33
virtual
~Gamma
();
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
private
:
40
41
// It is illegal to assign an adjustable constant
42
const
Gamma
& operator=(
const
Gamma
&right);
43
44
// This function has a LogGamma Function;
45
LogGamma
_logGamma;
46
47
48
};
49
}
// namespace Genfun
50
#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::Gamma
Definition:
Gamma.hh:20
Genfun::Gamma::~Gamma
virtual ~Gamma()
Definition:
Gamma.cc:21
Genfun::Gamma::operator()
virtual double operator()(double argument) const override
Definition:
Gamma.cc:24
Genfun::Gamma::Gamma
Gamma()
Definition:
Gamma.cc:13
Genfun::LogGamma
Definition:
LogGamma.hh:19
Genfun
Definition:
Abs.hh:14
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
Gamma.hh
Generated by
1.9.6