whizard is hosted by Hepforge, IPPP Durham
close Warning: Error with navigation contributor "BrowserModule"

ExampleZprime: Zprime.sin

File Zprime.sin, 2.8 KB (added by Juergen Reuter, 13 years ago)
Line 
1# $Id: Zprime.sin 2272 2010-04-09 16:43:37Z kilian $
2# Simple complete physics example: sequential Z' in Drell-Yan
3########################################################################
4#
5# Copyright (C) 1999-2011 by
6#     Wolfgang Kilian <kilian@physik.uni-siegen.de>
7#     Thorsten Ohl <ohl@physik.uni-wuerzburg.de>
8#     Juergen Reuter <juergen.reuter@desy.de>
9#     Christian Speckner <christian.speckner@physik.uni-freiburg.de>
10#
11# WHIZARD is free software; you can redistribute it and/or modify it
12# under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2, or (at your option)
14# any later version.
15#
16# WHIZARD is distributed in the hope that it will be useful, but
17# WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with this program; if not, write to the Free Software
23# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24#
25########################################################################
26
27model = Zprime
28
29alias pr = u:d:s:c:gl:U:D:S:C
30alias lepton = e1:E1
31process zp_drell_yan = pr, pr => e1, E1
32
33# Define model parameters
34mZH = 1500 GeV
35wZH = 50 GeV
36ms = 0
37mc = 0
38
39# Define reasonable cuts and integrate the cross section(s)
40# in order to initialize the phase space grids for similation
41cuts = all Pt >= 50 GeV [lepton]
42       and all -2.5 <= Eta <= 2.5 [e1:E1]
43       and all M >= 800 GeV [e1,E1]
44
45# Define the process scale
46scale = 1500 GeV
47
48# Beam specification and integration
49sqrts = 14 TeV
50beams = p,p => lhapdf
51integrate (zp_drell_yan) { iterations = 3:10000,6:20000 }
52
53?unweighted = false
54
55# Define title etc. as global variables, that will be used by PLOT
56$description =
57  "A WHIZARD 2.0 Example.
58   Cuts: $p_T^\ell\ge50 \textrm{ GeV}$, $M_{\ell\ell} \ge$800 GeV,
59         $|\eta(\ell)|\le2.5$
60         \newline Using weighted events to produce smooth
61   distributions."
62$y_label = "$N_{\textrm{events}}$"
63
64# Allocate plots
65$title = "$Z'$ Drell-Yan dilepton peak $pp\to \ell\ell$"
66$x_label = "$\theta^{\ell}$/GeV"
67histogram m_lepton (1 TeV, 2 TeV, 50 GeV)
68
69$title = "$Z'$ Drell-Yan: $p_T$ distribution of the $\ell$"
70$x_label = "$p_T^{\ell}$/GeV"
71histogram pt_lepton (100 GeV, 2000 GeV, 100 GeV)
72 
73$title = "$Z'$ Drell-Yan: Angular distribution of the $\ell$"
74$x_label = "$\theta^{\ell}$/rad"
75histogram th_lepton (0, pi)
76
77analysis = record m_lepton (eval M [e1,E1]);
78           record pt_lepton (eval Pt [e1]);
79           record th_lepton (eval Theta [e1])
80
81# Set the desired numbers of events...
82n_events = 100000
83
84# ... and simulate, requesting status information every 5000 events
85simulate (zp_drell_yan) {checkpoint = 5000}
86
87compile_analysis { $out_file = "Zprime.dat" }