Skip to content

elaird/ra1stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RA1STATS

License

GPLv3

Quick Start

  1. Clone the repository:
git clone https://github.com/elaird/ra1stats.git
cd ra1stats
git submodule update --init
  1. If needed, set up the environment:
source env.sh
  1. Run it:
./stats.py --help
./test.py --help

Brief Description

  • 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.

Requirements

  • ROOT >= v5.32.01
  • python >= v2.6

Notes

Useful pages for setting up and learning pyROOT: here and here

Bugs

Please report any problems on our issues page

About

statistics for RA1 analysis using RooFit

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7