// @(#)root/roostats:$Id: cranmer $
// Author: Kyle Cranmer, Akira Shibata
/*************************************************************************
* Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
//_________________________________________________
/*
BEGIN_HTML
This is a package that creates a RooFit probability density function from ROOT histograms
of expected distributions and histograms that represent the +/- 1 sigma variations
from systematic effects. The resulting probability density function can then be used
with any of the statistical tools provided within RooStats, such as the profile
likelihood ratio, Feldman-Cousins, etc. In this version, the model is directly
fed to a likelihodo ratio test, but it needs to be further factorized.
The user needs to provide histograms (in picobarns per bin) and configure the job
with XML. The configuration XML is defined in the file config/Config.dtd, but essentially
it is organized as follows (see config/Combination.xml and config/ee.xml for examples)
- - a top level 'Combination' that is composed of:
- - several 'Channels' (eg. ee, emu, mumu), which are composed of:
- - several 'Samples' (eg. signal, bkg1, bkg2, ...), each of which has:
- - a name
- - if the sample is normalized by theory (eg N = L*sigma) or not (eg. data driven)
- - a nominal expectation histogram
- - a named 'Normalization Factor' (which can be fixed or allowed to float in a fit)
- - several 'Overall Systematics' in normalization with:
- - a name
- - +/- 1 sigma variations (eg. 1.05 and 0.95 for a 5% uncertainty)
- - several 'Histogram Systematics' in shape with:
- - a name (which can be shared with the OverallSyst if correlated)
- - +/- 1 sigma variational histograms
- - several 'Measurements' (corresponding to a full fit of the model) each of which specifies
- - a name for this fit to be used in tables and files
- - what is the luminosity associated to the measurement in picobarns
- - which bins of the histogram should be used
- - what is the relative uncertainty on the luminosity
- - what is (are) the parameter(s) of interest that will be measured
- - which parameters should be fixed/floating (eg. nuisance parameters)
END_HTML
*/
//
// from std
#include
#include
#include