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

ParameterComposition.hh

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: 
00003 //--------------------------ParameterComposition----------------------------//
00004 //                                                                          //
00005 // ParameterComposition, result of composition of two functions.            //
00006 // Joe Boudreau, Petar Maksimovic, November 1999                            //
00007 //                                                                          //
00008 //--------------------------------------------------------------------------//
00009 
00010 #ifndef ParameterComposition_h
00011 #define ParameterComposition_h 1
00012 #include "CLHEP/GenericFunctions/AbsFunction.hh"
00013 #include "CLHEP/GenericFunctions/AbsParameter.hh"
00014 
00015 namespace Genfun {
00016 
00021   class ParameterComposition : public AbsParameter {
00022 
00023     PARAMETER_OBJECT_DEF(ParameterComposition)
00024 
00025       public:
00026 
00027     // Constructor
00028     ParameterComposition(const AbsFunction *arg1, const AbsParameter *arg2);
00029 
00030     // Copy constructor
00031     ParameterComposition(const ParameterComposition &right);
00032   
00033     // Destructor
00034     virtual ~ParameterComposition();
00035 
00036     // Retreive parameter value
00037     virtual double getValue() const;
00038 
00039 
00040   private:
00041 
00042     // It is illegal to assign a ParameterComposition
00043     const ParameterComposition & operator=(const ParameterComposition &right);
00044 
00045     const AbsFunction  *_arg1;
00046     AbsParameter *_arg2;  
00047   };
00048 } // namespace Genfun
00049 #endif

Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7