12#ifndef ROOSTATS_ProfileLikelihoodTestStat
13#define ROOSTATS_ProfileLikelihoodTestStat
105 std::unique_ptr<RooFitResult>
GetMinNLL();
108 std::unique_ptr<RooAbsReal>
fNll;
#define ClassDefOverride(name, id)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
Abstract base class for binned and unbinned datasets.
Abstract interface for all probability density functions.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
ProfileLikelihoodTestStat is an implementation of the TestStatistic interface that calculates the pro...
void SetLOffset(std::string const &mode)
void SetPrintLevel(Int_t printlevel)
ProfileLikelihoodTestStat(RooAbsPdf &pdf)
bool IsOneSidedDiscovery() const
std::unique_ptr< RooArgSet > fDetailedOutput
!
RooArgSet fConditionalObs
conditional observables
virtual void EnableDetailedOutput(bool e=true, bool withErrorsAndPulls=false)
void SetOneSidedDiscovery(bool flag=true)
bool fDetailedOutputWithErrorsAndPulls
double Evaluate(RooAbsData &data, RooArgSet ¶msOfInterest) override
Main interface to evaluate the test statistic on a dataset.
std::unique_ptr< RooAbsReal > fNll
void SetConditionalObservables(const RooArgSet &set) override
set the conditional observables which will be used when creating the NLL so the pdf's will not be nor...
void SetReuseNLL(bool flag)
void SetGlobalObservables(const RooArgSet &set) override
set the global observables which will be used when creating the NLL so the constraint pdf's will be n...
void SetTolerance(double tol)
static void SetAlwaysReuseNLL(bool flag)
static bool fgAlwaysReuseNll
~ProfileLikelihoodTestStat() override
void SetLOffset(bool flag=true)
void SetSigned(bool flag=true)
virtual double EvaluateProfileLikelihood(int type, RooAbsData &data, RooArgSet ¶msOfInterest)
evaluate the profile likelihood ratio (type = 0) or the minimum of likelihood (type=1) or the conditi...
RooArgSet fGlobalObs
global observables
const RooArgSet * GetDetailedOutput(void) const override
Returns detailed output.
const RooArgSet * fCachedBestFitParams
const TString GetVarName() const override
void SetOneSided(bool flag=true)
virtual void SetVarName(const char *name)
virtual RooAbsPdf * GetPdf() const
void SetMinimizer(const char *minimizer)
void SetStrategy(Int_t strategy)
std::unique_ptr< RooFitResult > GetMinNLL()
find minimum of NLL using RooMinimizer
bool fDetailedOutputEnabled
this will store a snapshot of the unconditional nuisance parameter fit.
TestStatistic is an interface class to provide a facility for construction test statistics distributi...
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Namespace for the RooStats classes.
std::string const & NLLOffsetMode()
Test what offsetting mode RooStats should use by default.