- Clone the repository:
git clone https://github.com/elaird/ra1stats.git
cd ra1stats
git submodule update --init- If needed, set up the environment:
source env.sh- Run it:
./stats.py --help
./test.py --help-
The likelihood function is built in workspace.py. To fit a set of data or test a signal model, one uses an instance of the class driver.driver.
-
test.py shows how to use an instance of driver, and will produce a pdf file in the subdirectory plots. The observations, MC yields, etc. are stored in inputData/. The switches selecting options for the likelihood are in likelihood/.
-
stats.py allows one to run on many signal models in parallel, using either one computer (
--local) or a farm (--batch). The results are merged into a root file using--merge.
- ROOT >= v5.32.01
- python >= v2.6
Useful pages for setting up and learning pyROOT: here and here
Please report any problems on our issues page