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

CLHEP/GenericFunctions/ParameterNegation.hh
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id: ParameterNegation.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3 //--------------------------ParameterNegation-------------------------------//
4 // //
5 // ParameterNegation, result of negating a parameters. //
6 // Joe Boudreau, Petar Maksimovic, November 1999 //
7 // //
8 //--------------------------------------------------------------------------//
9 
10 #ifndef ParameterNegation_h
11 #define ParameterNegation_h 1
13 
14 namespace Genfun {
15 
21 
23 
24  public:
25 
26  // Constructor
27  ParameterNegation(const AbsParameter *arg1);
28 
29  // Copy constructor
31 
32  // Destructor
33  virtual ~ParameterNegation();
34 
35  // Retreive parameter value
36  virtual double getValue() const;
37 
38  private:
39 
40  // It is illegal to assign a ParameterNegation
41  const ParameterNegation & operator=(const ParameterNegation &right);
42 
43  // The parameter to be negated:
44  AbsParameter *_arg1;
45 
46  };
47 } // namespace Genfun
48 #endif