ATLAS Offline Software
Loading...
Searching...
No Matches
BuJpsiK_EvtGen.py
Go to the documentation of this file.
5f = open("BU_JPSI_K_USER.DEC","w")
6f.write("Decay B0\n")
7f.write("Enddecay\n")
8f.write("Decay anti-B0\n")
9f.write("Enddecay\n")
10f.write("Decay B+\n")
11f.write("Enddecay\n")
12f.write("Decay B-\n")
13f.write("Enddecay\n")
14f.write("Decay B_s0\n")
15f.write("Enddecay\n")
16f.write("Decay anti-B_s0\n")
17f.write("Enddecay\n")
18f.write("Decay anti-Lambda_b0\n")
19f.write("Enddecay\n")
20f.write("Decay Lambda_b0\n")
21f.write("Enddecay\n")
22f.write("Decay anti-Xi_b+\n")
23f.write("Enddecay\n")
24f.write("Decay Xi_b-\n")
25f.write("Enddecay\n")
26f.write("Decay anti-Xi_b0\n")
27f.write("Enddecay\n")
28f.write("Decay Xi_b0\n")
29f.write("Enddecay\n")
30f.write("Decay anti-Sigma_b+\n")
31f.write("Enddecay\n")
32f.write("Decay Sigma_b+\n")
33f.write("Enddecay\n")
34f.write("Decay anti-Sigma_b-\n")
35f.write("Enddecay\n")
36f.write("Decay Sigma_b-\n")
37f.write("Enddecay\n")
38f.write("Decay anti-Sigma_b0\n")
39f.write("Enddecay\n")
40f.write("Decay B_c+\n")
41f.write("Enddecay\n")
42f.write("Decay B_c-\n")
43f.write("Enddecay\n")
44f.write("Decay B+\n")
45f.write("1.0000 J/psi K+ SVS;\n")
46f.write("Enddecay\n")
47f.write("Decay B-\n")
48f.write("1.0000 J/psi K- SVS;\n")
49f.write("Enddecay\n")
50f.write("Decay J/psi\n")
51f.write("1.0000 mu+ mu- VLL;\n")
52f.write("Enddecay\n")
53f.write("End\n")
54f.close()
55
56
57evgenConfig.description = "Exclusive Bplus->Jpsi_mu4mu4_Kplus production"
58evgenConfig.keywords = ["exclusiveBtoJpsi","Bu","Jpsi","dimuons"]
59evgenConfig.minevents = 10
60
61include("MC12JobOptions/Pythia8B_AU2_CTEQ6L1_Common.py")
62include("MC12JobOptions/Pythia8B_EvtGenAfterburner.py")
63include("MC12JobOptions/BSignalFilter.py")
64
65topAlg.Pythia8B.Commands += ['HardQCD:all = on']
66topAlg.Pythia8B.Commands += ['PhaseSpace:pTHatMin = 7.']
67topAlg.Pythia8B.Commands += ['ParticleDecays:mixB = off']
68topAlg.Pythia8B.Commands += ['HadronLevel:all = off']
69
70# Quark cuts
71topAlg.Pythia8B.SelectBQuarks = True
72topAlg.Pythia8B.SelectCQuarks = False
73topAlg.Pythia8B.QuarkPtCut = 4.0
74topAlg.Pythia8B.AntiQuarkPtCut = 4.0
75topAlg.Pythia8B.QuarkEtaCut = 4.5
76topAlg.Pythia8B.AntiQuarkEtaCut = 4.5
77topAlg.Pythia8B.RequireBothQuarksPassCuts = False
78
79topAlg.Pythia8B.VetoDoubleBEvents = True
80topAlg.Pythia8B.NHadronizationLoops = 1
81
82# List of B-species
83include("Pythia8B_i/BPDGCodes.py")
84
85# Final state selections
86topAlg.Pythia8B.TriggerPDGCode = 0
87topAlg.Pythia8B.SignalPDGCodes = [521]
88topAlg.EvtInclusiveDecay.userDecayFile = "BU_JPSI_K_USER.DEC"
89topAlg.BSignalFilter.LVL1MuonCutOn = True
90topAlg.BSignalFilter.LVL2MuonCutOn = True
91topAlg.BSignalFilter.LVL1MuonCutPT = 0.0
92topAlg.BSignalFilter.LVL1MuonCutEta = 2.7
93topAlg.BSignalFilter.LVL2MuonCutPT = 0.0
94topAlg.BSignalFilter.LVL2MuonCutEta = 2.7