CLHEP 2.0.4.7 Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
00001 // -*- C++ -*- 00002 // $Id: ParameterProduct.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $ 00003 //--------------------------ParameterProduct--------------------------------// 00004 // // 00005 // ParameterProduct, result of multiplication of two parameters. // 00006 // Joe Boudreau, Petar Maksimovic, November 1999 // 00007 // // 00008 //--------------------------------------------------------------------------// 00009 00010 #ifndef ParameterProduct_h 00011 #define ParameterProduct_h 1 00012 #include "CLHEP/GenericFunctions/AbsParameter.hh" 00013 00014 namespace Genfun { 00015 00020 class ParameterProduct : public AbsParameter { 00021 00022 PARAMETER_OBJECT_DEF(ParameterProduct) 00023 00024 public: 00025 00026 // Constructor 00027 ParameterProduct(const AbsParameter *arg1, const AbsParameter *arg2); 00028 00029 // Copy constructor 00030 ParameterProduct(const ParameterProduct &right); 00031 00032 // Destructor 00033 virtual ~ParameterProduct(); 00034 00035 // Retreive function value 00036 virtual double getValue() const; 00037 00038 private: 00039 00040 // It is illegal to assign a ParameterProduct 00041 const ParameterProduct & operator=(const ParameterProduct &right); 00042 00043 AbsParameter *_arg1; 00044 AbsParameter *_arg2; 00045 }; 00046 } // namespace Genfun 00047 #endif