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

GenericFunctions/ParameterQuotient.hh
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id: ParameterQuotient.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3 //--------------------------ParameterQuotient-------------------------------//
4 // //
5 // ParameterQuotient, result of division of two parameters. //
6 // Joe Boudreau, Petar Maksimovic, November 1999 //
7 // //
8 //--------------------------------------------------------------------------//
9 
10 #ifndef ParameterQuotient_h
11 #define ParameterQuotient_h 1
13 namespace Genfun {
14 
19  class ParameterQuotient : public AbsParameter {
20 
22 
23  public:
24 
25  // Constructor
26  ParameterQuotient(const AbsParameter *arg1, const AbsParameter *arg2);
27 
28  // Copy constructor
30 
31  // Destructor
32  virtual ~ParameterQuotient();
33 
34  // Retreive function value
35  virtual double getValue() const;
36 
37  private:
38 
39  // It is illegal to assign a ParameterQuotient
40  const ParameterQuotient & operator=(const ParameterQuotient &right);
41 
42  AbsParameter *_arg1;
43  AbsParameter *_arg2;
44  };
45 } // namespace Genfun
46 #endif
#define PARAMETER_OBJECT_DEF(classname)
ParameterQuotient(const ParameterQuotient &right)
virtual double getValue() const
ParameterQuotient(const AbsParameter *arg1, const AbsParameter *arg2)