CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
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
17
/**
18
* @author
19
* @ingroup genfun
20
*/
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
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::ParameterComposition
Definition:
ParameterComposition.hh:21
Genfun::ParameterComposition::getValue
virtual double getValue() const
Definition:
ParameterComposition.cc:32
Genfun::ParameterComposition::~ParameterComposition
virtual ~ParameterComposition()
Definition:
ParameterComposition.cc:25
Genfun
Definition:
Abs.hh:14
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
ParameterComposition.hh
Generated by
1.9.6