3 C*********************************************************************
5 SUBROUTINE PYINRE_HIJING
7 C...Calculates full and effective widths of guage bosons, stores masses
8 C...and widths, rescales coefficients to be used for resonance
9 C...production generation.
10 #include "ludat1_hijing.inc"
11 #include "ludat2_hijing.inc"
12 #include "ludat3_hijing.inc"
13 #include "pysubs_hijing.inc"
14 #include "pypars_hijing.inc"
15 #include "pyint1_hijing.inc"
16 #include "pyint2_hijing.inc"
17 #include "pyint4_hijing.inc"
18 #include "pyint6_hijing.inc"
19 DIMENSION WDTP(0:40),WDTE(0:40,0:5)
21 C...Calculate full and effective widths of gauge bosons.
31 WFAC=AEM/(24.*XW)*WMAS
32 CALL PYWIDT_HIJING(24,WMAS,WDTP,WDTE)
33 WIDS(24,1)=((WDTE(0,1)+WDTE(0,2))*(WDTE(0,1)+WDTE(0,3))+
34 &(WDTE(0,1)+WDTE(0,2)+WDTE(0,1)+WDTE(0,3))*(WDTE(0,4)+WDTE(0,5))+
35 &2.*WDTE(0,4)*WDTE(0,5))/WDTP(0)**2
36 WIDS(24,2)=(WDTE(0,1)+WDTE(0,2)+WDTE(0,4))/WDTP(0)
37 WIDS(24,3)=(WDTE(0,1)+WDTE(0,3)+WDTE(0,4))/WDTP(0)
39 WIDP(24,I)=WFAC*WDTP(I)
40 110 WIDE(24,I)=WFAC*WDTE(I,0)
44 HCFAC=AEM/(8.*XW)*(HCMAS/WMAS)**2*HCMAS
45 CALL PYWIDT_HIJING(37,HCMAS,WDTP,WDTE)
46 WIDS(37,1)=((WDTE(0,1)+WDTE(0,2))*(WDTE(0,1)+WDTE(0,3))+
47 &(WDTE(0,1)+WDTE(0,2)+WDTE(0,1)+WDTE(0,3))*(WDTE(0,4)+WDTE(0,5))+
48 &2.*WDTE(0,4)*WDTE(0,5))/WDTP(0)**2
49 WIDS(37,2)=(WDTE(0,1)+WDTE(0,2)+WDTE(0,4))/WDTP(0)
50 WIDS(37,3)=(WDTE(0,1)+WDTE(0,3)+WDTE(0,4))/WDTP(0)
52 WIDP(37,I)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IJING(40,RMAS,WDTP,WDTE)
99 WIDS(40,1)=((WDTE(0,1)+WDTE(0,2))*(WDTE(0,1)+WDTE(0,3))+
100 &(WDTE(0,1)+WDTE(0,2)+WDTE(0,1)+WDTE(0,3))*(WDTE(0,4)+WDTE(0,5))+
101 &2.*WDTE(0,4)*WDTE(0,5))/WDTP(0)**2
102 WIDS(40,2)=(WDTE(0,1)+WDTE(0,2)+WDTE(0,4))/WDTP(0)
103 WIDS(40,3)=(WDTE(0,1)+WDTE(0,3)+WDTE(0,4))/WDTP(0)
105 WIDP(40,I)=WFAC*WDTP(I)
106 160 WIDE(40,I)=WFAC*WDTE(I,0)
110 DO 170 I=1,MIN(8,MDCY(21,3))
112 IF(MDME(IDC,1).LE.0) GOTO 170
121 C...Set resonance widths and branching ratios in JETSET.
127 PMAS(KC,2)=WIDP(KC,0)
128 PMAS(KC,3)=MIN(0.9*PMAS(KC,1),10.*PMAS(KC,2))
129 DO 180 J=1,MDCY(KC,3)
131 BRAT(IDC)=WIDE(KC,J)/WIDE(KC,0)
134 C...Special cases in treatment of gamma*/Z0: redefine process name.
135 IF(MSTP(43).EQ.1) THEN
136 PROC(1)='f + fb -> gamma*'
137 ELSEIF(MSTP(43).EQ.2) THEN
138 PROC(1)='f + fb -> Z0'
139 ELSEIF(MSTP(43).EQ.3) THEN
140 PROC(1)='f + fb -> gamma*/Z0'
143 C...Special cases in treatment of gamma*/Z0/Z'0: redefine process name.
144 IF(MSTP(44).EQ.1) THEN
145 PROC(141)='f + fb -> gamma*'
146 ELSEIF(MSTP(44).EQ.2) THEN
147 PROC(141)='f + fb -> Z0'
148 ELSEIF(MSTP(44).EQ.3) THEN
149 PROC(141)='f + fb -> Z''0'
150 ELSEIF(MSTP(44).EQ.4) THEN
151 PROC(141)='f + fb -> gamma*/Z0'
152 ELSEIF(MSTP(44).EQ.5) THEN
153 PROC(141)='f + fb -> gamma*/Z''0'
154 ELSEIF(MSTP(44).EQ.6) THEN
155 PROC(141)='f + fb -> Z0/Z''0'
156 ELSEIF(MSTP(44).EQ.7) THEN
157 PROC(141)='f + fb -> gamma*/Z0/Z''0'