whizard is hosted by Hepforge, IPPP Durham

Changes between Initial Version and Version 1 of ExampleWendpoint


Ignore:
Timestamp:
Apr 12, 2010, 10:21:45 AM (14 years ago)
Author:
ohl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExampleWendpoint

    v1 v1  
     1{{{
     2model = SM
     3}}}
     4Set up the process
     5{{{
     6alias parton = u:U:d:D:g
     7alias jet = parton
     8}}}
     9We could have added strange and charm jets:
     10{{{
     11# alias jet = parton:s:S:c:C
     12}}}
     13{{{
     14alias lepton = e1:e2
     15alias neutrino = n1:N1:n2:N2
     16}}}
     17{{{
     18process enj = parton, parton => lepton, neutrino, jet
     19compile
     20}}}
     21LHC design energy
     22{{{
     23sqrts = 14 TeV
     24beams = p, p => lhapdf { $lhapdf_file = "cteq5l.LHgrid" }
     25}}}
     26Define reasonable cuts and integrate the cross section(s) in order to initialize the phase space grids for similation
     27{{{
     28cuts = all Pt >= 10 GeV [jet:lepton]
     29integrate (enj) { iterations = 5:20000 }
     30}}}
     31Define title etc. as global variables, that will be used by PLOT
     32{{{
     33$description =
     34  "A WHIZARD 2.0 Example."
     35$ylabel = "$N_{\textrm{events}}$"
     36}}}
     37Allocate plots
     38{{{
     39$title = "$W$ Endpoint (``Jacobian Peak'') in $pp\to \ell\bar\nu j$"
     40$xlabel = "$p_T^\ell$/GeV"
     41histogram pt_lepton (0 GeV, 80 GeV, 2 GeV)
     42}}}
     43{{{
     44$title = "Jet-$p_T$ in $pp\to \ell\bar\nu j$"
     45$xlabel = "$p_T^j$/GeV"
     46histogram pt_jet (0 GeV, 80 GeV, 2 GeV)
     47}}}
     48{{{
     49$title = "Lepton Energy in $pp\to \ell\bar\nu j$"
     50$xlabel = "$E^\ell$/GeV"
     51histogram e_lepton (0 GeV, 160 GeV, 4 GeV)
     52}}}
     53{{{
     54$title = "Jet Energy in $pp\to \ell\bar\nu j$"
     55$xlabel = "$E^j$/GeV"
     56histogram e_jet (0 GeV, 80 GeV, 2 GeV)
     57}}}
     58Record transverse momenta and energies
     59{{{
     60analysis = record pt_lepton (eval Pt [extract index 1 [sort by Pt [lepton]]])
     61       and record pt_jet (eval Pt [extract index 1 [sort by Pt [jet]]])
     62       and record e_lepton (eval E [extract index 1 [sort by Pt [lepton]]])
     63       and record e_jet (eval E [extract index 1 [sort by Pt [jet]]])
     64}}}
     65{{{
     66simulate (enj) { n_events = 1000 }
     67}}}
     68{{{
     69$analysis_filename = "W-endpoint"
     70write_analysis
     71}}}