whizard is hosted by Hepforge, IPPP Durham

Changes between Initial Version and Version 1 of ExampleCC10


Ignore:
Timestamp:
May 20, 2010, 10:48:30 AM (15 years ago)
Author:
Juergen Reuter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExampleCC10

    v1 v1  
     1Define the model:
     2
     3{{{
     4model = SM
     5}}}
     6
     7This is the CC10 charged current process important
     8for LEP physics. No flavor summation for jets here.
     9
     10{{{
     11process cc10 = e1, E1 => e2, N2, u, D
     12}}}
     13
     14Compilation (optional):
     15
     16{{{
     17compile
     18}}}
     19
     20We set the muon mass to zero.
     21
     22{{{
     23mmu = 0
     24}}}
     25
     26The final LEP energy:
     27
     28{{{
     29sqrts = 209 GeV
     30}}}
     31
     32Integrate the process:
     33
     34{{{
     35integrate (cc10) { iterations = 12:20000 }
     36}}}
     37
     38We set a luminosity of 10 inverse femtobarn
     39
     40{{{
     41luminosity = 10
     42}}}
     43
     44Define title etc. as global variables, that will be used by PLOT
     45
     46{{{
     47$description =
     48  "A WHIZARD 2.0 Example.
     49   Charged current CC10 process from LEP 2."
     50$ylabel = "$N_{\textrm{events}}$"
     51}}}
     52
     53Allocate plots and set up the analysis:
     54
     55{{{
     56$title = "Di-jet invariant mass $M_{jj}$ in $e^+e^- \to \mu^- \bar\nu_\mu u \bar d$"
     57$xlabel = "$M_{jj}$/GeV"
     58histogram m_jets (70 GeV, 90 GeV, 0.5 GeV)
     59
     60$title = "Muon energy $E_\mu$ in $e^+e^- \to \mu^- \bar\nu_\mu u \bar d$"
     61$xlabel = "E_\mu$/GeV"
     62histogram e_muon (0 GeV, 209 GeV, 4)
     63
     64analysis = record m_jets (eval M [u,D]);
     65           record e_muon (eval E [e2])
     66}}}
     67
     68Simulate and write out the analysis:
     69
     70{{{
     71simulate (cc10)
     72
     73$analysis_filename = "cc10"
     74write_analysis
     75}}}