Next: Summary
Up: Function Library
Previous: Event Shape Routines
Support Routines
A collection of small functions are available. Most of the routines come
in two versions, one that takes a vector and one that takes an array of
vectors and an index as arguments.
- vcopy (A,I,B,J) copies the i'th vector of array A to the j'th
vector of array B.
- vadd(A,I,B,J,IRECOM) adds the j'th vector in array B to the
i'th vector in array A. The available recombination schemes are :
- IRECOM=1
- E/JADE :
: =
+
- IRECOM=2
- E0 :
E : = Ea + Eb,
: =
(
+
) (momentum rescaling)
- IRECOM=3
- P :
: = (
+
), E = |
|
(energy rescaling)
- IRECOM=4
- Snowmass :
pt = pt, a + pt, b,
=
(
pt, a +
pt, b),
=
(
pt, a +
pt, b), E = |
|
- P = ATH (A,I) calculates the theta angle (in radian) of the i'th
vector of array A wrt. the + z-axis.
- P = VP2 (V) and P = AP2(A,I) returns the momentum squared
of the particle V and A(i), respectively.
- P = VMASS2 (V) and P = AMASS2(A,I) returns the invariant
mass squared of the particle V and A(i), respectively.
In the above functions and subroutines the variables are defined as follows :
DOUBLE PRECISION A(4,*), B(4,*)
DOUBLE PRECISION V(4)
DOUBLE PRECISION P
INTEGER I,J,IRECOM
Next: Summary
Up: Function Library
Previous: Event Shape Routines
latex2html conversion by www person on 1999-12-19