ATLAS Offline Software
Loading...
Searching...
No Matches
bbToJpsimu4mu4.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 bb->J/psi(mu4mu4) production"
10evgenConfig.keywords = ["BPHYS"]
11evgenConfig.minevents = 500
12
13# Hard process
14topAlg.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 = 6.'] # Equivalent of CKIN3
18topAlg.Pythia8B.Commands += ['ParticleDecays:mixB = off']
19topAlg.Pythia8B.Commands += ['HadronLevel:all = off']
20
21# Quark cuts
22topAlg.Pythia8B.SelectBQuarks = True
23topAlg.Pythia8B.SelectCQuarks = False
24topAlg.Pythia8B.QuarkPtCut = 0.0
25topAlg.Pythia8B.AntiQuarkPtCut = 4.0
26topAlg.Pythia8B.QuarkEtaCut = 102.5
27topAlg.Pythia8B.AntiQuarkEtaCut = 2.5
28topAlg.Pythia8B.RequireBothQuarksPassCuts = True
29topAlg.Pythia8B.VetoDoubleBEvents = True
30topAlg.Pythia8B.UserSelection = 'BJPSIINCLUSIVE'
31
32# Job options for closing (anti)B decays but opening B(antiB) decays
33include ("Pythia8B_i/CloseBDecays.py")
34#include ("Pythia8B_i/CloseAntiBDecays.py")
35
36# Job options for opening inclusive B->J/psi decays
37include ("Pythia8B_i/OpenBJpsiDecays.py")
38
39# Close all J/psi decays apart from J/psi->mumu
40topAlg.Pythia8B.Commands += ['443:onMode = off']
41topAlg.Pythia8B.Commands += ['443:2:onMode = on']
42
43# Signal topology - only events containing this sequence will be accepted
44topAlg.Pythia8B.SignalPDGCodes = [443,-13,13]
45
46# Number of repeat-hadronization loops
47topAlg.Pythia8B.NHadronizationLoops = 1
48
49# List of B-species - for counting purposes (no effect on generation)
50include("Pythia8B_i/BPDGCodes.py")
51
52# Final state selections
53topAlg.Pythia8B.TriggerPDGCode = 13
54topAlg.Pythia8B.TriggerStatePtCut = [4.0]
55topAlg.Pythia8B.TriggerStateEtaCut = [2.5]
56topAlg.Pythia8B.MinimumCountPerCut = [2]
57
58
59#Uncomment for DumpMC print-out
60#from TruthExamples.TruthExamplesConf import DumpMC
61#topAlg += DumpMC()
Authors: James Catmore and Maria Smizanska James.Catmore@cern.ch / Maria.Smizanska@cern....
Definition Pythia8B_i.h:16