Fitter code

Getting the files

  • First clone the gitlab repository:
    git clone
  • Enter the xsLLhFitter directory:
    cd xsLLhFitter/
  • Then checkout the fluxpar branch (or the branch you want to use):
    git checkout remotes/origin/fluxpar
  • Create your own branch (called my_branch here but you can call it whatever you want) which will be a copy of the fluxpar branch:
    git checkout -b my_branch
  • Currently my_branch is in the detached head state. To change this and be able to pull changes from the GitLab repository, do the following:
    git branch --set-upstream-to=remotes/origin/fluxpar my_branch
  • Now if you want to update and incorporate the latest changes from the repository, do this:
    git pull


  • To compile we need:
    • GCC 4.8.5+ or Clang 3.3+ (a C++11 enabled compiler). You can check the version with
      gcc --version
      clang --version
    • CMake 3.5+
    • ROOT 6
  • On LXPLUS, source the following each time you plan to work with the fitter:
    export PATH=/cvmfs/${PATH}
    source /cvmfs/
  • Then source the script inside the xsLLhFitter directory:
  • The first time this script is run it will notify you that it cannot find the build setup script, this is normal. The fitter is designed to be built in a build directory specified by the user and is configured using CMake.
  • Now we build the fitter:
    mkdir build; cd build
    cmake ../
    make install -j
    cd ../

CasparMariaSchlosser - 2020-04-04

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2020-08-08 - CasparMariaSchlosser
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback