* * $Id$ * * $Log$ * Revision 1.1 2000/06/19 20:00:30 eugenio * Initial revision * * Revision 1.1.1.1 1994/11/22 16:57:03 zfiles * first version of korb in CVS * * #include "sys/CLEO_machine.h" #include "pilot.h" *CMZ : 2.00/00 21/01/93 15.42.32 by Alan Weinstein *-- Author : SUBROUTINE DADMKK(MODE,ISGN,HV,PKK,PNU) C ---------------------------------------------------------------------- C FZ COMMON / DECPAR / GFERMI,GV,GA,CCABIB,SCABIB,GAMEL REAL*4 GFERMI,GV,GA,CCABIB,SCABIB,GAMEL COMMON / PARMAS / AMTAU,AMNUTA,AMEL,AMNUE,AMMU,AMNUMU * ,AMPIZ,AMPI,AMRO,GAMRO,AMA1,GAMA1 * ,AMK,AMKZ,AMKST,GAMKST C REAL*4 AMTAU,AMNUTA,AMEL,AMNUE,AMMU,AMNUMU * ,AMPIZ,AMPI,AMRO,GAMRO,AMA1,GAMA1 * ,AMK,AMKZ,AMKST,GAMKST COMMON / TAUBMC / GAMPMC(30),GAMPER(30),NEVDEC(30) REAL*4 GAMPMC ,GAMPER COMMON / INOUT / INUT,IOUT REAL PKK(4),PNU(4),HV(4) DATA PI /3.141592653589793238462643/ C IF(MODE.EQ.-1) THEN C =================== NEVTOT=0 ELSEIF(MODE.EQ. 0) THEN C ======================= NEVTOT=NEVTOT+1 EKK= (AMTAU**2+AMK**2-AMNUTA**2)/(2*AMTAU) ENU= (AMTAU**2-AMK**2+AMNUTA**2)/(2*AMTAU) XKK= SQRT(EKK**2-AMK**2) C K MOMENTUM CALL SPHERA(XKK,PKK) PKK(4)=EKK C TAU-NEUTRINO MOMENTUM DO 30 I=1,3 30 PNU(I)=-PKK(I) PNU(4)=ENU PXQ=AMTAU*EKK PXN=AMTAU*ENU QXN=PKK(4)*PNU(4)-PKK(1)*PNU(1)-PKK(2)*PNU(2)-PKK(3)*PNU(3) BRAK=(GV**2+GA**2)*(2*PXQ*QXN-AMK**2*PXN) & +(GV**2-GA**2)*AMTAU*AMNUTA*AMK**2 DO 40 I=1,3 40 HV(I)=-ISGN*2*GA*GV*AMTAU*(2*PKK(I)*QXN-PNU(I)*AMK**2)/BRAK HV(4)=1 C ELSEIF(MODE.EQ. 1) THEN C ======================= IF(NEVTOT.EQ.0) RETURN FKK=0.0354 CFZ THERE WAS BRAK/AMTAU**4 BEFORE GAMM=(GFERMI*FKK)**2/(16.*PI)*AMTAU**3* * (BRAK/AMTAU**4)**2 ERROR=0 RAT=GAMM/GAMEL WRITE(IOUT, 7010) NEVTOT,GAMM,RAT,ERROR GAMPMC(6)=RAT GAMPER(6)=ERROR CAM NEVDEC(6)=NEVTOT ENDIF C ===== RETURN 7010 FORMAT(///1X,15(5H*****) $ /,' *', 25X,'******** DADMKK FINAL REPORT ********',9X,1H* $ /,' *',I20 ,5X,'NEVTOT = NO. OF K DECAYS TOTAL ',9X,1H*, $ /,' *',E20.5,5X,'PARTIAL WTDTH ( K DECAY) IN GEV UNITS ',9X,1H*, $ /,' *',F20.9,5X,'IN UNITS GFERMI**2*MASS**5/192/PI**3 ',9X,1H* $ /,' *',F20.8,5X,'RELATIVE ERROR OF PARTIAL WIDTH (STAT.)',9X,1H* $ /,1X,15(5H*****)/) END