1 // SigmaHiggs.cc is a part of the PYTHIA event generator.
2 // Copyright (C) 2010 Torbjorn Sjostrand.
3 // Part of code written by Marc Montull, CERN summer student 2007.
4 // PYTHIA is licenced under the GNU GPL version 2, see COPYING for details.
5 // Please respect the MCnet Guidelines, see GUIDELINES for details.
6 // Function definitions (not found in the header) for the
7 // Higgs simulation classes.
9 #include "SigmaHiggs.h"
13 //==========================================================================
15 // Sigma1ffbar2H class.
16 // Cross section for f fbar -> H0 , H1, H2 or A3.
17 // (f is quark or lepton, H0 SM Higgs and H1, H2, A3 BSM Higgses ).
19 //--------------------------------------------------------------------------
21 // Initialize process.
23 void Sigma1ffbar2H::initProc() {
25 // Properties specific to Higgs state.
27 nameSave = "f fbar -> H (SM)";
31 else if (higgsType == 1) {
32 nameSave = "f fbar -> h0(H1)";
36 else if (higgsType == 2) {
37 nameSave = "f fbar -> H0(H2)";
41 else if (higgsType == 3) {
42 nameSave = "f fbar -> A0(A3)";
47 // Find pointer to H0, H1, H2 or A3 depending on the value of idRes.
48 HResPtr = particleDataPtr->particleDataEntryPtr(idRes);
50 // Store H0, H1, H2 or A3 mass and width for propagator.
52 GammaRes = HResPtr->mWidth();
54 GamMRat = GammaRes / mRes;
59 //--------------------------------------------------------------------------
61 // Evaluate d(sigmaHat)/d(tHat), part independent of incoming flavour.
63 void Sigma1ffbar2H::sigmaKin() {
65 // Set up Breit-Wigner.
66 double width = HResPtr->resWidth(idRes, mH);
67 sigBW = 4. * M_PI/ ( pow2(sH - m2Res) + pow2(mH * width) );
69 // Width out only includes open channels.
70 widthOut = width * HResPtr->resOpenFrac(idRes);
74 //--------------------------------------------------------------------------
76 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
78 double Sigma1ffbar2H::sigmaHat() {
80 // Calculate mass-dependent incoming width, including colour factor.
82 double widthIn = HResPtr->resWidthChan( mH, idAbs, -idAbs);
83 if (idAbs < 9) widthIn /= 9.;
86 return widthIn * sigBW * widthOut;
90 //--------------------------------------------------------------------------
92 // Select identity, colour and anticolour.
94 void Sigma1ffbar2H::setIdColAcol() {
97 setId( id1, id2, idRes);
99 // Colour flow topologies. Swap when antiquarks.
100 if (abs(id1) < 9) setColAcol( 1, 0, 0, 1, 0, 0);
101 else setColAcol( 0, 0, 0, 0, 0, 0);
102 if (id1 < 0) swapColAcol();
106 //--------------------------------------------------------------------------
108 // Evaluate weight for decay angles.
110 double Sigma1ffbar2H::weightDecay( Event& process, int iResBeg,
113 // Identity of mother of decaying reseonance(s).
114 int idMother = process[process[iResBeg].mother1()].idAbs();
116 // For Higgs decay hand over to standard routine.
117 if (idMother == 25 || idMother == 35 || idMother == 36)
118 return weightHiggsDecay( process, iResBeg, iResEnd);
120 // For top decay hand over to standard routine.
122 return weightTopDecay( process, iResBeg, iResEnd);
129 //==========================================================================
132 // Cross section for g g -> H0, H1, H2 or A3 (H0 SM Higgs, H1, H2, A3 BSM).
134 //--------------------------------------------------------------------------
136 // Initialize process.
138 void Sigma1gg2H::initProc() {
140 // Properties specific to Higgs state.
141 if (higgsType == 0) {
142 nameSave = "g g -> H (SM)";
146 else if (higgsType == 1) {
147 nameSave = "g g -> h0(H1)";
151 else if (higgsType == 2) {
152 nameSave = "g g -> H0(H2)";
156 else if (higgsType == 3) {
157 nameSave = "g g -> A0(A3)";
162 // Find pointer to H0, H1, H2 or A3 depending on idRes.
163 HResPtr = particleDataPtr->particleDataEntryPtr(idRes);
165 // Store H0, H1, H2 or A3 mass and width for propagator.
166 mRes = HResPtr->m0();
167 GammaRes = HResPtr->mWidth();
169 GamMRat = GammaRes / mRes;
173 //--------------------------------------------------------------------------
175 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
177 void Sigma1gg2H::sigmaKin() {
179 // Incoming width for gluons, gives colour factor of 1/8 * 1/8.
180 double widthIn = HResPtr->resWidthChan( mH, 21, 21) / 64.;
182 // Set up Breit-Wigner.
183 double width = HResPtr->resWidth(idRes, mH);
184 double sigBW = 8. * M_PI/ ( pow2(sH - m2Res) + pow2(mH * width) );
186 // Width out only includes open channels.
187 double widthOut = width * HResPtr->resOpenFrac(idRes);
190 sigma = widthIn * sigBW * widthOut;
194 //--------------------------------------------------------------------------
196 // Select identity, colour and anticolour.
198 void Sigma1gg2H::setIdColAcol() {
201 setId( 21, 21, idRes);
203 // Colour flow topology.
204 setColAcol( 1, 2, 2, 1, 0, 0);
208 //--------------------------------------------------------------------------
210 // Evaluate weight for decay angles.
212 double Sigma1gg2H::weightDecay( Event& process, int iResBeg,
215 // Identity of mother of decaying reseonance(s).
216 int idMother = process[process[iResBeg].mother1()].idAbs();
218 // For Higgs decay hand over to standard routine.
219 if (idMother == 25 || idMother == 35 || idMother == 36)
220 return weightHiggsDecay( process, iResBeg, iResEnd);
222 // For top decay hand over to standard routine.
224 return weightTopDecay( process, iResBeg, iResEnd);
231 //==========================================================================
233 // Sigma1gmgm2H class.
234 // Cross section for gamma gamma -> H0, H1, H2 or H3.
235 // (H0 SM Higgs, H1, H2 and A3 BSM Higgses).
237 //--------------------------------------------------------------------------
239 // Initialize process.
241 void Sigma1gmgm2H::initProc() {
243 // Properties specific to Higgs state.
244 if (higgsType == 0) {
245 nameSave = "gamma gamma -> H (SM)";
249 else if (higgsType == 1) {
250 nameSave = "gamma gamma -> h0(H1)";
254 else if (higgsType == 2) {
255 nameSave = "gamma gamma -> H0(H2)";
259 else if (higgsType == 3) {
260 nameSave = "gamma gamma -> A0(A3)";
265 // Find pointer to H0, H1, H2 or A3.
266 HResPtr = particleDataPtr->particleDataEntryPtr(idRes);
268 // Store H0, H1, H2 or A3 mass and width for propagator.
269 mRes = HResPtr->m0();
270 GammaRes = HResPtr->mWidth();
272 GamMRat = GammaRes / mRes;
276 //--------------------------------------------------------------------------
278 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
280 void Sigma1gmgm2H::sigmaKin() {
282 // Incoming width for photons.
283 double widthIn = HResPtr->resWidthChan( mH, 22, 22);
285 // Set up Breit-Wigner.
286 double width = HResPtr->resWidth(idRes, mH);
287 double sigBW = 8. * M_PI/ ( pow2(sH - m2Res) + pow2(mH * width) );
289 // Width out only includes open channels.
290 double widthOut = width * HResPtr->resOpenFrac(idRes);
293 sigma = widthIn * sigBW * widthOut;
297 //--------------------------------------------------------------------------
299 // Select identity, colour and anticolour.
301 void Sigma1gmgm2H::setIdColAcol() {
304 setId( 22, 22, idRes);
306 // Colour flow trivial.
307 setColAcol( 0, 0, 0, 0, 0, 0);
311 //--------------------------------------------------------------------------
313 // Evaluate weight for decay angles.
315 double Sigma1gmgm2H::weightDecay( Event& process, int iResBeg,
318 // Identity of mother of decaying reseonance(s).
319 int idMother = process[process[iResBeg].mother1()].idAbs();
321 // For Higgs decay hand over to standard routine.
322 if (idMother == 25 || idMother == 35 || idMother == 36)
323 return weightHiggsDecay( process, iResBeg, iResEnd);
325 // For top decay hand over to standard routine.
327 return weightTopDecay( process, iResBeg, iResEnd);
334 //==========================================================================
336 // Sigma2ffbar2HZ class.
337 // Cross section for f fbar -> H0 Z0, H1 Z0, H2 Z0 or A3 Z0.
338 // (H0 SM Higgs, H1, H2 and A3 BSM Higgses).
340 //--------------------------------------------------------------------------
342 // Initialize process.
344 void Sigma2ffbar2HZ::initProc() {
346 // Properties specific to Higgs state.
347 if (higgsType == 0) {
348 nameSave = "f fbar -> H0 Z0 (SM)";
353 else if (higgsType == 1) {
354 nameSave = "f fbar -> h0(H1) Z0";
357 coup2Z = settingsPtr->parm("HiggsH1:coup2Z");
359 else if (higgsType == 2) {
360 nameSave = "f fbar -> H0(H2) Z0";
363 coup2Z = settingsPtr->parm("HiggsH2:coup2Z");
365 else if (higgsType == 3) {
366 nameSave = "f fbar -> A0(A3) ZO";
369 coup2Z = settingsPtr->parm("HiggsA3:coup2Z");
372 // Store Z0 mass and width for propagator. Common coupling factor.
373 mZ = particleDataPtr->m0(23);
374 widZ = particleDataPtr->mWidth(23);
376 mwZS = pow2(mZ * widZ);
377 thetaWRat = 1. / (16. * coupSMPtr->sin2thetaW()
378 * coupSMPtr->cos2thetaW());
380 // Secondary open width fraction.
381 openFracPair = particleDataPtr->resOpenFrac(idRes, 23);
385 //--------------------------------------------------------------------------
387 // Evaluate d(sigmaHat)/d(tHat), part independent of incoming flavour.
389 void Sigma2ffbar2HZ::sigmaKin() {
391 // Evaluate differential cross section.
392 sigma0 = (M_PI / sH2) * 8. * pow2(alpEM * thetaWRat * coup2Z)
393 * (tH * uH - s3 * s4 + 2. * sH * s4) / (pow2(sH - mZS) + mwZS);
397 //--------------------------------------------------------------------------
399 // Evaluate d(sigmaHat)/d(tHat), including incoming flavour dependence.
401 double Sigma2ffbar2HZ::sigmaHat() {
403 // Coupling a_f^2 + v_f^2 to s-channel Z0 and colour factor.
404 int idAbs = abs(id1);
405 double sigma = sigma0 * coupSMPtr->vf2af2(idAbs);
406 if (idAbs < 9) sigma /= 3.;
408 // Secondary width for H0 and Z0 or H1 and Z0 or H2 and Z0 or A3 and Z0.
409 sigma *= openFracPair;
416 //--------------------------------------------------------------------------
418 // Select identity, colour and anticolour.
420 void Sigma2ffbar2HZ::setIdColAcol() {
423 setId( id1, id2, idRes, 23);
425 // Colour flow topologies. Swap when antiquarks.
426 if (abs(id1) < 9) setColAcol( 1, 0, 0, 1, 0, 0);
427 else setColAcol( 0, 0, 0, 0, 0, 0);
428 if (id1 < 0) swapColAcol();
432 //--------------------------------------------------------------------------
434 // Evaluate weight for decay angles.
436 double Sigma2ffbar2HZ::weightDecay( Event& process, int iResBeg,
439 // Identity of mother of decaying reseonance(s).
440 int idMother = process[process[iResBeg].mother1()].idAbs();
442 // For Higgs decay hand over to standard routine.
443 if (idMother == 25 || idMother == 35 || idMother == 36)
444 return weightHiggsDecay( process, iResBeg, iResEnd);
446 // For top decay hand over to standard routine.
448 return weightTopDecay( process, iResBeg, iResEnd);
450 // If not decay of Z0 created along with Higgs then done.
451 if (iResBeg != 5 || iResEnd != 6) return 1.;
453 // Order so that fbar(1) f(2) -> H() f'(3) fbar'(4).
454 int i1 = (process[3].id() < 0) ? 3 : 4;
456 int i3 = process[6].daughter1();
457 int i4 = process[6].daughter2();
458 if (process[i3].id() < 0) swap( i3, i4);
460 // Find left- and righthanded couplings of fermion pairs.
461 int idAbs = process[i1].idAbs();
462 double liS = pow2( coupSMPtr->lf(idAbs) );
463 double riS = pow2( coupSMPtr->rf(idAbs) );
464 idAbs = process[i3].idAbs();
465 double lfS = pow2( coupSMPtr->lf(idAbs) );
466 double rfS = pow2( coupSMPtr->rf(idAbs) );
468 // Evaluate relevant four-products.
469 double pp13 = process[i1].p() * process[i3].p();
470 double pp14 = process[i1].p() * process[i4].p();
471 double pp23 = process[i2].p() * process[i3].p();
472 double pp24 = process[i2].p() * process[i4].p();
474 // Weight and maximum.
475 double wt = (liS * lfS + riS * rfS) * pp13 * pp24
476 + (liS * rfS + riS * lfS) * pp14 * pp23;
477 double wtMax = (liS + riS) * (lfS + rfS) * (pp13 + pp14) * (pp23 + pp24);
484 //==========================================================================
486 // Sigma2ffbar2HW class.
487 // Cross section for f fbar -> H0 W+-, H1 W+-, H2 W+- or A3 W+-.
488 // (H0 SM Higgs, H1, H2 and A3 BSM Higgses).
490 //--------------------------------------------------------------------------
492 // Initialize process.
494 void Sigma2ffbar2HW::initProc() {
496 // Properties specific to Higgs state.
497 if (higgsType == 0) {
498 nameSave = "f fbar -> H0 W+- (SM)";
503 else if (higgsType == 1) {
504 nameSave = "f fbar -> h0(H1) W+-";
507 coup2W = settingsPtr->parm("HiggsH1:coup2W");
509 else if (higgsType == 2) {
510 nameSave = "f fbar -> H0(H2) W+-";
513 coup2W = settingsPtr->parm("HiggsH2:coup2W");
515 else if (higgsType == 3) {
516 nameSave = "f fbar -> A0(A3) W+-";
519 coup2W = settingsPtr->parm("HiggsA3:coup2W");
522 // Store W+- mass and width for propagator. Common coupling factor.
523 mW = particleDataPtr->m0(24);
524 widW = particleDataPtr->mWidth(24);
526 mwWS = pow2(mW * widW);
527 thetaWRat = 1. / (4. * coupSMPtr->sin2thetaW());
529 // Secondary open width fractions.
530 openFracPairPos = particleDataPtr->resOpenFrac(idRes, 24);
531 openFracPairNeg = particleDataPtr->resOpenFrac(idRes, -24);
535 //--------------------------------------------------------------------------
537 // Evaluate d(sigmaHat)/d(tHat), part independent of incoming flavour.
539 void Sigma2ffbar2HW::sigmaKin() {
541 // Evaluate differential cross section.
542 sigma0 = (M_PI / sH2) * 2. * pow2(alpEM * thetaWRat * coup2W)
543 * (tH * uH - s3 * s4 + 2. * sH * s4) / (pow2(sH - mWS) + mwWS);
547 //--------------------------------------------------------------------------
549 // Evaluate d(sigmaHat)/d(tHat), including incoming flavour dependence.
551 double Sigma2ffbar2HW::sigmaHat() {
553 // CKM and colour factors.
554 double sigma = sigma0;
555 if (abs(id1) < 9) sigma *= coupSMPtr->V2CKMid(abs(id1), abs(id2)) / 3.;
557 // Secondary width for H0 and W+-.
558 int idUp = (abs(id1)%2 == 0) ? id1 : id2;
559 sigma *= (idUp > 0) ? openFracPairPos : openFracPairNeg;
566 //--------------------------------------------------------------------------
568 // Select identity, colour and anticolour.
570 void Sigma2ffbar2HW::setIdColAcol() {
572 // Sign of outgoing W.
573 int sign = 1 - 2 * (abs(id1)%2);
574 if (id1 < 0) sign = -sign;
575 setId( id1, id2, idRes, 24 * sign);
577 // Colour flow topologies. Swap when antiquarks.
578 if (abs(id1) < 9) setColAcol( 1, 0, 0, 1, 0, 0);
579 else setColAcol( 0, 0, 0, 0, 0, 0);
580 if (id1 < 0) swapColAcol();
584 //--------------------------------------------------------------------------
586 // Evaluate weight for decay angles.
588 double Sigma2ffbar2HW::weightDecay( Event& process, int iResBeg,
591 // Identity of mother of decaying reseonance(s).
592 int idMother = process[process[iResBeg].mother1()].idAbs();
594 // For Higgs decay hand over to standard routine.
595 if (idMother == 25 || idMother == 35 || idMother == 36)
596 return weightHiggsDecay( process, iResBeg, iResEnd);
598 // For top decay hand over to standard routine.
600 return weightTopDecay( process, iResBeg, iResEnd);
602 // If not decay of W+- created along with Higgs then done.
603 if (iResBeg != 5 || iResEnd != 6) return 1.;
605 // Order so that fbar(1) f(2) -> H() f'(3) fbar'(4).
606 int i1 = (process[3].id() < 0) ? 3 : 4;
608 int i3 = process[6].daughter1();
609 int i4 = process[6].daughter2();
610 if (process[i3].id() < 0) swap( i3, i4);
612 // Evaluate relevant four-products.
613 double pp13 = process[i1].p() * process[i3].p();
614 double pp14 = process[i1].p() * process[i4].p();
615 double pp23 = process[i2].p() * process[i3].p();
616 double pp24 = process[i2].p() * process[i4].p();
618 // Weight and maximum.
619 double wt = pp13 * pp24;
620 double wtMax = (pp13 + pp14) * (pp23 + pp24);
627 //==========================================================================
629 // Sigma3ff2HfftZZ class.
630 // Cross section for f f' -> H f f' (Z0 Z0 fusion of SM or BSM Higgs).
631 // (H can be H0 SM or H1, H2, A3 from BSM).
633 //--------------------------------------------------------------------------
635 // Initialize process.
637 void Sigma3ff2HfftZZ::initProc() {
639 // Properties specific to Higgs state.
640 if (higgsType == 0) {
641 nameSave = "f f' -> H0 f f'(Z0 Z0 fusion) (SM)";
646 else if (higgsType == 1) {
647 nameSave = "f f' -> h0(H1) f f' (Z0 Z0 fusion)";
650 coup2Z = settingsPtr->parm("HiggsH1:coup2Z");
652 else if (higgsType == 2) {
653 nameSave = "f f' -> H0(H2) f f' (Z0 Z0 fusion)";
656 coup2Z = settingsPtr->parm("HiggsH2:coup2Z");
658 else if (higgsType == 3) {
659 nameSave = "f f' -> A0(A3) f f' (Z0 Z0 fusion)";
662 coup2Z = settingsPtr->parm("HiggsA3:coup2Z");
665 // Common fixed mass and coupling factor.
666 mZS = pow2( particleDataPtr->m0(23) );
667 prefac = 0.25 * mZS * pow3( 4. * M_PI / (coupSMPtr->sin2thetaW()
668 * coupSMPtr->cos2thetaW()) );
670 // Secondary open width fraction.
671 openFrac = particleDataPtr->resOpenFrac(idRes);
675 //--------------------------------------------------------------------------
677 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
679 void Sigma3ff2HfftZZ::sigmaKin() {
681 // Required four-vector products.
682 double pp12 = 0.5 * sH;
683 double pp14 = 0.5 * mH * p4cm.pNeg();
684 double pp15 = 0.5 * mH * p5cm.pNeg();
685 double pp24 = 0.5 * mH * p4cm.pPos();
686 double pp25 = 0.5 * mH * p5cm.pPos();
687 double pp45 = p4cm * p5cm;
689 // Propagator factors and two possible numerators.
690 double prop = pow2( (2. * pp14 + mZS) * (2. * pp25 + mZS) );
691 sigma1 = prefac * pp12 * pp45 / prop;
692 sigma2 = prefac * pp15 * pp24 / prop;
696 //--------------------------------------------------------------------------
698 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
700 double Sigma3ff2HfftZZ::sigmaHat() {
702 // Flavour-dependent coupling factors for two incoming flavours.
703 int id1Abs = abs(id1);
704 int id2Abs = abs(id2);
705 double lf1S = pow2( coupSMPtr->lf(id1Abs) );
706 double rf1S = pow2( coupSMPtr->rf(id1Abs) );
707 double lf2S = pow2( coupSMPtr->lf(id2Abs) );
708 double rf2S = pow2( coupSMPtr->rf(id2Abs) );
709 double c1 = lf1S * lf2S + rf1S * rf2S;
710 double c2 = lf1S * rf2S + rf1S * lf2S;
712 // Combine couplings and kinematics factors.
713 double sigma = pow3(alpEM) * (c1 * sigma1 + c2 * sigma2) * pow2(coup2Z);
715 // Secondary width for H0, H1, H2 or A3.
723 //--------------------------------------------------------------------------
725 // Select identity, colour and anticolour.
727 void Sigma3ff2HfftZZ::setIdColAcol() {
729 // Trivial flavours: out = in.
730 setId( id1, id2, idRes, id1, id2);
732 // Colour flow topologies. Swap when antiquarks.
733 if (abs(id1) < 9 && abs(id2) < 9 && id1*id2 > 0)
734 setColAcol( 1, 0, 2, 0, 0, 0, 1, 0, 2, 0);
735 else if (abs(id1) < 9 && abs(id2) < 9)
736 setColAcol( 1, 0, 0, 2, 0, 0, 1, 0, 0, 2);
737 else if (abs(id1) < 9) setColAcol( 1, 0, 0, 0, 0, 0, 1, 0, 0, 0);
738 else if (abs(id2) < 9) setColAcol( 0, 0, 1, 0, 0, 0, 0, 0, 1, 0);
739 else setColAcol( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
740 if ( (abs(id1) < 9 && id1 < 0) || (abs(id1) > 10 && id2 < 0) )
745 //--------------------------------------------------------------------------
747 // Evaluate weight for decay angles.
749 double Sigma3ff2HfftZZ::weightDecay( Event& process, int iResBeg,
752 // Identity of mother of decaying reseonance(s).
753 int idMother = process[process[iResBeg].mother1()].idAbs();
755 // For Higgs decay hand over to standard routine.
756 if (idMother == 25 || idMother == 35 || idMother == 36)
757 return weightHiggsDecay( process, iResBeg, iResEnd);
759 // For top decay hand over to standard routine.
761 return weightTopDecay( process, iResBeg, iResEnd);
768 //==========================================================================
770 // Sigma3ff2HfftWW class.
771 // Cross section for f_1 f_2 -> H0 f_3 f_4 (W+ W- fusion of SM or BSM Higgs).
773 //--------------------------------------------------------------------------
775 // Initialize process.
777 void Sigma3ff2HfftWW::initProc() {
779 // Properties specific to Higgs state.
780 if (higgsType == 0) {
781 nameSave = "f_1 f_2 -> H0 f_3 f_4 (W+ W- fusion) (SM)";
786 else if (higgsType == 1) {
787 nameSave = "f_1 f_2 -> h0(H1) f_3 f_4 (W+ W- fusion)";
790 coup2W = settingsPtr->parm("HiggsH1:coup2W");
792 else if (higgsType == 2) {
793 nameSave = "f_1 f_2 -> H0(H2) f_3 f_4 (W+ W- fusion)";
796 coup2W = settingsPtr->parm("HiggsH2:coup2W");
798 else if (higgsType == 3) {
799 nameSave = "f_1 f_2 -> A0(A3) f_3 f_4 (W+ W- fusion)";
802 coup2W = settingsPtr->parm("HiggsA3:coup2W");
805 // Common fixed mass and coupling factor.
806 mWS = pow2( particleDataPtr->m0(24) );
807 prefac = mWS * pow3( 4. * M_PI / coupSMPtr->sin2thetaW() );
809 // Secondary open width fraction.
810 openFrac = particleDataPtr->resOpenFrac(idRes);
814 //--------------------------------------------------------------------------
816 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
818 void Sigma3ff2HfftWW::sigmaKin() {
820 // Required four-vector products.
821 double pp12 = 0.5 * sH;
822 double pp14 = 0.5 * mH * p4cm.pNeg();
823 double pp25 = 0.5 * mH * p5cm.pPos();
824 double pp45 = p4cm * p5cm;
826 // Cross section: kinematics part. Combine with couplings.
827 double prop = pow2( (2. * pp14 + mWS) * (2. * pp25 + mWS) );
828 sigma0 = prefac * pp12 * pp45 * pow2(coup2W) / prop;
832 //--------------------------------------------------------------------------
834 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
836 double Sigma3ff2HfftWW::sigmaHat() {
838 // Some flavour combinations not possible.
839 int id1Abs = abs(id1);
840 int id2Abs = abs(id2);
841 if ( (id1Abs%2 == id2Abs%2 && id1 * id2 > 0)
842 || (id1Abs%2 != id2Abs%2 && id1 * id2 < 0) ) return 0.;
844 // Basic cross section. CKM factors for final states.
845 double sigma = sigma0 * pow3(alpEM) * coupSMPtr->V2CKMsum(id1Abs)
846 * coupSMPtr->V2CKMsum(id2Abs);
848 // Secondary width for H0, H1, H2 or A3.
851 // Spin-state extra factor 2 per incoming neutrino.
852 if (id1Abs == 12 || id1Abs == 14 || id1Abs == 16) sigma *= 2.;
853 if (id2Abs == 12 || id2Abs == 14 || id2Abs == 16) sigma *= 2.;
860 //--------------------------------------------------------------------------
862 // Select identity, colour and anticolour.
864 void Sigma3ff2HfftWW::setIdColAcol() {
866 // Pick out-flavours by relative CKM weights.
867 id4 = coupSMPtr->V2CKMpick(id1);
868 id5 = coupSMPtr->V2CKMpick(id2);
869 setId( id1, id2, idRes, id4, id5);
871 // Colour flow topologies. Swap when antiquarks.
872 if (abs(id1) < 9 && abs(id2) < 9 && id1*id2 > 0)
873 setColAcol( 1, 0, 2, 0, 0, 0, 1, 0, 2, 0);
874 else if (abs(id1) < 9 && abs(id2) < 9)
875 setColAcol( 1, 0, 0, 2, 0, 0, 1, 0, 0, 2);
876 else if (abs(id1) < 9) setColAcol( 1, 0, 0, 0, 0, 0, 1, 0, 0, 0);
877 else if (abs(id2) < 9) setColAcol( 0, 0, 1, 0, 0, 0, 0, 0, 1, 0);
878 else setColAcol( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
879 if ( (abs(id1) < 9 && id1 < 0) || (abs(id1) > 10 && id2 < 0) )
884 //--------------------------------------------------------------------------
886 // Evaluate weight for decay angles.
888 double Sigma3ff2HfftWW::weightDecay( Event& process, int iResBeg,
891 // Identity of mother of decaying reseonance(s).
892 int idMother = process[process[iResBeg].mother1()].idAbs();
894 // For Higgs decay hand over to standard routine.
895 if (idMother == 25 || idMother == 35 || idMother == 36)
896 return weightHiggsDecay( process, iResBeg, iResEnd);
898 // For top decay hand over to standard routine.
900 return weightTopDecay( process, iResBeg, iResEnd);
907 //==========================================================================
909 // Sigma3gg2HQQbar class.
910 // Cross section for g g -> H0 Q Qbar (Q Qbar fusion of SM or BSM Higgs).
912 //--------------------------------------------------------------------------
914 // Initialize process.
916 void Sigma3gg2HQQbar::initProc() {
918 // Properties specific to Higgs state for the "g g -> H ttbar" process.
919 // (H can be H0 SM or H1, H2, A3 from BSM).
920 if (higgsType == 0 && idNew == 6) {
921 nameSave = "g g -> H t tbar (SM)";
926 else if (higgsType == 1 && idNew == 6) {
927 nameSave = "g g -> h0(H1) t tbar";
930 coup2Q = settingsPtr->parm("HiggsH1:coup2u");
932 else if (higgsType == 2 && idNew == 6) {
933 nameSave = "g g -> H0(H2) t tbar";
936 coup2Q = settingsPtr->parm("HiggsH2:coup2u");
938 else if (higgsType == 3 && idNew == 6) {
939 nameSave = "g g -> A0(A3) t tbar";
942 coup2Q = settingsPtr->parm("HiggsA3:coup2u");
945 // Properties specific to Higgs state for the "g g -> H b bbar" process.
946 // (H can be H0 SM or H1, H2, A3 from BSM).
947 if (higgsType == 0 && idNew == 5) {
948 nameSave = "g g -> H b bbar (SM)";
953 else if (higgsType == 1 && idNew == 5) {
954 nameSave = "g g -> h0(H1) b bbar";
957 coup2Q = settingsPtr->parm("HiggsH1:coup2d");
959 else if (higgsType == 2 && idNew == 5) {
960 nameSave = "g g -> H0(H2) b bbar";
963 coup2Q = settingsPtr->parm("HiggsH2:coup2d");
965 else if (higgsType == 3 && idNew == 5) {
966 nameSave = "g g -> A0(A3) b bbar";
969 coup2Q = settingsPtr->parm("HiggsA3:coup2d");
972 // Common mass and coupling factors.
973 double mWS = pow2(particleDataPtr->m0(24));
974 prefac = (4. * M_PI / coupSMPtr->sin2thetaW()) * pow2(4. * M_PI)
977 // Secondary open width fraction.
978 openFracTriplet = particleDataPtr->resOpenFrac(idRes, idNew, -idNew);
982 //--------------------------------------------------------------------------
984 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
986 void Sigma3gg2HQQbar::sigmaKin() {
988 // Running mass of heavy quark.
989 double mQ2run = pow2( particleDataPtr->mRun(idNew, mH) );
991 // Linear combination of p_Q and p_Qbar to ensure common mass.
992 double mQ2 = m4 * m5;
995 double s45 = (p4cm + p5cm).m2Calc();
996 mQ2 = 0.5 * (s4 + s5) - 0.25 * pow2(s4 - s5) / s45;
997 epsi = 0.5 * (s5 - s4) / s45;
1000 // Set up kinematics: g(4) g(5) -> H(3) Q(1) Qbar(2) in outgoing sense.
1002 pTemp[4] = Vec4( 0., 0., -0.5* mH, -0.5* mH);
1003 pTemp[5] = Vec4( 0., 0., 0.5* mH, -0.5* mH);
1004 pTemp[1] = p4cm + epsi * (p4cm + p5cm);
1005 pTemp[2] = p5cm - epsi * (p4cm + p5cm);
1008 // Four-product combinations.
1009 double z1 = pTemp[1] * pTemp[2];
1010 double z2 = pTemp[1] * pTemp[3];
1011 double z3 = pTemp[1] * pTemp[4];
1012 double z4 = pTemp[1] * pTemp[5];
1013 double z5 = pTemp[2] * pTemp[3];
1014 double z6 = pTemp[2] * pTemp[4];
1015 double z7 = pTemp[2] * pTemp[5];
1016 double z8 = pTemp[3] * pTemp[4];
1017 double z9 = pTemp[3] * pTemp[5];
1018 double z10 = pTemp[4] * pTemp[5];
1020 // Powers required as shorthand in matriz elements.
1021 double mQ4 = mQ2 * mQ2;
1022 double mQ6 = mQ2 * mQ4;
1023 double z1S = z1 * z1;
1024 double z2S = z2 * z2;
1025 double z3S = z3 * z3;
1026 double z4S = z4 * z4;
1027 double z5S = z5 * z5;
1028 double z6S = z6 * z6;
1029 double z7S = z7 * z7;
1030 double z8S = z8 * z8;
1031 double z9S = z9 * z9;
1032 double z10S = z10 * z10;
1034 // Evaluate matriz elements for g + g -> Q + Qbar + H.
1035 // (H can be H0 SM or H1, H2, A3 from BSM).
1037 fm[1][1] = 64*mQ6+16*mQ4*s3+32*mQ4*(z1+2*z2+z4+z9+2*
1038 z7+z5)+8*mQ2*s3*(-z1-z4+2*z7)+16*mQ2*(z2*z9+4*z2*
1039 z7+z2*z5-2*z4*z7-2*z9*z7)+8*s3*z4*z7-16*z2*z9*z7;
1040 fm[1][2] = 16*mQ6+8*mQ4*(-2*z1+z2-2*z3-2*z4-4*z10+z9-z8+2
1041 *z7-4*z6+z5)+8*mQ2*(-2*z1*z2-2*z2*z4-2*z2*z10+z2*z7-2*
1042 z2*z6-2*z3*z7+2*z4*z7+4*z10*z7-z9*z7-z8*z7)+16*z2*z7*(z4+
1044 fm[1][3] = 16*mQ6-4*mQ4*s3+8*mQ4*(-2*z1+2*z2-2*z3-4*
1045 z4-8*z10+z9+z8-2*z7-4*z6+2*z5)-(4*mQ2*s3)*(z1+z4+z10
1046 +z6)+8*mQ2*(-2*z1*z2-2*z1*z10+z1*z9+z1*z8-2*z1*z5+z2S
1047 -4*z2*z4-5*z2*z10+z2*z8-z2*z7-3*z2*z6+z2*z5+z3*z9+2*z3*z7
1048 -z3*z5+z4*z8+2*z4*z6-3*z4*z5-5*z10*z5+z9*z8+z9*z6+z9*z5+
1049 z8*z7-4*z6*z5+z5S)-(16*z2*z5)*(z1+z4+z10+z6);
1050 fm[1][4] = 16*mQ6+4*mQ4*s3+16*mQ4*(-z1+z2-z3-z4+z10-
1051 z9-z8+2*z7+2*z6-z5)+4*mQ2*s3*(z1+z3+z4+z10+2*z7+2*z6
1052 )+8*mQ2*(4*z1*z10+4*z1*z7+4*z1*z6+2*z2*z10-z2*z9-z2*z8+
1053 4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z10+2*z3*z9+2*z3*z7+2*z4*z6-2*z10*z5+z9*z8+2*z8*z7)+s3
1266 *(z1*z10-z3*z7-z4*z6)+2*(-z1*z9*z8-z2*z10*z5+z2*z8*z7+z3*
1268 double fmxx = -4*mQ4*z10-mQ2*s3*z10+2*mQ2*(-2*z1*z10-2*z2*
1269 z10+2*z4*z8+2*z4*z6+2*z3*z7-2*z10*z5+z9*z8+2*z9*z6)+s3
1270 *(z1*z10-z3*z7-z4*z6)+2*(-z1*z9*z8-z2*z10*z5+z2*z9*z6+z4*
1272 fm910 = 0.5*(fmxx+fm910);
1273 double fm1010 = -4*mQ4*z10-mQ2*s3*z10+4*mQ2*(-z1*z10-z2*z10+
1274 z3*z7+z4*z6-z10*z5+z9*z3+z8*z4)+s3*(z1*z10-z3*z7-z4*z6
1275 )+2*z5*(-z10*z2+z9*z3+z8*z4);
1276 fm[7][7] -= 2. * fm99;
1277 fm[7][8] -= 2. * fm910;
1278 fm[8][8] -= 2. * fm1010;
1281 double ss1 = (pTemp[1] + pTemp[3]).m2Calc() - mQ2;
1282 double ss2 = (pTemp[1] + pTemp[4]).m2Calc() - mQ2;
1283 double ss3 = (pTemp[1] + pTemp[5]).m2Calc() - mQ2;
1284 double ss4 = (pTemp[2] + pTemp[3]).m2Calc() - mQ2;
1285 double ss5 = (pTemp[2] + pTemp[4]).m2Calc() - mQ2;
1286 double ss6 = (pTemp[2] + pTemp[5]).m2Calc() - mQ2;
1289 // Propagator combinations.
1302 for (int i = 1; i < 4; ++i)
1303 for (int j = 1; j < 4; ++j) {
1304 clr[i][j] = 16. / 3.;
1305 clr[i][j+3] = -2. / 3.;
1306 clr[i+3][j] = -2. / 3.;
1307 clr[i+3][j+3] = 16. / 3.;
1309 for (int i = 1; i < 4; ++i)
1310 for (int j = 1; j < 3; ++j) {
1316 for (int i = 1; i < 3; ++i)
1317 for (int j = 1; j < 3; ++j)
1318 clr[i+6][j+6] = 12.;
1320 // Produce final result: matrix elements * colours * propagators.
1322 for (int i = 1; i < 9; ++i)
1323 for (int j = i; j < 9; ++j) {
1324 double fac = (j == i) ? 4. : 8.;
1325 wtSum += fm[i][j] * fac * clr[i][j] / (dz[i] * dz[j]);
1330 sigma = prefac * alpEM * pow2(alpS) * mQ2run * wtSum *pow2(coup2Q);
1332 // Secondary width for H, Q and Qbar (latter for top only).
1333 // (H can be H0 SM or H1, H2, A3 from BSM).
1334 sigma *= openFracTriplet;
1338 //--------------------------------------------------------------------------
1340 // Select identity, colour and anticolour.
1342 void Sigma3gg2HQQbar::setIdColAcol() {
1344 // Pick out-flavours by relative CKM weights.
1345 setId( id1, id2, idRes, idNew, -idNew);
1347 // Colour flow topologies.
1348 if (rndmPtr->flat() < 0.5) setColAcol( 1, 2, 2, 3, 0, 0, 1, 0, 0, 3);
1349 else setColAcol( 1, 2, 3, 1, 0, 0, 3, 0, 0, 2);
1353 //--------------------------------------------------------------------------
1355 // Evaluate weight for decay angles.
1357 double Sigma3gg2HQQbar::weightDecay( Event& process, int iResBeg,
1360 // Identity of mother of decaying reseonance(s).
1361 int idMother = process[process[iResBeg].mother1()].idAbs();
1363 // For Higgs decay hand over to standard routine.
1364 if (idMother == 25 || idMother == 35 || idMother == 36)
1365 return weightHiggsDecay( process, iResBeg, iResEnd);
1367 // For top decay hand over to standard routine.
1369 return weightTopDecay( process, iResBeg, iResEnd);
1376 //==========================================================================
1378 // Sigma3qqbar2HQQbar class.
1379 // Cross section for q qbar -> H0 Q Qbar (Q Qbar fusion of SM Higgs).
1380 // REDUCE output and part of the rest courtesy Z. Kunszt,
1381 // see Z. Kunszt, Nucl. Phys. B247 (1984) 339.
1383 //--------------------------------------------------------------------------
1385 // Initialize process.
1387 void Sigma3qqbar2HQQbar::initProc() {
1389 // Properties specific to Higgs state for the "q qbar -> H ttbar" process.
1390 // (H can be H0 SM or H1, H2, A3 from BSM).
1392 if (higgsType == 0 && idNew == 6) {
1393 nameSave = "q qbar -> H t tbar (SM)";
1398 else if (higgsType == 1 && idNew == 6) {
1399 nameSave = "q qbar -> h0(H1) t tbar";
1402 coup2Q = settingsPtr->parm("HiggsH1:coup2u");
1404 else if (higgsType == 2 && idNew == 6) {
1405 nameSave = "q qbar -> H0(H2) t tbar";
1408 coup2Q = settingsPtr->parm("HiggsH2:coup2u");
1410 else if (higgsType == 3 && idNew == 6) {
1411 nameSave = "q qbar -> A0(A3) t tbar";
1414 coup2Q = settingsPtr->parm("HiggsA3:coup2u");
1417 // Properties specific to Higgs state for the "q qbar -> H b bbar" process.
1418 // (H can be H0 SM or H1, H2, A3 from BSM).
1419 if (higgsType == 0 && idNew == 5) {
1420 nameSave = "q qbar -> H b bbar (SM)";
1425 else if (higgsType == 1 && idNew == 5) {
1426 nameSave = "q qbar -> h0(H1) b bbar";
1429 coup2Q = settingsPtr->parm("HiggsH1:coup2d");
1431 else if (higgsType == 2 && idNew == 5) {
1432 nameSave = "q qbar -> H0(H2) b bbar";
1435 coup2Q = settingsPtr->parm("HiggsH2:coup2d");
1437 else if (higgsType == 3 && idNew == 5) {
1438 nameSave = "q qbar -> A0(A3) b bbar";
1441 coup2Q = settingsPtr->parm("HiggsA3:coup2d");
1444 // Common mass and coupling factors.
1445 double mWS = pow2(particleDataPtr->m0(24));
1446 prefac = (4. * M_PI / coupSMPtr->sin2thetaW()) * pow2(4. * M_PI)
1449 // Secondary open width fraction.
1450 openFracTriplet = particleDataPtr->resOpenFrac(idRes, idNew, -idNew);
1454 //--------------------------------------------------------------------------
1456 // Evaluate sigma(sHat), part independent of incoming flavour.
1458 void Sigma3qqbar2HQQbar::sigmaKin() {
1460 // Running mass of heavy quark.
1461 double mQ2run = pow2( particleDataPtr->mRun(idNew, mH) );
1463 // Linear combination of p_Q and p_Qbar to ensure common mass.
1464 double mQ2 = m4 * m5;
1467 double s45 = (p4cm + p5cm).m2Calc();
1468 mQ2 = 0.5 * (s4 + s5) - 0.25 * pow2(s4 - s5) / s45;
1469 epsi = 0.5 * (s5 - s4) / s45;
1472 // Set up kinematics: q(4) qbar(5) -> H(3) Q(1) Qbar(2) in outgoing sense.
1474 pTemp[4] = Vec4( 0., 0., -0.5* mH, -0.5* mH);
1475 pTemp[5] = Vec4( 0., 0., 0.5* mH, -0.5* mH);
1476 pTemp[1] = p4cm + epsi * (p4cm + p5cm);
1477 pTemp[2] = p5cm - epsi * (p4cm + p5cm);
1480 // Four-product combinations.
1481 double z1 = pTemp[1] * pTemp[2];
1482 double z2 = pTemp[1] * pTemp[3];
1483 double z3 = pTemp[1] * pTemp[4];
1484 double z4 = pTemp[1] * pTemp[5];
1485 double z5 = pTemp[2] * pTemp[3];
1486 double z6 = pTemp[2] * pTemp[4];
1487 double z7 = pTemp[2] * pTemp[5];
1488 double z8 = pTemp[3] * pTemp[4];
1489 double z9 = pTemp[3] * pTemp[5];
1490 double z10 = pTemp[4] * pTemp[5];
1492 // Powers required as shorthand in matriz elements.
1493 double mQ4 = mQ2 * mQ2;
1495 // Evaluate matrix elements for q + qbar -> Q + Qbar + H.
1496 // (H can be H0 SM or H1, H2, A3 from BSM).
1497 double a11 = -8.*mQ4*z10-2.*mQ2*s3*z10-(8.*mQ2)*(z2*z10+z3
1498 *z7+z4*z6+z9*z6+z8*z7)+2.*s3*(z3*z7+z4*z6)-(4.*z2)*(z9
1500 double a12 = -8.*mQ4*z10+4.*mQ2*(-z2*z10-z3*z9-2.*z3*z7-z4*z8-
1501 2.*z4*z6-z10*z5-z9*z8-z9*z6-z8*z7)+2.*s3*(-z1*z10+z3*z7
1502 +z4*z6)+2.*(2.*z1*z9*z8-z2*z9*z6-z2*z8*z7-z3*z9*z5-z4*z8*
1504 double a22 = -8.*mQ4*z10-2.*mQ2*s3*z10-(8.*mQ2)*(z3*z9+z3*
1505 z7+z4*z8+z4*z6+z10*z5)+2.*s3*(z3*z7+z4*z6)-(4.*z5)*(z3
1508 // Propagators and propagator combinations.
1509 double ss1 = (pTemp[1] + pTemp[3]).m2Calc() - mQ2;
1510 double ss4 = (pTemp[2] + pTemp[3]).m2Calc() - mQ2;
1512 double dz7 = ss7 * ss1;
1513 double dz8 = ss7 * ss4;
1515 // Produce final result: matrix elements * propagators.
1519 double wtSum = -(a11 + a22 + 2.*a12) * (8./9.);
1522 sigma = prefac * alpEM * pow2(alpS) * mQ2run * wtSum * pow2(coup2Q);
1524 // Secondary width for H, Q and Qbar (latter for top only).
1525 // (H can be H0 SM or H1, H2, A3 from BSM).
1526 sigma *= openFracTriplet;
1530 //--------------------------------------------------------------------------
1532 // Select identity, colour and anticolour.
1534 void Sigma3qqbar2HQQbar::setIdColAcol() {
1536 // Pick out-flavours by relative CKM weights.
1537 setId( id1, id2, idRes, idNew, -idNew);
1539 // Colour flow topologies.
1540 if (id1 > 0) setColAcol( 1, 0, 0, 2, 0, 0, 1, 0, 0, 2);
1541 else setColAcol( 0, 1, 2, 0, 0, 0, 2, 0, 0, 1);
1545 //--------------------------------------------------------------------------
1547 // Evaluate weight for decay angles.
1549 double Sigma3qqbar2HQQbar::weightDecay( Event& process, int iResBeg,
1552 // Identity of mother of decaying reseonance(s).
1553 int idMother = process[process[iResBeg].mother1()].idAbs();
1555 // For Higgs decay hand over to standard routine.
1556 if (idMother == 25 || idMother == 35 || idMother == 36)
1557 return weightHiggsDecay( process, iResBeg, iResEnd);
1559 // For top decay hand over to standard routine.
1561 return weightTopDecay( process, iResBeg, iResEnd);
1568 //==========================================================================
1570 // Sigma2qg2Hq class.
1571 // Cross section for q g -> H q.
1572 // (H can be H0 SM or H1, H2, A3 from BSM).
1574 //--------------------------------------------------------------------------
1576 // Initialize process.
1578 void Sigma2qg2Hq::initProc() {
1580 // Properties specific to Higgs state for the "c g -> H c" process.
1581 // (H can be H0 SM or H1, H2, A3 from BSM).
1582 if (higgsType == 0 && idNew == 4) {
1583 nameSave = "c g -> H c (SM)";
1587 else if (higgsType == 1 && idNew == 4) {
1588 nameSave = "c g -> h0(H1) c";
1592 else if (higgsType == 2 && idNew == 4) {
1593 nameSave = "c g -> H0(H2) c";
1597 else if (higgsType == 3 && idNew == 4) {
1598 nameSave = "c g -> A0(A3) c";
1603 // Properties specific to Higgs state for the "b g -> H b" process.
1604 // (H can be H0 SM or H1, H2, A3 from BSM).
1605 if (higgsType == 0 && idNew == 5) {
1606 nameSave = "b g -> H b (SM)";
1610 else if (higgsType == 1 && idNew == 5) {
1611 nameSave = "b g -> h0(H1) b";
1615 else if (higgsType == 2 && idNew == 5) {
1616 nameSave = "b g -> H0(H2) b";
1620 else if (higgsType == 3 && idNew == 5) {
1621 nameSave = "b g -> A0(A3) b";
1626 // Standard parameters.
1627 m2W = pow2( particleDataPtr->m0(24) );
1628 thetaWRat = 1. / (24. * coupSMPtr->sin2thetaW());
1630 // Secondary open width fraction.
1631 openFrac = particleDataPtr->resOpenFrac(idRes);
1636 //--------------------------------------------------------------------------
1638 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
1640 void Sigma2qg2Hq::sigmaKin() {
1642 // Running mass provides coupling.
1643 double m2Run = pow2( particleDataPtr->mRun(idNew, mH) );
1645 // Cross section, including couplings and kinematics.
1646 sigma = (M_PI / sH2) * alpS * alpEM * thetaWRat * (m2Run/m2W)
1647 * (sH / (s4 - uH) + 2. * s4 * (s3 - uH) / pow2(s4 - uH)
1648 + (s4 - uH) / sH - 2. * s4 / (s4 - uH)
1649 + 2. * (s3 - uH) * (s3 - s4 - sH) / ((s4 - uH) * sH) );
1651 // Include secondary width for H0, H1, H2 or A3. Done.
1656 //--------------------------------------------------------------------------
1658 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
1660 double Sigma2qg2Hq::sigmaHat() {
1662 // Check that specified flavour present.
1663 if (abs(id1) != idNew && abs(id2) != idNew) return 0.;
1671 //--------------------------------------------------------------------------
1673 // Select identity, colour and anticolour.
1675 void Sigma2qg2Hq::setIdColAcol() {
1677 // Flavour set up for q g -> H0 q.
1678 int idq = (id2 == 21) ? id1 : id2;
1679 setId( id1, id2, idRes, idq);
1681 // tH defined between f and f': must swap tHat <-> uHat if q g in.
1682 swapTU = (id2 == 21);
1684 // Colour flow topologies. Swap when antiquarks.
1685 if (id2 == 21) setColAcol( 1, 0, 2, 1, 0, 0, 2, 0);
1686 else setColAcol( 2, 1, 1, 0, 0, 0, 2, 0);
1687 if (idq < 0) swapColAcol();
1691 //--------------------------------------------------------------------------
1693 // Evaluate weight for decay angles.
1695 double Sigma2qg2Hq::weightDecay( Event& process, int iResBeg,
1698 // Identity of mother of decaying reseonance(s).
1699 int idMother = process[process[iResBeg].mother1()].idAbs();
1701 // For Higgs decay hand over to standard routine.
1702 if (idMother == 25 || idMother == 35 || idMother == 36)
1703 return weightHiggsDecay( process, iResBeg, iResEnd);
1705 // For top decay hand over to standard routine.
1707 return weightTopDecay( process, iResBeg, iResEnd);
1714 //==========================================================================
1716 // Sigma2gg2Hglt class.
1717 // Cross section for g g -> H g (H SM Higgs or BSM Higgs) via top loop.
1718 // (H can be H0 SM or H1, H2, A3 from BSM).
1720 //--------------------------------------------------------------------------
1722 // Initialize process.
1724 void Sigma2gg2Hglt::initProc() {
1726 // Properties specific to Higgs state.
1727 if (higgsType == 0) {
1728 nameSave = "g g -> H g (SM; top loop)";
1732 else if (higgsType == 1) {
1733 nameSave = "g g -> h0(H1) g (BSM; top loop)";
1737 else if (higgsType == 2) {
1738 nameSave = "g g -> H0(H2) g (BSM; top loop)";
1742 else if (higgsType == 3) {
1743 nameSave = "g g -> A0(A3) g (BSM; top loop)";
1748 // Normalization factor by g g -> H partial width.
1749 // (H can be H0 SM or H1, H2, A3 from BSM).
1750 double mHiggs = particleDataPtr->m0(idRes);
1751 widHgg = particleDataPtr->resWidthChan(idRes, mHiggs, 21, 21);
1753 // Secondary open width fraction.
1754 openFrac = particleDataPtr->resOpenFrac(idRes);
1758 //--------------------------------------------------------------------------
1760 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
1762 void Sigma2gg2Hglt::sigmaKin() {
1764 // Evaluate cross section. Secondary width for H0, H1, H2 or A3.
1765 sigma = (M_PI / sH2) * (3. / 16.) * alpS * (widHgg / m3)
1766 * (sH2 * sH2 + tH2 * tH2 + uH2 * uH2 + pow4(s3))
1767 / (sH * tH * uH * s3);
1772 //--------------------------------------------------------------------------
1774 // Select identity, colour and anticolour.
1776 void Sigma2gg2Hglt::setIdColAcol() {
1778 // Flavour set up for g g -> H g trivial.
1779 // (H can be H0 SM or H1, H2, A3 from BSM).
1780 setId( 21, 21, idRes, 21);
1782 // Colour flow topologies: random choice between two mirrors.
1783 if (rndmPtr->flat() < 0.5) setColAcol( 1, 2, 2, 3, 0, 0, 1, 3);
1784 else setColAcol( 1, 2, 3, 1, 0, 0, 3, 2);
1788 //--------------------------------------------------------------------------
1790 // Evaluate weight for decay angles.
1792 double Sigma2gg2Hglt::weightDecay( Event& process, int iResBeg,
1795 // Identity of mother of decaying reseonance(s).
1796 int idMother = process[process[iResBeg].mother1()].idAbs();
1798 // For Higgs decay hand over to standard routine.
1799 if (idMother == 25 || idMother == 35 || idMother == 36)
1800 return weightHiggsDecay( process, iResBeg, iResEnd);
1802 // For top decay hand over to standard routine.
1804 return weightTopDecay( process, iResBeg, iResEnd);
1811 //==========================================================================
1813 // Sigma2qg2Hqlt class.
1814 // Cross section for q g -> H q (H SM or BSM Higgs) via top loop.
1815 // (H can be H0 SM or H1, H2, A3 from BSM).
1817 //--------------------------------------------------------------------------
1819 // Initialize process.
1821 void Sigma2qg2Hqlt::initProc() {
1823 // Properties specific to Higgs state.
1824 if (higgsType == 0) {
1825 nameSave = "q g -> H q (SM; top loop)";
1829 else if (higgsType == 1) {
1830 nameSave = "q g -> h0(H1) q (BSM; top loop)";
1834 else if (higgsType == 2) {
1835 nameSave = "q g -> H0(H2) q (BSM; top loop)";
1839 else if (higgsType == 3) {
1840 nameSave = "q g -> A0(A3) q (BSM; top loop)";
1845 // Normalization factor by g g -> H partial width.
1846 // (H can be H0 SM or H1, H2, A3 from BSM).
1847 double mHiggs = particleDataPtr->m0(idRes);
1848 widHgg = particleDataPtr->resWidthChan(idRes, mHiggs, 21, 21);
1850 // Secondary open width fraction.
1851 openFrac = particleDataPtr->resOpenFrac(idRes);
1855 //--------------------------------------------------------------------------
1857 // Evaluate sigmaHat(sHat, part independent of incoming flavour).
1859 void Sigma2qg2Hqlt::sigmaKin() {
1861 // Evaluate cross section. Secondary width for H0, H1, H2 or A3.
1862 sigma = (M_PI / sH2) * (1. / 12.) * alpS * (widHgg / m3)
1863 * (sH2 + uH2) / (-tH * s3);
1868 //--------------------------------------------------------------------------
1870 // Select identity, colour and anticolour.
1872 void Sigma2qg2Hqlt::setIdColAcol() {
1874 // Flavour set up for q g -> H q.
1875 // (H can be H0 SM or H1, H2, A3 from BSM).
1876 int idq = (id2 == 21) ? id1 : id2;
1877 setId( id1, id2, idRes, idq);
1879 // tH defined between f and f': must swap tHat <-> uHat if q g in.
1880 swapTU = (id2 == 21);
1882 // Colour flow topologies. Swap when antiquarks.
1883 if (id2 == 21) setColAcol( 1, 0, 2, 1, 0, 0, 2, 0);
1884 else setColAcol( 2, 1, 1, 0, 0, 0, 2, 0);
1885 if (idq < 0) swapColAcol();
1889 //--------------------------------------------------------------------------
1891 // Evaluate weight for decay angles.
1893 double Sigma2qg2Hqlt::weightDecay( Event& process, int iResBeg,
1896 // Identity of mother of decaying reseonance(s).
1897 int idMother = process[process[iResBeg].mother1()].idAbs();
1899 // For Higgs decay hand over to standard routine.
1900 if (idMother == 25 || idMother == 35 || idMother == 36)
1901 return weightHiggsDecay( process, iResBeg, iResEnd);
1903 // For top decay hand over to standard routine.
1905 return weightTopDecay( process, iResBeg, iResEnd);
1912 //==========================================================================
1914 // Sigma2qqbar2Hglt class.
1915 // Cross section for q qbar -> H g (H SM or BSM Higgs) via top loop.
1916 // (H can be H0 SM or H1, H2, A3 from BSM).
1918 //--------------------------------------------------------------------------
1920 // Initialize process.
1922 void Sigma2qqbar2Hglt::initProc() {
1924 // Properties specific to Higgs state.
1925 if (higgsType == 0) {
1926 nameSave = "q qbar -> H g (SM; top loop)";
1930 else if (higgsType == 1) {
1931 nameSave = "q qbar -> h0(H1) g (BSM; top loop)";
1935 else if (higgsType == 2) {
1936 nameSave = "q qbar -> H0(H2) g (BSM; top loop)";
1940 else if (higgsType == 3) {
1941 nameSave = "q qbar -> A0(A3) g (BSM; top loop)";
1946 // Normalization factor by g g -> H partial width.
1947 // (H can be H0 SM or H1, H2, A3 from BSM).
1948 double mHiggs = particleDataPtr->m0(idRes);
1949 widHgg = particleDataPtr->resWidthChan(idRes, mHiggs, 21, 21);
1951 // Secondary open width fraction.
1952 openFrac = particleDataPtr->resOpenFrac(idRes);
1957 //--------------------------------------------------------------------------
1959 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
1961 void Sigma2qqbar2Hglt::sigmaKin() {
1963 // Evaluate cross section. Secondary width for H0, H1, H2 or A3.
1964 sigma = (M_PI / sH2) * (2. / 9.) * alpS * (widHgg / m3)
1965 * (tH2 + uH2) / (sH * s3);
1970 //--------------------------------------------------------------------------
1972 // Select identity, colour and anticolour.
1974 void Sigma2qqbar2Hglt::setIdColAcol() {
1976 // Flavours trivial.
1977 setId( id1, id2, idRes, 21);
1979 // Colour flow topologies. Swap when antiquarks.
1980 setColAcol( 1, 0, 0, 2, 0, 0, 1, 2);
1981 if (id1 < 0) swapColAcol();
1985 //--------------------------------------------------------------------------
1987 // Evaluate weight for decay angles.
1989 double Sigma2qqbar2Hglt::weightDecay( Event& process, int iResBeg,
1992 // Identity of mother of decaying reseonance(s).
1993 int idMother = process[process[iResBeg].mother1()].idAbs();
1995 // For Higgs decay hand over to standard routine.
1996 if (idMother == 25 || idMother == 35 || idMother == 36)
1997 return weightHiggsDecay( process, iResBeg, iResEnd);
1999 // For top decay hand over to standard routine.
2001 return weightTopDecay( process, iResBeg, iResEnd);
2009 //==========================================================================
2011 // Sigma1ffbar2Hchg class.
2012 // Cross section for f fbar -> H+- (f is quark or lepton).
2014 //--------------------------------------------------------------------------
2016 // Initialize process.
2018 void Sigma1ffbar2Hchg::initProc() {
2020 // Find pointer to H+-.
2021 HResPtr = particleDataPtr->particleDataEntryPtr(37);
2023 // Store H+- mass and width for propagator.
2024 mRes = HResPtr->m0();
2025 GammaRes = HResPtr->mWidth();
2027 GamMRat = GammaRes / mRes;
2030 m2W = pow2(particleDataPtr->m0(24));
2031 thetaWRat = 1. / (8. * coupSMPtr->sin2thetaW());
2032 tan2Beta = pow2(settingsPtr->parm("HiggsHchg:tanBeta"));
2036 //--------------------------------------------------------------------------
2038 // Evaluate d(sigmaHat)/d(tHat), part independent of incoming flavour.
2040 void Sigma1ffbar2Hchg::sigmaKin() {
2042 // Set up Breit-Wigner. Width out only includes open channels.
2043 sigBW = 4. * M_PI / ( pow2(sH - m2Res) + pow2(sH * GamMRat) );
2044 widthOutPos = HResPtr->resWidthOpen( 37, mH);
2045 widthOutNeg = HResPtr->resWidthOpen(-37, mH);
2049 //--------------------------------------------------------------------------
2051 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
2053 double Sigma1ffbar2Hchg::sigmaHat() {
2055 // Only allow generation-diagonal states.
2056 int id1Abs = abs(id1);
2057 int id2Abs = abs(id2);
2058 int idUp = max(id1Abs, id2Abs);
2059 int idDn = min(id1Abs, id2Abs);
2060 if (idUp%2 != 0 || idUp - idDn != 1) return 0.;
2062 // Calculate mass-dependent incoming width. Total cross section.
2063 double m2RunUp = pow2(particleDataPtr->mRun(idUp, mH));
2064 double m2RunDn = pow2(particleDataPtr->mRun(idDn, mH));
2065 double widthIn = alpEM * thetaWRat * (mH/m2W)
2066 * (m2RunDn * tan2Beta + m2RunUp / tan2Beta);
2067 int idUpChg = (id1Abs%2 == 0) ? id1 : id2;
2068 double sigma = (idUpChg > 0) ? widthIn * sigBW * widthOutPos
2069 : widthIn * sigBW * widthOutNeg;
2071 // Colour factor. Answer.
2072 if (idUp < 9) sigma /= 3.;
2077 //--------------------------------------------------------------------------
2079 // Select identity, colour and anticolour.
2081 void Sigma1ffbar2Hchg::setIdColAcol() {
2083 // Charge of Higgs. Fill flavours.
2084 int idUpChg = (abs(id1)%2 == 0) ? id1 : id2;
2085 int idHchg = (idUpChg > 0) ? 37 : -37;
2086 setId( id1, id2, idHchg);
2088 // Colour flow topologies. Swap when antiquarks.
2089 if (abs(id1) < 9) setColAcol( 1, 0, 0, 1, 0, 0);
2090 else setColAcol( 0, 0, 0, 0, 0, 0);
2091 if (id1 < 0) swapColAcol();
2095 //--------------------------------------------------------------------------
2097 // Evaluate weight for decay angles.
2099 double Sigma1ffbar2Hchg::weightDecay( Event& process, int iResBeg,
2102 // Identity of mother of decaying reseonance(s).
2103 int idMother = process[process[iResBeg].mother1()].idAbs();
2105 // For Higgs decay hand over to standard routine.
2106 if (idMother == 25 || idMother == 35 || idMother == 36)
2107 return weightHiggsDecay( process, iResBeg, iResEnd);
2109 // For top decay hand over to standard routine.
2111 return weightTopDecay( process, iResBeg, iResEnd);
2118 //==========================================================================
2120 // Sigma2qg2Hq class.
2121 // Cross section for q g -> H+- q'.
2123 //--------------------------------------------------------------------------
2125 // Initialize process.
2127 void Sigma2qg2Hchgq::initProc() {
2129 // Standard parameters.
2130 m2W = pow2( particleDataPtr->m0(24) );
2131 thetaWRat = 1. / (24. * coupSMPtr->sin2thetaW());
2132 tan2Beta = pow2(settingsPtr->parm("HiggsHchg:tanBeta"));
2134 // Incoming flavour within same doublet. Uptype and downtype flavours.
2135 idOld = (idNew%2 == 0) ? idNew - 1 : idNew + 1;
2136 idUp = max(idOld, idNew);
2137 idDn = min(idOld, idNew);
2139 // Secondary open width fraction.
2140 openFracPos = (idOld%2 == 0) ? particleDataPtr->resOpenFrac( 37, idNew)
2141 : particleDataPtr->resOpenFrac(-37, idNew);
2142 openFracNeg = (idOld%2 == 0) ? particleDataPtr->resOpenFrac(-37, -idNew)
2143 : particleDataPtr->resOpenFrac( 37, -idNew);
2147 //--------------------------------------------------------------------------
2149 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
2151 void Sigma2qg2Hchgq::sigmaKin() {
2153 // Running masses provides coupling.
2154 double m2RunUp = pow2(particleDataPtr->mRun(idUp, mH));
2155 double m2RunDn = pow2(particleDataPtr->mRun(idDn, mH));
2157 // Cross section, including couplings and kinematics.
2158 sigma = (M_PI / sH2) * alpS * alpEM * thetaWRat
2159 * (m2RunDn * tan2Beta + m2RunUp / tan2Beta) / m2W
2160 * (sH / (s4 - uH) + 2. * s4 * (s3 - uH) / pow2(s4 - uH)
2161 + (s4 - uH) / sH - 2. * s4 / (s4 - uH)
2162 + 2. * (s3 - uH) * (s3 - s4 - sH) / ((s4 - uH) * sH) );
2166 //--------------------------------------------------------------------------
2168 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
2170 double Sigma2qg2Hchgq::sigmaHat() {
2172 // Check that specified flavour present.
2173 if (abs(id1) != idOld && abs(id2) != idOld) return 0.;
2176 return (id1 == idOld || id2 == idOld) ? sigma * openFracPos
2177 : sigma * openFracNeg;
2181 //--------------------------------------------------------------------------
2183 // Select identity, colour and anticolour.
2185 void Sigma2qg2Hchgq::setIdColAcol() {
2187 // Flavour set up for q g -> H+- q'.
2188 int idq = (id2 == 21) ? id1 : id2;
2189 id3 = ( (idq > 0 && idOld%2 == 0) || (idq < 0 && idOld%2 != 0) )
2191 id4 = (idq > 0) ? idNew : -idNew;
2192 setId( id1, id2, id3, id4);
2194 // tH defined between f and f': must swap tHat <-> uHat if q g in.
2195 swapTU = (id2 == 21);
2197 // Colour flow topologies. Swap when antiquarks.
2198 if (id2 == 21) setColAcol( 1, 0, 2, 1, 0, 0, 2, 0);
2199 else setColAcol( 2, 1, 1, 0, 0, 0, 2, 0);
2200 if (idq < 0) swapColAcol();
2204 //--------------------------------------------------------------------------
2206 // Evaluate weight for decay angles.
2208 double Sigma2qg2Hchgq::weightDecay( Event& process, int iResBeg,
2211 // Identity of mother of decaying reseonance(s).
2212 int idMother = process[process[iResBeg].mother1()].idAbs();
2214 // For Higgs decay hand over to standard routine.
2215 if (idMother == 25 || idMother == 35 || idMother == 36)
2216 return weightHiggsDecay( process, iResBeg, iResEnd);
2218 // For top decay hand over to standard routine.
2220 return weightTopDecay( process, iResBeg, iResEnd);
2227 //==========================================================================
2229 // Sigma2ffbar2A3H12 class.
2230 // Cross section for f fbar -> A0(H_3) h0(H_1) or A0(H_3) H0(H_2).
2232 //--------------------------------------------------------------------------
2234 // Initialize process.
2236 void Sigma2ffbar2A3H12::initProc() {
2238 // Set up whether h0(H_1) or H0(H_2).
2239 higgs12 = (higgsType == 1) ? 25 : 35;
2240 codeSave = (higgsType == 1) ? 1081 : 1082;
2241 nameSave = (higgsType == 1) ? "f fbar -> A0(H3) h0(H1)"
2242 : "f fbar -> A0(H3) H0(H2)";
2243 coupZA3H12 = (higgsType == 1) ? settingsPtr->parm("HiggsA3:coup2H1Z")
2244 : settingsPtr->parm("HiggsA3:coup2H2Z");
2246 // Standard parameters.
2247 double mZ = particleDataPtr->m0(23);
2248 double GammaZ = particleDataPtr->mWidth(23);
2250 mGammaZ = mZ * GammaZ;
2251 thetaWRat = 1. / (4. * coupSMPtr->sin2thetaW() * coupSMPtr->cos2thetaW());
2253 // Secondary open width fraction.
2254 openFrac = particleDataPtr->resOpenFrac(36, higgs12);
2258 //--------------------------------------------------------------------------
2260 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
2262 void Sigma2ffbar2A3H12::sigmaKin() {
2264 // Common kinematics factora.
2265 sigma0 = (M_PI / sH2) * pow2(alpEM * thetaWRat * coupZA3H12)
2266 * (uH * tH - s3 * s4) / ( pow2(sH - m2Z) + pow2(mGammaZ) );
2270 //--------------------------------------------------------------------------
2272 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
2274 double Sigma2ffbar2A3H12::sigmaHat() {
2276 // Couplings for incoming flavour.
2277 int idAbs = abs(id1);
2278 double lIn = coupSMPtr->lf(idAbs);
2279 double rIn = coupSMPtr->rf(idAbs);
2281 // Combine to total cross section. Colour factor.
2282 double sigma = (pow2(lIn) + pow2(rIn)) * sigma0 * openFrac;
2283 if (idAbs < 9) sigma /= 3.;
2288 //--------------------------------------------------------------------------
2290 // Select identity, colour and anticolour.
2292 void Sigma2ffbar2A3H12::setIdColAcol() {
2295 setId( id1, id2, 36, higgs12);
2297 // Colour flow topologies. Swap when antiquarks.
2298 if (abs(id1) < 9) setColAcol( 1, 0, 0, 1, 0, 0);
2299 else setColAcol( 0, 0, 0, 0, 0, 0);
2300 if (id1 < 0) swapColAcol();
2304 //--------------------------------------------------------------------------
2306 // Evaluate weight for decay angles.
2308 double Sigma2ffbar2A3H12::weightDecay( Event& process, int iResBeg,
2311 // Identity of mother of decaying reseonance(s).
2312 int idMother = process[process[iResBeg].mother1()].idAbs();
2314 // For Higgs decay hand over to standard routine.
2315 if (idMother == 25 || idMother == 35 || idMother == 36)
2316 return weightHiggsDecay( process, iResBeg, iResEnd);
2318 // For top decay hand over to standard routine.
2320 return weightTopDecay( process, iResBeg, iResEnd);
2327 //==========================================================================
2329 // Sigma2ffbar2HchgH12 class.
2330 // Cross section for f fbar -> H+- h0(H_1) or H+- H0(H_2).
2332 //--------------------------------------------------------------------------
2334 // Initialize process.
2336 void Sigma2ffbar2HchgH12::initProc() {
2338 // Set up whether h0(H_1) or H0(H_2).
2339 higgs12 = (higgsType == 1) ? 25 : 35;
2340 codeSave = (higgsType == 1) ? 1083 : 1084;
2341 nameSave = (higgsType == 1) ? "f fbar' -> H+- h0(H1)"
2342 : "f fbar' -> H+- H0(H2)";
2343 coupWHchgH12 = (higgsType == 1) ? settingsPtr->parm("HiggsHchg:coup2H1W")
2344 : settingsPtr->parm("HiggsHchg:coup2H2W");
2346 // Standard parameters.
2347 double mW = particleDataPtr->m0(24);
2348 double GammaW = particleDataPtr->mWidth(24);
2350 mGammaW = mW * GammaW;
2351 thetaWRat = 1. / (2. * coupSMPtr->sin2thetaW());
2353 // Secondary open width fraction.
2354 openFracPos = particleDataPtr->resOpenFrac( 37, higgs12);
2355 openFracNeg = particleDataPtr->resOpenFrac(-37, higgs12);
2359 //--------------------------------------------------------------------------
2361 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
2363 void Sigma2ffbar2HchgH12::sigmaKin() {
2365 // Common kinematics factora.
2366 sigma0 = 0.5 * (M_PI / sH2) * pow2(alpEM * thetaWRat * coupWHchgH12)
2367 * (uH * tH - s3 * s4) / ( pow2(sH - m2W) + pow2(mGammaW) );
2371 //--------------------------------------------------------------------------
2373 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
2375 double Sigma2ffbar2HchgH12::sigmaHat() {
2377 // Combine to total cross section. CKM and colour factor.
2378 int idUp = (abs(id1)%2 == 0) ? id1 : id2;
2379 double sigma = (idUp > 0) ? sigma0 * openFracPos : sigma0 * openFracNeg;
2380 if (abs(id1) < 9) sigma *= coupSMPtr->V2CKMid(abs(id1), abs(id2)) / 3.;
2385 //--------------------------------------------------------------------------
2387 // Select identity, colour and anticolour.
2389 void Sigma2ffbar2HchgH12::setIdColAcol() {
2391 // Charge of Higgs. Fill flavours.
2392 int idUpChg = (abs(id1)%2 == 0) ? id1 : id2;
2393 int idHchg = (idUpChg > 0) ? 37 : -37;
2394 setId( id1, id2, idHchg, higgs12);
2396 // Colour flow topologies. Swap when antiquarks.
2397 if (abs(id1) < 9) setColAcol( 1, 0, 0, 1, 0, 0);
2398 else setColAcol( 0, 0, 0, 0, 0, 0);
2399 if (id1 < 0) swapColAcol();
2403 //--------------------------------------------------------------------------
2405 // Evaluate weight for decay angles.
2407 double Sigma2ffbar2HchgH12::weightDecay( Event& process, int iResBeg,
2410 // Identity of mother of decaying reseonance(s).
2411 int idMother = process[process[iResBeg].mother1()].idAbs();
2413 // For Higgs decay hand over to standard routine.
2414 if (idMother == 25 || idMother == 35 || idMother == 36)
2415 return weightHiggsDecay( process, iResBeg, iResEnd);
2417 // For top decay hand over to standard routine.
2419 return weightTopDecay( process, iResBeg, iResEnd);
2426 //==========================================================================
2428 // Sigma2ffbar2HposHneg class.
2429 // Cross section for q g -> H+- q'.
2431 //--------------------------------------------------------------------------
2433 // Initialize process.
2435 void Sigma2ffbar2HposHneg::initProc() {
2437 // Standard parameters.
2438 double mZ = particleDataPtr->m0(23);
2439 double GammaZ = particleDataPtr->mWidth(23);
2441 mGammaZ = mZ * GammaZ;
2442 thetaWRat = 1. / (4. * coupSMPtr->sin2thetaW() * coupSMPtr->cos2thetaW());
2444 // Charged Higgs coupling to gamma and Z0.
2446 lH = -1. + 2. * coupSMPtr->sin2thetaW();
2448 // Secondary open width fraction.
2449 openFrac = particleDataPtr->resOpenFrac(37, -37);
2453 //--------------------------------------------------------------------------
2455 // Evaluate sigmaHat(sHat), part independent of incoming flavour.
2457 void Sigma2ffbar2HposHneg::sigmaKin() {
2459 // Common kinematics factora.
2460 double preFac = M_PI * pow2(alpEM) * ((uH * tH - s3 * s4) / sH2);
2461 double propZ = 1. / ( pow2(sH - m2Z) + pow2(mGammaZ) );
2463 // Separate parts for gamma*, interference and Z0.
2464 gamSig = preFac * 2. * pow2(eH) / sH2;
2465 intSig = preFac * 2. * eH * lH * thetaWRat * propZ * (sH - m2Z) / sH;
2466 resSig = preFac * pow2(lH * thetaWRat) * propZ;
2470 //--------------------------------------------------------------------------
2472 // Evaluate sigmaHat(sHat), including incoming flavour dependence.
2474 double Sigma2ffbar2HposHneg::sigmaHat() {
2476 // Couplings for incoming flavour.
2477 int idAbs = int(id1);
2478 double eIn = coupSMPtr->ef(idAbs);
2479 double lIn = coupSMPtr->lf(idAbs);
2480 double rIn = coupSMPtr->rf(idAbs);
2482 // Combine to total cross section. Colour factor.
2483 double sigma = (pow2(eIn) * gamSig + eIn * (lIn + rIn) * intSig
2484 + (pow2(lIn) + pow2(rIn)) * resSig) * openFrac;
2485 if (idAbs < 9) sigma /= 3.;
2490 //--------------------------------------------------------------------------
2492 // Select identity, colour and anticolour.
2494 void Sigma2ffbar2HposHneg::setIdColAcol() {
2497 setId( id1, id2, 37, -37);
2499 // Colour flow topologies. Swap when antiquarks.
2500 if (abs(id1) < 9) setColAcol( 1, 0, 0, 1, 0, 0);
2501 else setColAcol( 0, 0, 0, 0, 0, 0);
2502 if (id1 < 0) swapColAcol();
2506 //--------------------------------------------------------------------------
2508 // Evaluate weight for decay angles.
2510 double Sigma2ffbar2HposHneg::weightDecay( Event& process, int iResBeg,
2513 // Identity of mother of decaying reseonance(s).
2514 int idMother = process[process[iResBeg].mother1()].idAbs();
2516 // For Higgs decay hand over to standard routine.
2517 if (idMother == 25 || idMother == 35 || idMother == 36)
2518 return weightHiggsDecay( process, iResBeg, iResEnd);
2520 // For top decay hand over to standard routine.
2522 return weightTopDecay( process, iResBeg, iResEnd);
2529 //==========================================================================
2531 } // end namespace Pythia8