* * $Id$ * * $Log$ * Revision 1.1 2000/06/19 20:00:31 eugenio * Initial revision * * Revision 1.1.1.1 1994/11/22 16:57:04 zfiles * first version of korb in CVS * * #include "sys/CLEO_machine.h" #include "pilot.h" *CMZ : 2.00/00 21/01/93 15.42.37 by Alan Weinstein *-- Author : SUBROUTINE DWLUKS(KTO,ISGN,PNU,PKS,PKK,PPI,JKST) COMMON / TAUKLE / BRA1,BRK0,BRK0B,BRKS REAL*4 BRA1,BRK0,BRK0B,BRKS C ---------------------------------------------------------------------- C Lorentz transformation to CMsystem and C Updating of HEPEVT record C C ISGN = 1/-1 for tau-/tau+ C JKST=10 (20) corresponds to K0B pi- (K- pi0) decay C C ---------------------------------------------------------------------- C REAL PNU(4),PKS(4),PKK(4),PPI(4) C C position of decaying particle IF(KTO.EQ. 1) THEN NPS=3 ELSE NPS=4 ENDIF C C tau neutrino (nu_tau is 16) CALL TRALO4(KTO,PNU,PNU,AM) CALL FILHEP(0,1,16*ISGN,NPS,NPS,0,0,PNU,AM,.TRUE.) C C charged K* meson (K*+ is 323) CALL TRALO4(KTO,PKS,PKS,AM) CALL FILHEP(0,1,-323*ISGN,NPS,NPS,0,0,PKS,AM,.TRUE.) C C two possible decay modes of charged K* IF(JKST.EQ.10) THEN C C K*- --> pi- K0B (or charged conjugate) C C charged pi meson (pi+ is 211) CALL TRALO4(KTO,PPI,PPI,AM) CALL FILHEP(0,1,-211*ISGN,-1,-1,0,0,PPI,AM,.TRUE.) C BRAN=BRK0B IF (ISGN.EQ.-1) BRAN=BRK0 C K0 --> K0_long (is 130) / K0_short (is 310) = 1/1 CALL RANMAR(XIO,1) IF(XIO.GT.BRAN) THEN K0TYPE = 130 ELSE K0TYPE = 310 ENDIF C CALL TRALO4(KTO,PKK,PKK,AM) CALL FILHEP(0,1,K0TYPE,-2,-2,0,0,PKK,AM,.TRUE.) C ELSE IF(JKST.EQ.20) THEN C C K*- --> pi0 K- C C pi zero (pi0 is 111) CALL TRALO4(KTO,PPI,PPI,AM) CALL FILHEP(0,1,111,-1,-1,0,0,PPI,AM,.TRUE.) C C charged K meson (K+ is 321) CALL TRALO4(KTO,PKK,PKK,AM) CALL FILHEP(0,1,-321*ISGN,-2,-2,0,0,PKK,AM,.TRUE.) C ENDIF C RETURN END