next up previous
Next: COSY translation Up: Use and description of Previous: Beam matrix tracing

Constant definition

This operationallows the user to redefine basic constants. The purpose of this operation is to enable comparison of the computation results with other programs or to update the values as their accuracies increase.The constants accessible to the user are : Pi, the velocity of light (in m/sec), the electron mass (or particle mass) (in GeV), the electron (or particle) radius, the electron (or particle) charge. The reference relative momentum (dp/p) that is used in some Taylor expansion with delta as independent variable.Two parameters used in the least square minimizer routine are also accessible to the user as well as the expulsion factor. The scale factors ETAFAC and SIGFAC are also accessible via this operation. The particle type : 0 for electrons 1 for protons . Use the operation SHO Constant to examine the constants.


Input format: 

CONStant definition .....(up to 80 Characters)
followed by :
$n_{1}\ ,\ val_{1}\ \cdots \ n_{p}\ ,\ val_{p} $

Parameter definitions

$n_{i}$ $\textstyle \parbox{10cm}{ is the order number of the ith constant
to be redefi...
...\\
\>12\ \> \hspace{0.5cm} particle type(0:electron, 1:proton)
\end{tabbing}}$

$val_{i}$ new value of the constant $n_{i}$.



Examples

The example given is extracted from demo9 and shows the change of the current particle type to a proton and sets the rest mass to the value of the rest mass of a proton.

 CONSTANT DEF
 12 1 3 0.938259,


next up previous
Next: COSY translation Up: Use and description of Previous: Beam matrix tracing
Dobrin Kaltchev 2004-10-20