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

AbsParameter.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id: AbsParameter.cc,v 1.3 2003/09/06 14:04:14 boudreau Exp $
5 namespace Genfun {
6 
7 // Two do-nothing functions:
9 }
10 
12 }
13 
15 {}
16 
18  return _clone();
19 }
20 
21 
23  return ParameterSum(&a,&b);
24 }
25 
27  return ParameterDifference(&a,&b);
28 }
29 
31  return ParameterProduct(&a,&b);
32 }
33 
35  return ParameterQuotient(&a,&b);
36 }
37 
38 
40  return ParameterNegation(&a);
41 }
42 
43 
45  return ConstTimesParameter (c, &op2);
46 }
47 
49  return ConstPlusParameter (c, &op2);
50 }
51 
53  return ConstMinusParameter(c, &op2);
54 }
55 
57  return ConstOverParameter(c, &op2);
58 }
59 
61  return ConstTimesParameter (c, &op2);
62 }
63 
65  return ConstPlusParameter (c, &op2);
66 }
67 
69  return ConstPlusParameter(-c, &op2);
70 }
71 
73  return ConstTimesParameter(1/c, &op2);
74 }
75 
76 
77 } // namespace Genfun