HybridCalculatorOriginal.cxx File Reference

#include "RooDataHist.h"
#include "RooDataSet.h"
#include "RooGlobalFunc.h"
#include "RooNLLVar.h"
#include "RooRealVar.h"
#include "RooAbsData.h"
#include "RooWorkspace.h"
#include "TH1.h"
#include "RooStats/HybridCalculatorOriginal.h"

Go to the source code of this file.

Functions

 ClassImp (RooStats::HybridCalculatorOriginal) using namespace RooStats


Function Documentation

ClassImp ( RooStats::HybridCalculatorOriginal   ) 

HybridCalculatorOriginal class: this class is a fresh rewrite in RooStats of RooStatsCms/LimitCalculator developped by D. Piparo and G. Schott Authors: D. Piparo, G. Schott - Universitaet Karlsruhe

The class is born from the need to have an implementation of the CLs method that could take advantage from the RooFit Package. The basic idea is the following:

The class allows the user to input models as RooAbsPdf ( TH1 object could be used by using the RooHistPdf class) The pdfs must be "extended": for more information please refer to http://roofit.sourceforge.net). The dataset can be entered as a RooAbsData objects.

Unlike the TLimit Class a complete MC generation is performed at each step and not a simple Poisson fluctuation of the contents of the bins. Another innovation is the treatment of the nuisance parameters. The user can input in the constructor nuisance parameters. To include the information that we have about the nuisance parameters a prior PDF (RooAbsPdf) should be specified

Different test statistic can be used (likelihood ratio, number of events or profile likelihood ratio. The default is the likelihood ratio. See the method SetTestStatistic.

The number of toys to be generated is controlled by SetNumberOfToys(n).

The result of the calculations is returned as a HybridResult object pointer.

see also the following interesting references:


Generated on Tue Jul 5 16:08:49 2011 for ROOT_528-00b_version by  doxygen 1.5.1