CLHEP 2.0.4.7 Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

ParameterQuotient.hh

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

Generated on Thu Jul 1 22:02:30 2010 for CLHEP by  doxygen 1.4.7