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

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
14 
15 namespace Genfun {
16 
21  class ParameterComposition : public AbsParameter {
22 
24 
25  public:
26 
27  // Constructor
28  ParameterComposition(const AbsFunction *arg1, const AbsParameter *arg2);
29 
30  // Copy constructor
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
virtual double getValue() const
#define PARAMETER_OBJECT_DEF(classname)
ParameterComposition(const AbsFunction *arg1, const AbsParameter *arg2)