* * $Id$ * * $Log$ * Revision 1.1 2000/06/19 20:00:31 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.30 by Alan Weinstein *-- Author : SUBROUTINE DRCMU(DGAMT,HV,PH,PAA,XA,QP,XN,IELMU) IMPLICIT REAL*8 (A-H,O-Z) C ---------------------------------------------------------------------- * IT SIMULATES E,MU CHANNELS OF TAU DECAY IN ITS REST FRAME WITH * QED ORDER ALPHA CORRECTIONS C ---------------------------------------------------------------------- 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 / DECPAR / GFERMI,GV,GA,CCABIB,SCABIB,GAMEL REAL*4 GFERMI,GV,GA,CCABIB,SCABIB,GAMEL COMMON / INOUT / INUT,IOUT COMMON / TAURAD / XK0DEC,ITDKRC REAL*8 XK0DEC REAL*8 HV(4),PT(4),PH(4),PAA(4),XA(4),QP(4),XN(4) REAL*8 PR(4) REAL*4 RRR(6) LOGICAL IHARD DATA PI /3.141592653589793238462643D0/ C AJWMOD to satisfy compiler: XLAM(X,Y,Z)=SQRT((X-Y-Z)**2-4.0*Y*Z) C AMRO, GAMRO IS ONLY A PARAMETER FOR GETING HIGHT EFFICIENCY C C THREE BODY PHASE SPACE NORMALISED AS IN BJORKEN-DRELL C D**3 P /2E/(2PI)**3 (2PI)**4 DELTA4(SUM P) PHSPAC=1./2**17/PI**8 AMTAX=AMTAU C TAU MOMENTUM PT(1)=0.D0 PT(2)=0.D0 PT(3)=0.D0 PT(4)=AMTAX C CALL RANMAR(RRR,6) C IF (IELMU.EQ.1) THEN AMU=AMEL ELSE AMU=AMMU ENDIF C PRHARD=0.30D0 IF ( ITDKRC.EQ.0) PRHARD=0D0 PRSOFT=1.-PRHARD IF(PRSOFT.LT.0.1) THEN PRINT *, 'ERROR IN DRCMU; PRSOFT=',PRSOFT STOP ENDIF C RR5=RRR(5) IHARD=(RR5.GT.PRSOFT) IF (IHARD) THEN C TAU DECAY TO `TAU+photon' RR1=RRR(1) AMS1=(AMU+AMNUTA)**2 AMS2=(AMTAX)**2 XK1=1-AMS1/AMS2 XL1=LOG(XK1/2/XK0DEC) XL0=LOG(2*XK0DEC) XK=EXP(XL1*RR1+XL0) AM3SQ=(1-XK)*AMS2 AM3 =SQRT(AM3SQ) PHSPAC=PHSPAC*AMS2*XL1*XK PHSPAC=PHSPAC/PRHARD ELSE AM3=AMTAX PHSPAC=PHSPAC*2**6*PI**3 PHSPAC=PHSPAC/PRSOFT ENDIF C MASS OF NEUTRINA SYSTEM RR2=RRR(2) AMS1=(AMNUTA)**2 AMS2=(AM3-AMU)**2 CAM CAM * FLAT PHASE SPACE; AM2SQ=AMS1+ RR2*(AMS2-AMS1) AM2 =SQRT(AM2SQ) PHSPAC=PHSPAC*(AMS2-AMS1) * NEUTRINA REST FRAME, DEFINE XN AND XA ENQ1=(AM2SQ+AMNUTA**2)/(2*AM2) ENQ2=(AM2SQ-AMNUTA**2)/(2*AM2) PPI= ENQ1**2-AMNUTA**2 PPPI=SQRT(ABS(ENQ1**2-AMNUTA**2)) PHSPAC=PHSPAC*(4*PI)*(2*PPPI/AM2) * NU TAU IN NUNU REST FRAME CALL SPHERD(PPPI,XN) XN(4)=ENQ1 * NU LIGHT IN NUNU REST FRAME DO 30 I=1,3 30 XA(I)=-XN(I) XA(4)=ENQ2 * TAU' REST FRAME, DEFINE QP (muon * NUNU MOMENTUM PR(1)=0 PR(2)=0 PR(4)=1.D0/(2*AM3)*(AM3**2+AM2**2-AMU**2) PR(3)= SQRT(ABS(PR(4)**2-AM2**2)) PPI = PR(4)**2-AM2**2 * MUON MOMENTUM QP(1)=0 QP(2)=0 QP(4)=1.D0/(2*AM3)*(AM3**2-AM2**2+AMU**2) QP(3)=-PR(3) PHSPAC=PHSPAC*(4*PI)*(2*PR(3)/AM3) * NEUTRINA BOOSTED FROM THEIR FRAME TO TAU' REST FRAME EXE=(PR(4)+PR(3))/AM2 CALL BOSTD3(EXE,XN,XN) CALL BOSTD3(EXE,XA,XA) RR3=RRR(3) RR4=RRR(4) IF (IHARD) THEN EPS=4*(AMU/AMTAX)**2 XL1=LOG((2+EPS)/EPS) XL0=LOG(EPS) ETA =EXP(XL1*RR3+XL0) CTHET=1+EPS-ETA THET =ACOS(CTHET) PHSPAC=PHSPAC*XL1/2*ETA PHI = 2*PI*RR4 CALL ROTPOX(THET,PHI,XN) CALL ROTPOX(THET,PHI,XA) CALL ROTPOX(THET,PHI,QP) CALL ROTPOX(THET,PHI,PR) C * NOW TO THE TAU REST FRAME, DEFINE TAU' AND GAMMA MOMENTA * tau' MOMENTUM PAA(1)=0 PAA(2)=0 PAA(4)=1/(2*AMTAX)*(AMTAX**2+AM3**2) PAA(3)= SQRT(ABS(PAA(4)**2-AM3**2)) PPI = PAA(4)**2-AM3**2 PHSPAC=PHSPAC*(4*PI)*(2*PAA(3)/AMTAX) * GAMMA MOMENTUM PH(1)=0 PH(2)=0 PH(4)=PAA(3) PH(3)=-PAA(3) * ALL MOMENTA BOOSTED FROM TAU' REST FRAME TO TAU REST FRAME * Z-AXIS ANTIPARALLEL TO PHOTON MOMENTUM EXE=(PAA(4)+PAA(3))/AM3 CALL BOSTD3(EXE,XN,XN) CALL BOSTD3(EXE,XA,XA) CALL BOSTD3(EXE,QP,QP) CALL BOSTD3(EXE,PR,PR) ELSE THET =ACOS(-1.+2*RR3) PHI = 2*PI*RR4 CALL ROTPOX(THET,PHI,XN) CALL ROTPOX(THET,PHI,XA) CALL ROTPOX(THET,PHI,QP) CALL ROTPOX(THET,PHI,PR) C * NOW TO THE TAU REST FRAME, DEFINE TAU' AND GAMMA MOMENTA * tau' MOMENTUM PAA(1)=0 PAA(2)=0 PAA(4)=AMTAX PAA(3)=0 * GAMMA MOMENTUM PH(1)=0 PH(2)=0 PH(4)=0 PH(3)=0 ENDIF C PARTIAL WIDTH CONSISTS OF PHASE SPACE AND AMPLITUDE CALL DAMPRY(ITDKRC,XK0DEC,PH,XA,QP,XN,AMPLIT,HV) DGAMT=1/(2.*AMTAX)*AMPLIT*PHSPAC END