-
Notifications
You must be signed in to change notification settings - Fork 0
/
benRun_ty3_2d.py
executable file
·40 lines (31 loc) · 1.1 KB
/
benRun_ty3_2d.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
#! /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) != 2 :
print ('1 arguments required but only received %d' %
len(sys.argv))
print "Call with ./benRun_ty3_2d.py <x>"
quit()
model_dir = "Zprime_TTFHM_UFO"
mg5_path = "../"
# Initial parameters
beam_energy = 6500.0 # LHC Run II
# 2d scan usually requires no particular accuracy
number_of_events = 1
# mod of value of Wilson coefficient cbar_LL
x = float(sys.argv[1])
benRun.print_header(x, beam_energy, model_dir, number_of_events,
' g/M gzp ')
process = 'p p > zp > mu+ mu-'
for mzp in range(200, 6100, 100):
for g_o_m in benRun.my_range(0.2, 0.35, 0.01):
gzp = g_o_m * mzp / 1000
benRun.do_a_point(g_o_m, gzp, process, model_dir, mg5_path,
number_of_events, beam_energy, mzp)