ATLAS Offline Software
ppToJpsimu0mu0.py
Go to the documentation of this file.
1 
4 
5 # General evgen config options
6 from Pythia8B_i.Pythia8B_iConf import Pythia8B_i
7 topAlg+=Pythia8B_i("Pythia8B")
8 evgenConfig.generators += ["Pythia8B"]
9 evgenConfig.description = "Inclusive pp->J/psi(mu0mu0) production"
10 evgenConfig.keywords = ["BPHYS"]
11 evgenConfig.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
17 topAlg.Pythia8B.Commands += ['PhaseSpace:pTHatMin = 1.']
18 topAlg.Pythia8B.Commands += ['ParticleDecays:mixB = off']
19 topAlg.Pythia8B.Commands += ['HadronLevel:all = on']
20 
21 # Quarkonia production mode
22 # This should be used for direct charmonium or bottomonium production
23 topAlg.Pythia8B.Commands += ['Charmonium:all = on']
24 #topAlg.Pythia8B.Commands += ['Bottomonium:all = on']
25 topAlg.Pythia8B.Commands += ['PhaseSpace:pTHatMinDiverge = 0.5']
26 topAlg.Pythia8B.SuppressSmallPT = True
27 topAlg.Pythia8B.pT0timesMPI = 1.
28 topAlg.Pythia8B.numberAlphaS = 3.
29 topAlg.Pythia8B.useSameAlphaSasMPI = False
30 # IMPORTANT: If you run in this mode you MUST also do the following
31 # (1) HardQCD:all = off or comment 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
42 topAlg.Pythia8B.SelectBQuarks = False
43 topAlg.Pythia8B.SelectCQuarks = False
44 
45 # Close all J/psi decays apart from J/psi->mumu
46 topAlg.Pythia8B.Commands += ['443:onMode = off']
47 topAlg.Pythia8B.Commands += ['443:2:onMode = on']
48 
49 # Signal topology - only events containing this sequence will be accepted
50 topAlg.Pythia8B.SignalPDGCodes = [443,-13,13]
51 
52 # Number of repeat-hadronization loops
53 topAlg.Pythia8B.NHadronizationLoops = 1
54 
55 # List of B-species - for counting purposes (no effect on generation)
56 include("Pythia8B_i/BPDGCodes.py")
57 
58 # Final state selections
59 topAlg.Pythia8B.TriggerPDGCode = 13
60 topAlg.Pythia8B.TriggerStatePtCut = [0.0]
61 topAlg.Pythia8B.TriggerStateEtaCut = [10.5]
62 topAlg.Pythia8B.MinimumCountPerCut = [2]
63 
64 #Uncomment for DumpMC print-out
65 #from TruthExamples.TruthExamplesConf import DumpMC
66 #topAlg += DumpMC()
python.Include.include
include
Definition: Include.py:319