CLHEP
2.4.7.1
C++ Class Library for High Energy Physics
CLHEP
GenericFunctions
ParameterComposition.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id:
3
//--------------------------ParameterComposition----------------------------//
4
// //
5
// ParameterComposition, result of composition of two functions. //
6
// Joe Boudreau, Petar Maksimovic, November 1999 //
7
// //
8
//--------------------------------------------------------------------------//
9
10
#ifndef ParameterComposition_h
11
#define ParameterComposition_h 1
12
#include "
CLHEP/GenericFunctions/AbsFunction.hh
"
13
#include "
CLHEP/GenericFunctions/AbsParameter.hh
"
14
15
namespace
Genfun
{
16
21
class
ParameterComposition
:
public
AbsParameter
{
22
23
PARAMETER_OBJECT_DEF
(
ParameterComposition
)
24
25
public
:
26
27
// Constructor
28
ParameterComposition
(
const
AbsFunction
*
arg1
,
const
AbsParameter
*
arg2
);
29
30
// Copy constructor
31
ParameterComposition
(
const
ParameterComposition
&
right
);
32
33
// Destructor
34
virtual
~ParameterComposition
();
35
36
// Retreive parameter value
37
virtual
double
getValue
()
const
;
38
39
40
private
:
41
42
// It is illegal to assign a ParameterComposition
43
const
ParameterComposition
& operator=(
const
ParameterComposition
&
right
);
44
45
const
AbsFunction
*_arg1;
46
AbsParameter
*_arg2;
47
};
48
}
// namespace Genfun
49
#endif
AbsFunction.hh
AbsParameter.hh
PARAMETER_OBJECT_DEF
#define PARAMETER_OBJECT_DEF(classname)
Definition
AbsParameter.hh:79
Genfun::AbsFunction
Definition
AbsFunction.hh:48
Genfun::AbsParameter
Definition
AbsParameter.hh:22
Genfun::DoubleParamToArgAdaptor
Definition
DoubleParamToArgAdaptor.hh:37
Genfun::ParameterComposition
Definition
ParameterComposition.hh:21
Genfun::ParameterComposition::ParameterComposition
ParameterComposition(const ParameterComposition &right)
Genfun::ParameterComposition::ParameterComposition
ParameterComposition(const AbsFunction *arg1, const AbsParameter *arg2)
Genfun::ParameterComposition::getValue
virtual double getValue() const
Genfun::ParameterComposition::~ParameterComposition
virtual ~ParameterComposition()
Genfun
Definition
Abs.hh:14
Generated by
1.10.0