CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

CLHEP/GenericFunctions/ConstOverParameter.hh
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id: ConstOverParameter.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3 //--------------------------ConstOverParameter------------------------------//
4 // //
5 // ConstOverParameter, result of multiplying a parameter with a constant. //
6 // Joe Boudreau, Petar Maksimovic, November 1999 //
7 // //
8 //--------------------------------------------------------------------------//
9 
10 #ifndef ConstOverParameter_h
11 #define ConstOverParameter_h 1
13 
14 namespace Genfun {
15 
21 
23 
24  public:
25 
26  // Constructor
27  ConstOverParameter(double, const AbsParameter *);
28 
29  // Copy constructor
31 
32  // Destructor
33  virtual ~ConstOverParameter();
34 
35  // Retreive function value
36  virtual double getValue() const;
37 
38  private:
39 
40  // It is illegal to assign a ConstOverParameter
41  const ConstOverParameter & operator=(const ConstOverParameter &right);
42 
43  double _constant;
44  AbsParameter *_parameter;
45  };
46 } // namespace Genfun
47 #endif
ConstOverParameter(double, const AbsParameter *)
virtual double getValue() const
#define PARAMETER_OBJECT_DEF(classname)