]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/PHOTOS/phoro2.F
minor coding rule corrections, removed deprecated class
[u/mrichter/AliRoot.git] / TEvtGen / PHOTOS / phoro2.F
CommitLineData
da0e9ce3 1 SUBROUTINE PHORO2(ANGLE,PVEC)
2C.----------------------------------------------------------------------
3C.
4C. PHOTOS: PHOton radiation in decays ROtation routine '2'
5C.
6C. Purpose: Rotate x and z components of vector PVEC around angle
7C. 'ANGLE'.
8C.
9C. Input Parameters: ANGLE, PVEC
10C.
11C. Output Parameter: PVEC
12C.
13C. Author(s): S. Jadach Created at: 01/01/89
14C. B. van Eijk Last Update: 02/01/90
15C.
16C.----------------------------------------------------------------------
17 IMPLICIT NONE
18 DOUBLE PRECISION CS,SN,ANGLE
19 REAL*8 PVEC(4)
20 CS=COS(ANGLE)*PVEC(1)+SIN(ANGLE)*PVEC(3)
21 SN=-SIN(ANGLE)*PVEC(1)+COS(ANGLE)*PVEC(3)
22 PVEC(1)=CS
23 PVEC(3)=SN
24 RETURN
25 END