1 *CMZ : 17/07/98 15.49.05 by Federico Carminati
4 c Federico Antinori Productions is proud to present...
8 c Central Rapidity Phase Space Cocktail Event Generator
10 c =====================================================
14 c 09.12.91, FA: 0/03 Pre-release
15 c 28.02.92, FA: 0/04 SH2BOD and SHMTSC
18 SUBROUTINE SH2BOD(AMP,AMDA,AMDB,PP,PDA,PDB)
19 c ===========================================
21 c Two-body decay of a parent of mass AMP and lab 4-momentum PP to
22 c a daughter of mass AMDA and one of mass AMDB.
23 c PDA and PDB contain the lab 4-momenta of the daughters
25 DIMENSION PP(4),PDA(4),PDB(4)
26 DIMENSION PACM(4),PBCM(4)
28 IF ((AMDA+AMDB).GT.AMP) RETURN
29 PACM(4) = (AMP**2+AMDA**2-AMDB**2)/2./AMP
30 PBCM(4) = (AMP**2+AMDB**2-AMDA**2)/2./AMP
31 PCM = SQRT(PACM(4)**2-AMDA**2)
34 PHI = 2.*3.14159*RLU(0.)
35 PACM(1) = PCM*ST*COS(PHI)
36 PACM(2) = PCM*ST*SIN(PHI)
41 CALL LORENB(AMP,PP,PACM,PDA)
42 CALL LORENB(AMP,PP,PBCM,PDB)