1 #include "isajet/pilot.h"
4 C Generate W* or Z* mass for H -> W W* or H -> Z Z* decay,
5 C including the W or Z width in the propagator.
6 C Ref: Marciano and Sirlin, Phys. Rev. D30, 248 (1984).
8 C HM = generated Higgs mass, i.e. QMW**2
12 #if defined(CERNLIB_IMPNONE)
16 #include "isajet/itapes.inc"
17 #include "isajet/hcon.inc"
18 #include "isajet/wcon.inc"
19 #include "isajet/primar.inc"
21 REAL HM,WM,WG,ZZSTAR,EPS,FBAR,R1,R2,RANF,X,F,DELTA,R,XM1
23 C WM and WG are the W or Z mass and width
28 C FBAR is maximum of F below
29 FBAR=12.*EPS**2*(1.-EPS)**2*(1.-EPS**2)
34 C Generate Breit-Wigner and test remainder F against FBAR
39 F=SQRT((X-2.*EPS)*(X+2.*EPS))
40 $ *(X**2-12.*EPS**2*X+8.*EPS**2+12.*EPS**4)
42 ZZSTAR=HM*SQRT((EPS-XM1)*(EPS+XM1))
43 IF(F.GT.FBAR*RANF()) RETURN
46 WRITE(ITLIS,9999) NTRIES
47 9999 FORMAT(' ERROR IN ZZSTAR ... NO MASS FOUND')