CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
GenericFunctions
GenericFunctions/ParameterDifference.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id: ParameterDifference.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3
//--------------------------ParameterDifference-----------------------------//
4
// //
5
// ParameterDifference, result of subtraction of two parameters. //
6
// Joe Boudreau, Petar Maksimovic, November 1999 //
7
// //
8
//--------------------------------------------------------------------------//
9
10
#ifndef ParameterDifference_h
11
#define ParameterDifference_h 1
12
#include "
CLHEP/GenericFunctions/AbsParameter.hh
"
13
14
namespace
Genfun {
15
20
class
ParameterDifference :
public
AbsParameter {
21
22
PARAMETER_OBJECT_DEF
(
ParameterDifference
)
23
24
public:
25
26
// Constructor
27
ParameterDifference
(const
AbsParameter
*arg1, const
AbsParameter
*arg2);
28
29
// Copy constructor
30
ParameterDifference
(const
ParameterDifference
&right);
31
32
// Destructor
33
virtual ~
ParameterDifference
();
34
35
// Retreive parameter value
36
virtual
double
getValue
() const;
37
38
private:
39
40
// It is illegal to assign a ParameterDifference
41
const ParameterDifference & operator=(const ParameterDifference &right);
42
43
AbsParameter
*_arg1;
44
AbsParameter
*_arg2;
45
};
46
}
// namespace Genfun
47
#endif
Generated on Mon May 6 2013 04:04:11 for CLHEP by
1.8.1.2