12#ifndef ROOSTATS_ProfileLikelihoodTestStat
13#define ROOSTATS_ProfileLikelihoodTestStat
50 fVarName =
"Profile Likelihood Ratio";
70 fVarName =
"Profile Likelihood Ratio";
#define ClassDef(name, id)
static int DefaultPrintLevel()
static double DefaultTolerance()
static const std::string & DefaultMinimizerType()
static int DefaultStrategy()
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
ProfileLikelihoodTestStat is an implementation of the TestStatistic interface that calculates the pro...
void SetPrintLevel(Int_t printlevel)
virtual void SetConditionalObservables(const RooArgSet &set)
interface to set conditional observables. If a test statistics needs them it will re-implement this f...
ProfileLikelihoodTestStat(RooAbsPdf &pdf)
bool IsOneSidedDiscovery() const
RooArgSet fConditionalObs
virtual void EnableDetailedOutput(bool e=true, bool withErrorsAndPulls=false)
static Bool_t fgAlwaysReuseNll
virtual Double_t EvaluateProfileLikelihood(int type, RooAbsData &data, RooArgSet ¶msOfInterest)
internal function to evaluate test statistics can do depending on type:
void SetReuseNLL(Bool_t flag)
bool fDetailedOutputWithErrorsAndPulls
static void SetAlwaysReuseNLL(Bool_t flag)
void SetTolerance(double tol)
ProfileLikelihoodTestStat()
virtual void SetGlobalObservables(const RooArgSet &set)
interface to set global observables. If a test statistics needs them it will re-implement this functi...
virtual const RooArgSet * GetDetailedOutput(void) const
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will no...
void SetSigned(Bool_t flag=true)
virtual Double_t Evaluate(RooAbsData &data, RooArgSet ¶msOfInterest)
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters O...
virtual ~ProfileLikelihoodTestStat()
RooArgSet * fDetailedOutput
virtual const TString GetVarName() const
void SetOneSided(Bool_t flag=true)
const RooArgSet * fCachedBestFitParams
void SetOneSidedDiscovery(Bool_t flag=true)
virtual void SetVarName(const char *name)
virtual RooAbsPdf * GetPdf() const
void SetMinimizer(const char *minimizer)
void SetStrategy(Int_t strategy)
RooFitResult * GetMinNLL()
find minimum of NLL using RooMinimizer
void SetLOffset(Bool_t flag=kTRUE)
bool fDetailedOutputEnabled
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
Namespace for the RooStats classes.
Short_t Max(Short_t a, Short_t b)