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  return _clone();
16 }
17 
18 
20  return ParameterSum(&a,&b);
21 }
22 
24  return ParameterDifference(&a,&b);
25 }
26 
28  return ParameterProduct(&a,&b);
29 }
30 
32  return ParameterQuotient(&a,&b);
33 }
34 
35 
37  return ParameterNegation(&a);
38 }
39 
40 
42  return ConstTimesParameter (c, &op2);
43 }
44 
46  return ConstPlusParameter (c, &op2);
47 }
48 
50  return ConstMinusParameter(c, &op2);
51 }
52 
54  return ConstOverParameter(c, &op2);
55 }
56 
58  return ConstTimesParameter (c, &op2);
59 }
60 
62  return ConstPlusParameter (c, &op2);
63 }
64 
66  return ConstPlusParameter(-c, &op2);
67 }
68 
70  return ConstTimesParameter(1/c, &op2);
71 }
72 
73 
74 } // namespace Genfun