357
357
Main:timesAllowErrors = $ERR_NUM_PY8 ! Number of allowed errors
359
359
! 2) Settings related to output in init(), next(), amd stat().
360
Init:showChangedSettings = on ! Shows all non-default settings
361
360
Init:showChangedParticleData = off ! Shows all non-default particle settings
362
Next:numberCount = 100 ! print message every n events
363
Next:numberShowInfo = 2 ! print event information n times
364
Next:numberShowProcess = 1 ! print process record n times
365
361
Next:numberShowEvent = $MAXPR_PY8 ! print event record n times
366
362
Stat:showProcessLevel = on ! Process statistics
367
363
Stat:showErrors = on ! Error statistics
368
364
Check:epTolErr = 0.001 ! Momentum-conservation tolerance
370
366
! 3) Beam-parameter settings.
371
Beams:idA = $iA ! Beam identities
372
Beams:idB = $iB ! Beam identities
373
367
Beams:frameType = 4 ! LHE initialization
374
368
Beams:LHEF = events.lhe ! Input LHE file
448
ProcessLevel:all = on ! Generation
449
ProcessLevel:resonanceDecays = on ! Resonance decays
450
PartonLevel:all = on ! Paron level: if off, stops after hard process generation
452
440
if [ $UE_PY8 = ".FALSE." ]
454
442
cat <<EOF >> $ifile
455
PartonLevel:MPI = off ! Multiple interactions
443
PartonLevel:MPI = off ! Multiparton interactions
444
! ** USE on FOR REALISTIC SHOWER SIMULATION ** !!!
458
447
cat <<EOF >> $ifile
459
PartonLevel:MPI = on ! Multiple interactions
448
PartonLevel:MPI = on ! Multiparton interactions
464
PartonLevel:ISR = on ! Initial state shower
465
PartonLevel:FSR = on ! Final state shower
466
PartonLevel:FSRinProcess = on ! Final state shower in association with the hard process
467
PartonLevel:FSRinResonances = on ! Final state shower in resonance decays
468
HadronLevel:all = on ! Hadron level: if off, stops before hadronization
471
452
if [ $HADRONIZE_PY8 = ".FALSE." ]
473
454
cat <<EOF >> $ifile
474
HadronLevel:Hadronize = off ! Hadronization
455
HadronLevel:Hadronize = off ! Hadronisation
456
! ** USE on FOR REALISTIC SHOWER SIMULATION ** !!!
477
459
cat <<EOF >> $ifile
478
HadronLevel:Hadronize = on ! Hadronization
460
HadronLevel:Hadronize = on ! Hadronisation
482
464
cat <<EOF >> $ifile
483
#HadronLevel:Decay = on ! Hadron decays
484
PhaseSpace:mHatMin = 4. ! Min invariant mass
485
PhaseSpace:mHatMax = -1. ! Max invariant mass
486
PhaseSpace:pTHatMin = 0. ! Min pT in 2->2
487
PhaseSpace:pTHatMax = -1. ! Max pT in 2->2
488
PhaseSpace:pTHatMinDiverge = 1. ! If massless final state, to avoid divergences
489
PhaseSpace:useBreitWigners = on ! Masses according to Breit-Wigner
490
#PhaseSpace:pTHat3Min = 0. ! Min pT for the hardest parton in 2->3
491
PhaseSpace:pTHat3Max = -1. ! Max pT for the hardest parton in 2->3
492
PhaseSpace:pTHat5Min = 0. ! Min pT for the softest parton in 2->3
493
PhaseSpace:pTHat5Max = -1. ! Max pT for the softest parton in 2->3
494
PhaseSpace:RsepMin = 0. ! Min R separation in 2->3
496
466
! 5) Final-state shower.
497
467
TimeShower:pTmaxMatch = 1 ! Use scalup (re-check)
499
469
TimeShower:alphaSvalue = 0.118 ! Alpha_s(MZ) in final-state shower
500
470
TimeShower:alphaSorder = 1 ! Alpha_s running order in final-state shower
501
471
TimeShower:alphaEMorder = 0 ! Alpha_EM running order in final-state shower
502
TimeShower:interleave = on ! If on, FSR interleaved with ISR
503
TimeShower:allowBeamRecoil = on ! If off, no energy transfer to from ISR to FSR
504
472
TimeShower:dampenBeamRecoil = off ! Dampens the effect of beam recoil
505
473
TimeShower:globalRecoil = on ! All final-state particles recoil against the branching
506
474
TimeShower:nMaxGlobalRecoil = 1 ! Number of splittings with TimeShower:globalRecoil = on
508
476
TimeShower:nMaxGlobalBranch = 1 ! Number of FSR splittings proposed with global recoil
509
477
TimeShower:nPartonsInBorn = -1 ! Number of Born QCD final-state partons (to treat H and S differently)
510
478
TimeShower:limitPTmaxGlobal = on ! Limits pT < min(SCALUP,mDipole/2).
511
TimeShower:QCDshower = on ! QCD final-state shower
512
TimeShower:nGluonToQuark = 5 ! Number if flavors allowed in g->qqbar
513
480
TimeShower:QEDshowerByQ = off ! Prevent quarks from radiating photons
481
! ** USE on FOR REALISTIC SHOWER SIMULATION ** !!!
514
482
TimeShower:QEDshowerByL = off ! Prevent leptons from radiating photons
483
! ** USE on FOR REALISTIC SHOWER SIMULATION ** !!!
515
484
TimeShower:QEDshowerByGamma = off ! Prevent photons from branching
485
! ** USE on FOR REALISTIC SHOWER SIMULATION ** !!!
516
487
TimeShower:MEcorrections = off ! No Matrix-element corrections
517
TimeShower:MEafterFirst = off ! No Matrix-element corrections after first emission
518
TimeShower:phiPolAsym = on ! Azimuthal asymmetry induced by gluon polarization
519
488
TimeShower:alphaSuseCMW = false ! Use the CMW prescription in FSR
520
489
TimeShower:weightGluonToQuark = 1 ! Use normal Altarelli-Parisi kernels for g -> q qbar
525
494
SpaceShower:alphaSvalue = 0.118 ! Alpha_s(MZ) in final-state shower
526
495
SpaceShower:alphaSorder = 1 ! Alpha_s running order in final-state shower
527
496
SpaceShower:alphaEMorder = 0 ! Alpha_EM running order in final-state shower
528
SpaceShower:QCDshower = on ! QCD final-state shower
529
498
SpaceShower:QEDshowerByQ = off ! Prevent quarks from radiating photons
499
! ** USE on FOR REALISTIC SHOWER SIMULATION ** !!!
530
500
SpaceShower:QEDshowerByL = off ! Prevent leptons from radiating photons
501
! ** USE on FOR REALISTIC SHOWER SIMULATION ** !!!
531
503
SpaceShower:MEcorrections = off ! No Matrix-element corrections
532
SpaceShower:MEafterFirst = off ! No Matrix-element corrections after first emission
533
SpaceShower:phiPolAsym = on ! Azimuthal asymmetry induced by gluon polarization
534
SpaceShower:nQuarkIn = 5 ! Number of flavors in g->qqbar and also in incoming beams
535
504
SpaceShower:rapidityorder = off ! Do not order branchings in rapidity
536
505
SpaceShower:alphaSuseCMW = false ! Use the CMW prescription in ISR
538
507
! 7) Non-perturbative stuff.
539
508
BeamRemnants:primordialKT = off ! No primordial kT
509
! ** USE on FOR REALISTIC SHOWER SIMULATION ** !!!
541
! 8) Particle characteristics.
511
! 8) Particle features.
542
512
1:m0 = $DMASSPY ! down mass
543
513
2:m0 = $UMASSPY ! up mass
544
514
3:m0 = $SMASSPY ! strange mass
581
551
JetMatching:scheme = 1 ! MadGraph MLM-type merging
582
552
JetMatching:setMad = off ! Don't read from LHE in MG5LO format
588
560
if [ $PI_STABLE_PY8 = ".TRUE." ]
590
562
cat <<EOF >> $ifile
591
563
111:mayDecay = false ! stable pi0
592
#211:mayDecay = false ! stable pions
595
566
if [ $B_STABLE_PY8 = ".TRUE." ]
675
for DM in "${arr[@]}"
678
cat <<EOF >> ./$ifile
679
${DM[0]}:onMode = off ! First switch decays off
683
for DM in "${arr[@]}"
687
num_of_part=$(echo ${#DM[@]})
690
if [ $num_of_part = 2 ]
692
cat <<EOF >> ./$ifile
693
${DM[0]}:onIfMatch = ${DM[2]} ${DM[3]} ! Decay mode $iDM of $numDM
695
elif [ $num_of_part = 3 ]
697
cat <<EOF >> ./$ifile
698
${DM[0]}:onifMatch = ${DM[2]} ${DM[3]} ${DM[4]} ! Decay mode $iDM of $numDM
700
elif [ $num_of_part = 4 ]
702
cat <<EOF >> ./$ifile
703
${DM[0]}:onifMatch = ${DM[2]} ${DM[3]} ${DM[4]} ${DM[5]} ! Decay mode $iDM of $numDM
705
elif [ $num_of_part = 5 ]
707
cat <<EOF >> ./$ifile
708
${DM[0]}:onifMatch = ${DM[2]} ${DM[3]} ${DM[4]} ${DM[5]} ${DM[6]} ! Decay mode $iDM of $numDM
646
for DM in "${arr[@]}"
648
cat <<EOF >> ./$ifile
786
726
ExtraIncl="-I""$ExtraIncl"
731
# Collection of Pythia8 settings that used to appear in the
732
# card, and that are supefluous because overridden or default
734
#Beams:idA = $iA ! Beam identities
735
#Beams:idB = $iB ! Beam identities
736
#ProcessLevel:all = on ! Generation
737
#ProcessLevel:resonanceDecays = on ! Resonance decays
738
#PartonLevel:all = on ! Paron level: if off, stops after hard
739
# ! process generation
740
#PartonLevel:ISR = on ! Initial state shower
741
#PartonLevel:FSR = on ! Final state shower
742
#PartonLevel:FSRinProcess = on ! Final state shower in association with
744
#PartonLevel:FSRinResonances = on ! Final state shower in resonance decays
745
#HadronLevel:all = on ! Hadron level: if off, stops before
747
#HadronLevel:Decay = on ! Hadron decays
748
#PhaseSpace:mHatMin = 4. ! Min invariant mass
749
#PhaseSpace:mHatMax = -1. ! Max invariant mass
750
#PhaseSpace:pTHatMin = 0. ! Min pT in 2->2
751
#PhaseSpace:pTHatMax = -1. ! Max pT in 2->2
752
#PhaseSpace:pTHatMinDiverge = 1. ! If massless final state, to avoid
754
#PhaseSpace:useBreitWigners = on ! Masses according to Breit-Wigner
755
#PhaseSpace:pTHat3Min = 0. ! Min pT for the hardest parton in 2->3
756
#PhaseSpace:pTHat3Max = -1. ! Max pT for the hardest parton in 2->3
757
#PhaseSpace:pTHat5Min = 0. ! Min pT for the softest parton in 2->3
758
#PhaseSpace:pTHat5Max = -1. ! Max pT for the softest parton in 2->3
759
#PhaseSpace:RsepMin = 0. ! Min R separation in 2->3
760
#TimeShower:interleave = on ! If on, FSR interleaved with ISR
761
#TimeShower:allowBeamRecoil = on ! If off, no energy transfer to from
763
#TimeShower:QCDshower = on ! QCD final-state shower
764
#TimeShower:nGluonToQuark = 5 ! Number if flavors allowed in g->qqbar
765
#TimeShower:phiPolAsym = on ! Azimuthal asymmetry induced by gluon
767
#SpaceShower:QCDshower = on ! QCD final-state shower
768
#SpaceShower:phiPolAsym = on ! Azimuthal asymmetry induced by gluon
770
#SpaceShower:nQuarkIn = 5 ! Number of flavors in g->qqbar and also in
772
#Init:showChangedSettings = on ! Shows all non-default settings
773
#Next:numberCount = 100 ! print message every n events
774
#Next:numberShowInfo = 2 ! print event information n times
775
#Next:numberShowProcess = 1 ! print process record n times
776
#TimeShower:MEafterFirst = off ! No Matrix-element corrections after first emission
777
# ! it is already off if MEcorrections = off
778
#SpaceShower:MEafterFirst = off ! No Matrix-element corrections after first emission
779
# ! it is already off if MEcorrections = off