243
244
integer iddgluon, iddother, idgluon, idother
251
254
if (btest(mlevel,4)) then
252
write(*,*) ' updating ipart for: ',ida1,ida2,' -> ',imo
255
write(*,*) 'updating ipart for: ',ida1,ida2,' -> ',imo
255
258
if (btest(mlevel,4)) then
370
372
c quark -> gluon-quark or Z-quark or h-quark or W-quark
371
373
ipart(1,imo)=ipart(1,ida2)
375
else if(iabs(get_color(idmo)).eq.3.and.iabs(get_color(idda1)).eq.3.and.get_color(idda2).eq.1) then
376
c exotic q > q' Scalar
377
ipart(1,imo)=ipart(1,ida1)
379
else if(iabs(get_color(idmo)).eq.3.and.iabs(get_color(idda2)).eq.3.and.get_color(idda1).eq.1) then
380
c exotic q > Scalar q'
381
ipart(1,imo)=ipart(1,ida2)
383
else if (get_color(idmo).eq.1) then
375
385
ipart(1,imo)=ipart(1,ida1)
376
386
ipart(2,imo)=ipart(1,ida2)
388
write(*,*) idmo,'>', idda1, idda2, 'color', get_color(idmo),'>', get_color(idda1), get_color(idda2)
389
write(*,*) "failed for ipartupdate. Please retry without MLM/default dynamical scale"
379
393
if (btest(mlevel,4)) then
380
write(*,*) ' -> ',(ipart(i,imo),i=1,2),' (',ipdg(imo),')'
394
write(*,*) 'XY -> ',(ipart(i,imo),i=1,2),' (',ipdg(imo),')'
695
709
c increasecode gives whether we should increase jcode at next vertex
696
710
increasecode=.false.
697
711
do n=1,nexternal-2
712
c write(*,*) 'QCD jet status (before n= ',n,'):',(iqjets(i),i=3,nexternal)
698
713
do i=1,2 ! index of the child in the interaction
699
714
do j=1,2 ! j index of the beam
700
715
if(idacl(n,i).eq.ibeam(j))then
769
784
pdgm = ipdgcl(imocl(n),igraphs(1),iproc)
770
785
pdgid1 = ipdgcl(idacl(n,1),igraphs(1),iproc)
771
786
pdgid2 = ipdgcl(idacl(n,2),igraphs(1),iproc)
773
787
if (.not.isqcd(pdgm).and..not.isqcd(pdgid1).and..not.isqcd(pdgid2)) then
774
788
! this is to avoid to do weird stuff for w+ w- z (or h h h)
775
789
! this fix an issue for qq_zttxqq G1594.08
916
930
njetstore(iconfig)=njets
918
$ write(*,*) 'Storing jets: ',(iqjetstore(i,iconfig),i=1,njets)
932
$ write(*,*) 'Storing jets: ',(iqjetstore(i,iconfig),i=1,njets)
919
933
c Recluster without requiring chcluster