12 #ifndef ROOSTATS_ProfileLikelihoodTestStat 13 #define ROOSTATS_ProfileLikelihoodTestStat 50 fVarName =
"Profile Likelihood Ratio";
70 fVarName =
"Profile Likelihood Ratio";
RooArgSet * fDetailedOutput
void SetPrintLevel(Int_t printlevel)
virtual const RooArgSet * GetDetailedOutput(void) const
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will no...
virtual RooAbsPdf * GetPdf() const
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...
ProfileLikelihoodTestStat()
static int DefaultStrategy()
void SetOneSided(Bool_t flag=true)
static Bool_t fgAlwaysReuseNll
const RooArgSet * fCachedBestFitParams
virtual void EnableDetailedOutput(bool e=true, bool withErrorsAndPulls=false)
virtual const TString GetVarName() const
virtual Double_t EvaluateProfileLikelihood(int type, RooAbsData &data, RooArgSet ¶msOfInterest)
internal function to evaluate test statistics can do depending on type:
void SetMinimizer(const char *minimizer)
void SetReuseNLL(Bool_t flag)
bool IsOneSidedDiscovery() const
#define ClassDef(name, id)
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
static void SetAlwaysReuseNLL(Bool_t flag)
void SetLOffset(Bool_t flag=kTRUE)
static const std::string & DefaultMinimizerType()
virtual void SetConditionalObservables(const RooArgSet &set)
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...
bool fDetailedOutputWithErrorsAndPulls
static int DefaultPrintLevel()
RooAbsData is the common abstract base class for binned and unbinned datasets.
void SetOneSidedDiscovery(Bool_t flag=true)
ProfileLikelihoodTestStat is an implementation of the TestStatistic interface that calculates the pro...
void SetSigned(Bool_t flag=true)
Namespace for the RooStats classes.
bool fDetailedOutputEnabled
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
void SetTolerance(double tol)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
void SetStrategy(Int_t strategy)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooArgSet fConditionalObs
Short_t Max(Short_t a, Short_t b)
RooFitResult * GetMinNLL()
find minimum of NLL using RooMinimizer
ProfileLikelihoodTestStat(RooAbsPdf &pdf)
static double DefaultTolerance()
virtual void SetVarName(const char *name)
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
virtual ~ProfileLikelihoodTestStat()