Download Latest Version qtfit.tar.gz (2.9 MB)
Email in envelope

Get an email when there's a new version of qtFit

Home
Name Modified Size InfoDownloads / Week
README.md 2015-04-22 3.8 kB
qtfit.tar.gz 2015-04-22 2.9 MB
Totals: 2 Items   2.9 MB 1

Description: qtfit is used to fit data, plot the results, log them into databases. This program is developped by Hassan Saadaoui and the program is maintained as needed. The pogram is open source and released under the General Pulbic Licence (GPL). No warranty or guarrantee of the results is implied. If you used this program please acknowledge the author, it is the least you can do to encourage future developments and maintenance of the code. For any questions, please email at "saadaoui ^at^ qtfit.ca". Copyright© 2015

Install instructions

0) Pre-install:

  • In addition to qtfit, you also need: (1) Qt, and (2) Minuit.

  • It is assumed for clarity, in all that follows, that you unpack your downloads to your home folder ~/ (done using -C ~/ or -d ~/).

  • That is optional, you may unpack elsewhere else like; ~/softwares, ~/downloads. Without -C or -d your unpacks will appear in your current directory.

  • Any line here preceeded by the $ sign, is a command line that you may copy and paste to your terminal.

  • These instructions are meant for Linux users only. Mac users may find them useful, and Windows is not supported yet.

  • Download the latest qtfit from local computers, sourceforge, or github.

    $ wget https://sourceforge.net/projects/qtfit/files/qtfit.tar.gz/download

  • Unpack it

    $ tar -xvf qtfit.tar.gz -C ~/

1) Qt: Download the Qt online installer from http://www.qt.io/download-open-source/ and follow the instructions. You need 5.x or 4.x.x installed.

2) Minuit

-i) Download latest Minuit2 located at:

  http://seal.web.cern.ch/seal/snapshot/work-packages/mathlibs/minuit/release/download.html

-ii) Unpack and cd

  $ tar -xvf minuit.tar.gz -C ~/

  $ cd ~/minuit

-ii) To install follor the instructions at:

  http://seal.web.cern.ch/seal/snapshot/work-packages/mathlibs/minuit/gettingStarted/autoconf.html

-iii) Make SURE that the tests in the tutorial are running as described in the link below

  http://seal.web.cern.ch/seal/snapshot/work-packages/mathlibs/minuit/gettingStarted/testOutput.html

-iv) - Copy (as superuser) the miniut libraries from minuit/src/.lib/liblcg_Minuit.* to /usr/lib/

  $ sudo cp minuit/src/.lib/liblcg_Minuit.* /usr/lib/

-v) - Update ldconfig

  $ sudo ldconfig

Notes: it is somewhat a challenge to compile Minuit2. These extra notes maybe useful.

-Depending on your system, you may need to modify few codes namely src/MnUserTransformation.cpp and add #include <cstdio> or #include <cstdio.h> just below #include <algorithm> and re-compile.

-Locate where libraries and header files are, hopefully in /usr/local/include/Minuit2, and /usr/local/lib/

-Add the path /usr/local/lib/ to /etc/ld.so.conf as described here http://stackoverflow.com/questions/1099981/why-cant-python-find-shared-objects-that-are-in-directories-in-sys-path

$ export LD_LIBRARY_PATH=/usr/local/lib or $ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

-Run ldconfig

$ sudo ldconfig

3) qtfit:

-i) cd to the downloaded package

$ cd ~/qtfit

-ii) If Qt binaries are not in your path, set the env (Must locate where qmake is)

$ PATH=/usr/Qt/5.4/gcc_64/bin:$PATH  (change "/usr/Qt/5.4/gcc_64/bin" as per your system)
$ export

-iii) Run qmake and make install (as root)

$ qmake
$ make
$ sudo make install

-v) cd to directory fct/ and compile all the libraries using the script compile

$ cd fct
$ sudo ./compile

-vi) To test the gui, invoke

$ qtfit

or

$./qtfit if not installed as root.
Source: README.md, updated 2015-04-22