Full Documentation
This was just a quick start guide for the full documentation please go to the documentation page
Get hold of the code from github (see Installation
below for command line instructions).
If you want to push changes back to the repository please push to your own fork and submit a pull
request to the main project.
The most up to date version will usually exist on the development
branch which is
sporadically merged with the master
branch.
Our policy is never to push directly to the master
GammaCombo has the following package dependencies. It has been tested on both MacOS and Linux platforms.
If you are a CERN user running on lxplus then the environment setup can be automatically handled by the
scripts/setup_lxplus.sh
script, otherwise you will require the following:
The following steps will install the code. Note you will need a github user account and will need to setup an ssh key first - see here
git clone git@github.com:gammacombo/gammacombo.git
cd gammacombo
git checkout development
mkdir build
cd build
cmake ..
make # use make -j8 to install on multiple cores
make install
For each measurement you would like to perform you should make a subdirectory in the
top level gammacombo
directory. There are some tutorials already provided in the
tutorial
subdirectory. The majority of the code used for statistical analysis, plotting etc.
is kept in the core
subdirectory. The following subsections demonstrate how to run two of the
tutorials.
A tutorial which combines various measurements of observables which all depend on some common parameters
Follow the installation instructions above to install the software
cd ../tutorial # note you should NOT be in the build subdirectory
bin/tutorial -u # will print the various usage options
bin/tutorial -c 7 --info # will print some information about combination number 7
bin/tutorial -c 7 --info -v # will print detailed information about combination number 7
bin/tutorial -c 7 --var a_gaus # likelihood scan for parameter "a_gaus"
bin/tutorial -c 4 -c 7 --var a_gaus --var b_gaus # 2D scan for combinations 4 and 7
bin/tutorial -c 6 --var a_gaus --var b_gaus --scanrange -3:3 --scanrangey -3:3 # scan in a different range
-a plot
option)bin/tutorial -c 4 -c 6 -c 7 --var a_gaus --var b_gaus -a plot # should produce plot shown below
-h
option.
A tutorial which fits a dataset and measures parameters of the fit model
Follow the installation instructions above to install the software
cd ../tutorial # note you should NOT be in the build subdirectory
bin/tutorial_dataset_build_workspace # will create the file workspace.root
bin/tutorial_dataset --var branchingRatio --scanrange 0:1.e-6 # likelihood scan for parameter "branchingRatio"
-a plot
option)bin/tutorial_dataset --var branchingRatio --scanrange 0:1.e-6 -a plot --cls 1 # add the CLs method as well
-h
option.
This was just a quick start guide for the full documentation please go to the documentation page
To see some real life examples (and step by steps guides on how to produce them) go to the examples page