22.02.2013 Views

A Mathematica based Version of the CKMfitter Package

A Mathematica based Version of the CKMfitter Package

A Mathematica based Version of the CKMfitter Package

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18 Chapter 4. A <strong>Ma<strong>the</strong>matica</strong> <strong>based</strong> <strong>Version</strong> <strong>of</strong> <strong>the</strong> <strong>CKMfitter</strong> <strong>Package</strong><br />

The core <strong>of</strong> <strong>Ma<strong>the</strong>matica</strong> is <strong>the</strong> kernel, which interactively performs <strong>the</strong> calculation.<br />

The user interacts with <strong>the</strong> kernel via a front-end, where a graphical version is available<br />

as well as a commandline interface.<br />

Since <strong>the</strong> terminology <strong>of</strong> <strong>Ma<strong>the</strong>matica</strong> is used in this work, Appendix E.1 gives a<br />

short overview about relevant terms and commands. A more detailed documentation<br />

is provided on <strong>the</strong> <strong>Ma<strong>the</strong>matica</strong> website [22].<br />

4.2 <strong>Package</strong> Structure<br />

The <strong>Ma<strong>the</strong>matica</strong> <strong>based</strong> version <strong>of</strong> <strong>the</strong> <strong>CKMfitter</strong> package is modularly composed <strong>of</strong><br />

several <strong>Ma<strong>the</strong>matica</strong> notebooks and packages. Fur<strong>the</strong>rmore, <strong>the</strong>re are FORTRAN<br />

files from <strong>the</strong> minimization routine and datacards in ASCII format. In Table 4.1,<br />

<strong>the</strong> content <strong>of</strong> <strong>the</strong> most relevant directories is shown.<br />

<strong>CKMfitter</strong> Directory File Content<br />

analysis/ datacards<br />

fortran/ minimir.f, fit.f, dmnfg.f, specialfunctions.f<br />

inputs/ input datacards, χ 2 -input tables, PDG.m<br />

lib/ AnalysisLib.m, FitLib.m<br />

<strong>the</strong>ories/ <strong>the</strong>ory packages, TheoryTutorial.nb<br />

tools/ CreateInputTable.nb<br />

<strong>CKMfitter</strong>.nb<br />

Table 4.1: Directory structure <strong>of</strong> <strong>the</strong> <strong>Ma<strong>the</strong>matica</strong> <strong>based</strong> <strong>CKMfitter</strong> package<br />

The user interface is <strong>the</strong> <strong>CKMfitter</strong>.nb notebook. It is located in <strong>the</strong> main directory,<br />

but should be copied to ano<strong>the</strong>r analysis specific directory, outside <strong>of</strong> <strong>the</strong><br />

<strong>CKMfitter</strong> package. For <strong>the</strong> sake <strong>of</strong> clarity, complex functions and subroutines are<br />

sourced out from <strong>the</strong> user interface to library packages. The AnalysisLib package<br />

contains all relevant subroutines for <strong>the</strong> data processing inside <strong>the</strong> <strong>Ma<strong>the</strong>matica</strong><br />

environment, e. g. subroutines to load datacards and <strong>the</strong>ory packages. The second<br />

library package is named FitLib and includes all functions for <strong>the</strong> interaction <strong>of</strong><br />

<strong>CKMfitter</strong>.nb with <strong>the</strong> FORTRAN minimization routine. It provides for example<br />

a subroutine, which translates <strong>the</strong> <strong>Ma<strong>the</strong>matica</strong> expressions to FORTRAN code.<br />

As in <strong>the</strong> original <strong>CKMfitter</strong> package, a fit is userfriendly driven by datacards. Since<br />

<strong>the</strong>se are ASCII text files, <strong>the</strong>y can be edited without using <strong>Ma<strong>the</strong>matica</strong> in a plain<br />

text editor. In a datacard, all flags and options <strong>of</strong> a selected analysis are set, e. g. <strong>the</strong><br />

context name, <strong>the</strong> fit variables and <strong>the</strong> scan granularity. A more detailed description<br />

<strong>of</strong> <strong>the</strong> relevant fit options and settings is given in Appendix E.2.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!