CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
ConstMinusParameter.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id: ConstMinusParameter.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3
//--------------------------ConstMinusParameter-----------------------------//
4
// //
5
// ConstMinusParameter, result of subtracting a parameter from a constant. //
6
// Joe Boudreau, Petar Maksimovic, November 1999 //
7
// //
8
//--------------------------------------------------------------------------//
9
10
#ifndef ConstMinusParameter_h
11
#define ConstMinusParameter_h 1
12
#include "CLHEP/GenericFunctions/AbsParameter.hh"
13
14
namespace
Genfun
{
15
16
/**
17
* @author
18
* @ingroup genfun
19
*/
20
class
ConstMinusParameter
:
public
AbsParameter
{
21
22
PARAMETER_OBJECT_DEF
(
ConstMinusParameter
)
23
24
public
:
25
26
// Constructor
27
ConstMinusParameter
(
double
,
const
AbsParameter
*);
28
29
// Copy constructor
30
ConstMinusParameter
(
const
ConstMinusParameter
&right);
31
32
// Destructor
33
virtual
~ConstMinusParameter
();
34
35
// Retreive function value
36
virtual
double
getValue
()
const
;
37
38
private
:
39
40
// It is illegal to assign a ConstMinusParameter
41
const
ConstMinusParameter
& operator=(
const
ConstMinusParameter
&right);
42
43
double
_constant;
44
AbsParameter
*_parameter;
45
};
46
}
// namespace Genfun
47
#endif
PARAMETER_OBJECT_DEF
#define PARAMETER_OBJECT_DEF(classname)
Definition:
AbsParameter.hh:79
Genfun::AbsParameter
Definition:
AbsParameter.hh:22
Genfun::ConstMinusParameter
Definition:
ConstMinusParameter.hh:20
Genfun::ConstMinusParameter::~ConstMinusParameter
virtual ~ConstMinusParameter()
Definition:
ConstMinusParameter.cc:24
Genfun::ConstMinusParameter::getValue
virtual double getValue() const
Definition:
ConstMinusParameter.cc:30
Genfun
Definition:
Abs.hh:14
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
ConstMinusParameter.hh
Generated by
1.9.6