* * $Id$ * * $Log$ * Revision 1.1 2000/06/19 20:00:31 eugenio * Initial revision * * Revision 1.1.1.1 1994/11/22 16:57:02 zfiles * first version of korb in CVS * * #include "sys/CLEO_machine.h" #include "pilot.h" *CMZ : 2.00/00 21/01/93 15.42.29 by Alan Weinstein *-- Author : SUBROUTINE DEXAY1(KTO,JAKIN,JAK,POL,ISGN) C --------------------------------------------------------------------- C THIS ROUTINE SIMULATES TAU+- DECAY C C called by : DEXAY C --------------------------------------------------------------------- COMMON / TAUBMC / GAMPMC(30),GAMPER(30),NEVDEC(30) REAL*4 GAMPMC ,GAMPER COMMON / INOUT / INUT,IOUT REAL POL(4),POLAR(4) REAL PNU(4),PPI(4) REAL PRHO(4),PIC(4),PIZ(4) REAL PWB(4),PMU(4),PNM(4) REAL PAA(4),PIM1(4),PIM2(4),PIPL(4) REAL PKK(4),PKS(4) REAL PNPI(4,6) REAL PHOT(4) REAL PDUM(4) C IF(JAKIN.EQ.-1) RETURN DO 33 I=1,3 33 POLAR(I)=POL(I) POLAR(4)=0. DO 34 I=1,4 34 PDUM(I)=.0 JAK=JAKIN IF(JAK.EQ.0) CALL JAKER(JAK) CAM IF(JAK.EQ.1) THEN CALL DEXEL(0, ISGN,POLAR,PNU,PWB,PMU,PNM,PHOT) CALL DWLUEL(KTO,ISGN,PNU,PWB,PMU,PNM) CALL DWRPH(KTO,PHOT ) ELSEIF(JAK.EQ.2) THEN CALL DEXMU(0, ISGN,POLAR,PNU,PWB,PMU,PNM,PHOT) CALL DWLUMU(KTO,ISGN,PNU,PWB,PMU,PNM) CALL DWRPH(KTO,PHOT ) ELSEIF(JAK.EQ.3) THEN CALL DEXPI(0, ISGN,POLAR,PPI,PNU) CALL DWLUPI(KTO,ISGN,PPI,PNU) ELSEIF(JAK.EQ.4) THEN CALL DEXRO(0, ISGN,POLAR,PNU,PRHO,PIC,PIZ) CALL DWLURO(KTO,ISGN,PNU,PRHO,PIC,PIZ) ELSEIF(JAK.EQ.5) THEN CALL DEXAA(0, ISGN,POLAR,PNU,PAA,PIM1,PIM2,PIPL,JAA) CALL DWLUAA(KTO,ISGN,PNU,PAA,PIM1,PIM2,PIPL,JAA) ELSEIF(JAK.EQ.6) THEN CALL DEXKK(0, ISGN,POLAR,PKK,PNU) CALL DWLUKK(KTO,ISGN,PKK,PNU) ELSEIF(JAK.EQ.7) THEN CALL DEXKS(0, ISGN,POLAR,PNU,PKS,PKK,PPI,JKST) CALL DWLUKS(KTO,ISGN,PNU,PKS,PKK,PPI,JKST) ELSEIF(JAK.EQ.8.OR.JAK.EQ.9) THEN JNPI=JAK-7 CALL DEX4PI(0, ISGN,POLAR,PNU,PWB,PNPI,JNPI) CALL DWLNPI(KTO,ISGN,PNU,PWB,PNPI,JNPI) ELSEIF(JAK.GT.9.AND.JAK.LE.11) THEN CAM MULTIPION DECAY JNPI=JAK-7 CALL DEXNPI(0, ISGN,PNU,PWB,PNPI,JNPI) CALL DWLNPI(KTO,ISGN,PNU,PWB,PNPI,JNPI) ELSEIF(JAK.GE.12.AND.JAK.LE.19) THEN JAA=JAK-11 CALL DEXPK(0, ISGN,POLAR,PNU,PAA,PIM1,PIM2,PIPL,JAA) CALL DWLUPK(KTO,ISGN,PNU,PAA,PIM1,PIM2,PIPL,JAA) ELSE GOTO 902 ENDIF NEVDEC(JAK)=NEVDEC(JAK)+1 RETURN 902 WRITE(IOUT, 9020) 9020 FORMAT(' ----- DEXAY1: WRONG JAK') STOP END