ATLAS Offline Software
Loading...
Searching...
No Matches
ppToJpsimu4mu4.py
Go to the documentation of this file.
4
5# General evgen config options
6from Pythia8B_i.Pythia8B_iConf import Pythia8B_i
7topAlg+=Pythia8B_i("Pythia8B")
8evgenConfig.generators += ["Pythia8B"]
9evgenConfig.description = "Inclusive pp->J/psi(mu4mu4) production"
10evgenConfig.keywords = ["BPHYS"]
11evgenConfig.minevents = 5000
12
13# Hard process
14#topAlg.Pythia8B.Commands += ['HardQCD:all = on'] # Uncomment for MSEL1
15#topAlg.Pythia8B.Commands += ['HardQCD:gg2bbbar = on'] # Uncomment for MSEL5
16#topAlg.Pythia8B.Commands += ['HardQCD:qqbar2bbbar = on'] # Uncomment for MSEL5
17topAlg.Pythia8B.Commands += ['PhaseSpace:pTHatMin = 1.']
18topAlg.Pythia8B.Commands += ['ParticleDecays:mixB = off']
19topAlg.Pythia8B.Commands += ['HadronLevel:all = on']
20
21# Quarkonia production mode
22# This should be used for direct charmonium or bottomonium production
23topAlg.Pythia8B.Commands += ['Charmonium:all = on']
24#topAlg.Pythia8B.Commands += ['Bottomonium:all = on']
25topAlg.Pythia8B.Commands += ['PhaseSpace:pTHatMinDiverge = 0.5']
26topAlg.Pythia8B.SuppressSmallPT = True
27topAlg.Pythia8B.pT0timesMPI = 1.
28topAlg.Pythia8B.numberAlphaS = 3.
29topAlg.Pythia8B.useSameAlphaSasMPI = False
30# IMPORTANT: If you run in this mode you MUST also do the following
31# (1) HardQCD:all = off or commented out
32# (2) Switch off quark selection
33# (3) Set NHadronizationLoops to 1
34# The final state selections can be modified as required
35
36# Quark cuts
37# Apply cuts to b- or c- quarks
38# If both are set to true, event is accepted if either b- or c- pass the cuts
39# This is to enable the assembly of mixed bb and cc samples
40# If one is set to true, event is accepted or rejected on the basis of that quark
41# flavour only - the other is ignored. If both are false, no quark cuts are applied
42topAlg.Pythia8B.SelectBQuarks = False
43topAlg.Pythia8B.SelectCQuarks = False
44
45# Close all J/psi decays apart from J/psi->mumu
46topAlg.Pythia8B.Commands += ['443:onMode = off']
47topAlg.Pythia8B.Commands += ['443:2:onMode = on']
48
49# Signal topology - only events containing this sequence will be accepted
50topAlg.Pythia8B.SignalPDGCodes = [443,-13,13]
51
52# Number of repeat-hadronization loops
53topAlg.Pythia8B.NHadronizationLoops = 1
54
55# List of B-species - for counting purposes (no effect on generation)
56include("Pythia8B_i/BPDGCodes.py")
57
58# Final state selections
59topAlg.Pythia8B.TriggerPDGCode = 13
60topAlg.Pythia8B.TriggerStatePtCut = [4.0]
61topAlg.Pythia8B.TriggerStateEtaCut = [2.5]
62topAlg.Pythia8B.MinimumCountPerCut = [2]
63
64#Uncomment for DumpMC print-out
65#from TruthExamples.TruthExamplesConf import DumpMC
66#topAlg += DumpMC()
Authors: James Catmore and Maria Smizanska James.Catmore@cern.ch / Maria.Smizanska@cern....
Definition Pythia8B_i.h:16