CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
GenericFunctions
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
Generated on Mon May 6 2013 04:04:11 for CLHEP by
1.8.1.2