Download and Installation Instructions

Since several of the constraining functions in THERMUS use `Numerical Recipes in C' code (which is under copyright) it is required that THERMUS users have their own copies of this software. Then, with ROOT already installed on your system, follow these steps:
  1. Download the THERMUS source:

    THERMUS V1.0 (15 July 2004)
    THERMUS V1.0 with minor corrections for use with newer versions of ROOT (28 April 2005)
    THERMUS V2.0 (18 August 2005)
    THERMUS V2.0 with minor correction for use with newer versions of ROOT (5 March 2007)
    THERMUS V2.1 (23 October 2007)

    THERMUS V2.2 contains the framework to treat charm and beauty grand-canonically (4 March 2011)

    Extended Particle Set compiled by Dawit Worku and Jean Cleymans including hadrons containing c and b quarks (6 June 2011). Remember to set the second argument of the TTMParticleSet constructor to "true" when using this set of particles.


    MacOS Makefiles Makefiles for MacOS kindly provided by Boris Hippolyte



  2. Unzip and untar the downloaded file:

    [ ]$ gunzip filename
    [ ]$ tar -xvf filename

  3. Set an environment variable `THERMUS' to point at the top-level directory containing the THERMUS code

  4. Copy the following `Numerical Recipes in C' functions to "$(THERMUS)/nrc/":

    broydn.c rsolv.c
    fdjac.c fmin.c
    lnsrch.c nrutil.c
    nrutil.h qrdcmp.c
    qrupdt.c rotate.c
    zbrent.c

  5. Use the makefiles in "$(THERMUS)/functions", "$(THERMUS)/nrc" and "$(THERMUS)/main" to build the libFunctions.so, libNRCFunctions.so and libTHERMUS.so shared object files respectively:

    [$(THERMUS)/functions]$ make all
    [$(THERMUS)/nrc]$ make all
    [$(THERMUS)/main]$ make all

  6. Finally, open a ROOT session, load the libraries and begin:

    [ ]$ root

    ******************************************
    *
    * W E L C O M E to R O O T
    *
    * Version 3.10/02 16 February 2004
    *
    * You are welcome to visit our Web site
    * http://root.cern.ch
    *
    ******************************************

    FreeType Engine v2.1.3 used to render TrueType fonts.
    Compiled for linux with thread support.

    CINT/ROOT C/C++ Interpreter version 5.15.115, Dec 9 2003
    Type ? for help. Commands must be C++ statements.
    Enclose multiple statements between { }.

    root [ ] gSystem->Load("./lib/libFunctions.so");
    root [ ] gSystem->Load("./lib/libNRCFunctions.so");
    root [ ] gSystem->Load("./lib/libTHERMUS.so");