* * $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.31 by Alan Weinstein *-- Author : SUBROUTINE DEXPI(MODE,ISGN,POL,PPI,PNU) C ---------------------------------------------------------------------- C TAU DECAY INTO PION AND TAU-NEUTRINO C IN TAU REST FRAME C OUTPUT FOUR MOMENTA: PNU TAUNEUTRINO, C PPI PION CHARGED C ---------------------------------------------------------------------- REAL POL(4),HV(4),PNU(4),PPI(4) CC IF(MODE.EQ.-1) THEN C =================== CALL DADMPI(-1,ISGN,HV,PPI,PNU) CC CALL HBOOK1(815,'WEIGHT DISTRIBUTION DEXPI $',100,0,2) ELSEIF(MODE.EQ. 0) THEN C ======================= 300 CONTINUE CALL DADMPI( 0,ISGN,HV,PPI,PNU) WT=(1+POL(1)*HV(1)+POL(2)*HV(2)+POL(3)*HV(3))/2. CC CALL HFILL(815,WT) CALL RANMAR(RN,1) IF(RN.GT.WT) GOTO 300 C ELSEIF(MODE.EQ. 1) THEN C ======================= CALL DADMPI( 1,ISGN,HV,PPI,PNU) CC CALL HPRINT(815) ENDIF C ===== RETURN END