Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:35

0001 // -*- C++ -*-
0002 // $Id: ParameterQuotient.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
0003 //--------------------------ParameterQuotient-------------------------------//
0004 //                                                                          //
0005 // ParameterQuotient, result of division of two parameters.                 //
0006 // Joe Boudreau, Petar Maksimovic, November 1999                            //
0007 //                                                                          //
0008 //--------------------------------------------------------------------------//
0009 
0010 #ifndef ParameterQuotient_h
0011 #define ParameterQuotient_h 1
0012 #include "CLHEP/GenericFunctions/AbsParameter.hh"
0013 namespace Genfun {
0014 
0015   /**
0016    * @author
0017    * @ingroup genfun
0018    */
0019   class ParameterQuotient : public AbsParameter  {
0020 
0021     PARAMETER_OBJECT_DEF(ParameterQuotient)
0022   
0023       public:
0024   
0025     // Constructor
0026     ParameterQuotient(const AbsParameter *arg1, const AbsParameter *arg2);
0027   
0028     // Copy constructor
0029     ParameterQuotient(const ParameterQuotient &right);
0030 
0031     // Destructor
0032     virtual ~ParameterQuotient();
0033   
0034     // Retreive function value
0035     virtual double getValue() const;
0036 
0037   private:
0038 
0039     // It is illegal to assign a ParameterQuotient
0040     const ParameterQuotient & operator=(const ParameterQuotient &right);
0041 
0042     AbsParameter *_arg1;
0043     AbsParameter *_arg2;
0044   };
0045 } // namespace Genfun
0046 #endif