ATLAS Offline Software
BsToJpsimu0mu0phi.py
Go to the documentation of this file.
1 
6 
7 # General evgen config options
8 from Pythia8B_i.Pythia8B_iConf import Pythia8B_i
9 topAlg+=Pythia8B_i("Pythia8B")
10 evgenConfig.generators += ["Pythia8B"]
11 evgenConfig.description = "Signal Bs->J/psi(mu0mu)phi(KK)"
12 evgenConfig.keywords = ["BPHYS"]
13 evgenConfig.minevents = 10
14 
15 # Hard process
16 topAlg.Pythia8B.Commands += ['HardQCD:all = on'] # Uncomment for MSEL1
17 #topAlg.Pythia8B.Commands += ['HardQCD:gg2bbbar = on'] # Uncomment for MSEL5
18 #topAlg.Pythia8B.Commands += ['HardQCD:qqbar2bbbar = on'] # Uncomment for MSEL5
19 topAlg.Pythia8B.Commands += ['PhaseSpace:pTHatMin = 8.'] # Equivalent of CKIN3
20 topAlg.Pythia8B.Commands += ['ParticleDecays:mixB = off']
21 topAlg.Pythia8B.Commands += ['HadronLevel:all = off']
22 
23 # Quark cuts
24 topAlg.Pythia8B.SelectBQuarks = True
25 topAlg.Pythia8B.SelectCQuarks = False
26 topAlg.Pythia8B.QuarkPtCut = 0.0
27 topAlg.Pythia8B.AntiQuarkPtCut = 6.0
28 topAlg.Pythia8B.QuarkEtaCut = 102.5
29 topAlg.Pythia8B.AntiQuarkEtaCut = 3.5
30 topAlg.Pythia8B.RequireBothQuarksPassCuts = True
31 topAlg.Pythia8B.VetoDoubleBEvents = True
32 
33 # Job options for closing B decays
34 include ("Pythia8B_i/CloseBDecays.py")
35 
36 # Signal decay (Bs->J/psi phi)
37 topAlg.Pythia8B.Commands += ['531:87:onMode = on']
38 
39 # Close all J/psi decays apart from J/psi->mumu
40 topAlg.Pythia8B.Commands += ['443:onMode = off']
41 topAlg.Pythia8B.Commands += ['443:2:onMode = on']
42 
43 # Signal topology - only events containing this sequence will be accepted
44 topAlg.Pythia8B.SignalPDGCodes = [531,443,-13,13,333,321,-321]
45 #topAlg.Pythia8B.SignalPtCuts = [0.0,0.0,2.5,2.5,0.0,0.0,0.0]
46 #topAlg.Pythia8B.SignalEtaCuts = [102.5,102.5,2.5,2.5,102.5,102.5,102.5]
47 #topAlg.Pythia8B.UserSelection = 'BJPSIPHI_TRANS'
48 
49 # Number of repeat-hadronization loops
50 topAlg.Pythia8B.NHadronizationLoops = 6
51 
52 # List of B-species - for counting purposes (no effect on generation)
53 include("Pythia8B_i/BPDGCodes.py")
54 
55 # Final state selections
56 topAlg.Pythia8B.TriggerPDGCode = 13
57 topAlg.Pythia8B.TriggerStatePtCut = [0.0]
58 topAlg.Pythia8B.TriggerStateEtaCut = 102.5
59 topAlg.Pythia8B.MinimumCountPerCut = [1]
60 
61 #Uncomment for DumpMC print-out
62 #from TruthExamples.TruthExamplesConf import DumpMC
63 #topAlg += DumpMC()
python.Include.include
include
Definition: Include.py:318