-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbenRun_mdm_0d.py
executable file
·59 lines (49 loc) · 1.73 KB
/
benRun_mdm_0d.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#! /usr/bin/env python2
# Z' cross-section and BR calculations including off-shell effects
# by Ben Allanach
# The model file must be in the correct madgraph subdirectory models/
# This file should be in the bin/ subdirectory
# VERIFIED
import math
import sys
import benRun
# Test correct number of arguments used
if len(sys.argv) != 3 :
print ('2 arguments required but only received %d' %
len(sys.argv))
print "Call with ./benRun_mdm_0d.py <MZ'> <gsb>"
quit()
mzp = float(sys.argv[1])
gsb = float(sys.argv[2])
if (gsb > 0.):
print ('gsb=%5.3e' % gsb + ' should be less than zero')
quit()
model_dir = "Zprime_MDM_UFO"
mg5_path = "../"
# Initial parameters
beam_energy = 6500.0 # LHC Run II
# 0d scan usually requires decent precision
number_of_events = 1000
# mod of value of Wilson coefficient cbar_LL: default
x = 1.06
benRun.print_header(x, beam_energy, model_dir, number_of_events,
' gmu lg10(gtt) ')
process_list = ['p p > zp > mu+ mu-',
'u u~ > zp > mu+ mu-',
'u c~ > zp > mu+ mu-',
'u~ c > zp > mu+ mu-',
'c c~ > zp > mu+ mu-',
'd d~ > zp > mu+ mu-',
'd s~ > zp > mu+ mu-',
'd~ s > zp > mu+ mu-',
'd b~ > zp > mu+ mu-',
'd~ b > zp > mu+ mu-',
's s~ > zp > mu+ mu-',
's b~ > zp > mu+ mu-',
's~ b > zp > mu+ mu-',
'b b~ > zp > mu+ mu-']
for process in process_list:
gmu = -(mzp / 3.6e4)**2 * x / gsb
gtt = -gsb * 25.0
lg10_gtt = math.log(gtt) / math.log(10.)
benRun.do_a_point(gmu, lg10_gtt, process, model_dir, mg5_path, number_of_events, beam_energy, mzp)