Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::XRooFit::xRooNLLVar Class Reference

This xRooNLLVar object has several special methods, e.g.

for fitting and toy dataset generation.

Definition at line 59 of file xRooNLLVar.h.

Classes

class  xRooFitResult
 
class  xRooHypoPoint
 
class  xRooHypoSpace
 
struct  xValueWithError
 

Public Member Functions

 xRooNLLVar (const std::shared_ptr< RooAbsPdf > &pdf, const std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > &data, const RooLinkedList &opts=RooLinkedList())
 
 xRooNLLVar (const std::shared_ptr< RooAbsPdf > &pdf, const std::shared_ptr< RooAbsData > &data, const RooLinkedList &opts=RooLinkedList())
 
 xRooNLLVar (RooAbsPdf &pdf, const std::pair< RooAbsData *, const RooAbsCollection * > &data, const RooLinkedList &nllOpts=RooLinkedList())
 
 ~xRooNLLVar ()
 
void AddOption (const RooCmdArg &opt)
 
std::set< std::string > binnedChannels () const
 
double binnedDataTermVal () const
 
RooConstraintSumconstraintTerm () const
 
double constraintTermVal () const
 
RooAbsDatadata () const
 
void Draw (Option_t *opt="")
 
double extendedTermVal () const
 
std::shared_ptr< ROOT::Fit::FitConfigfitConfig ()
 
ROOT::Math::IOptionsfitConfigOptions ()
 
std::shared_ptr< RooAbsRealfunc () const
 
std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > generate (bool expected=false, int seed=0)
 
RooAbsRealget () const
 
std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > getData () const
 
double getEntryBinWidth (size_t entry) const
 
double getEntryVal (size_t entry) const
 
const RooAbsCollectionglobs () const
 
xRooHypoPoint hypoPoint (const char *parName, double value, double alt_value=std::numeric_limits< double >::quiet_NaN(), const xRooFit::Asymptotics::PLLType &pllType=xRooFit::Asymptotics::Unknown)
 
xRooHypoPoint hypoPoint (const char *parValues, double alt_value, const xRooFit::Asymptotics::PLLType &pllType)
 
xRooHypoPoint hypoPoint (double value, double alt_value=std::numeric_limits< double >::quiet_NaN(), const xRooFit::Asymptotics::PLLType &pllType=xRooFit::Asymptotics::Unknown)
 
xRooHypoSpace hypoSpace (const char *parName, int nPoints, double low, double high, double alt_value=std::numeric_limits< double >::quiet_NaN(), const xRooFit::Asymptotics::PLLType &pllType=xRooFit::Asymptotics::Unknown, int tsType=0)
 
xRooHypoSpace hypoSpace (const char *parName, xRooFit::TestStatistic::Type tsType, int nPoints=0, double low=-std::numeric_limits< double >::infinity(), double high=std::numeric_limits< double >::infinity(), double alt_value=std::numeric_limits< double >::quiet_NaN())
 
xRooHypoSpace hypoSpace (const char *parName="", const xRooFit::Asymptotics::PLLType &pllType=xRooFit::Asymptotics::Unknown, double alt_value=std::numeric_limits< double >::quiet_NaN())
 
xRooHypoSpace hypoSpace (int nPoints, double low, double high, double alt_value=std::numeric_limits< double >::quiet_NaN(), const xRooFit::Asymptotics::PLLType &pllType=xRooFit::Asymptotics::Unknown)
 
double mainTermNdof () const
 
double mainTermPgof () const
 
double mainTermVal () const
 
xRooFitResult minimize (const std::shared_ptr< ROOT::Fit::FitConfig > &=nullptr)
 
double ndof () const
 
RooAbsRealoperator-> () const
 
std::shared_ptr< RooArgSetpars (bool stripGlobalObs=true) const
 
std::shared_ptr< RooAbsPdfpdf () const
 
double pgof () const
 
void Print (Option_t *opt="")
 
void reinitialize ()
 
double saturatedConstraintTerm () const
 
double saturatedConstraintTermVal () const
 
double saturatedMainTerm () const
 
double saturatedMainTermVal () const
 
double saturatedVal () const
 
TObjectScan (const char *scanPars, const std::vector< std::vector< double > > &coords, const RooArgList &profilePars=RooArgList())
 
TObjectScan (const char *scanPars, size_t nPoints, double low, double high, const RooArgList &profilePars=RooArgList())
 
TObjectScan (const char *scanPars, size_t nPoints, double low, double high, size_t nPointsY, double ylow, double yhigh, const RooArgList &profilePars=RooArgList())
 
TObjectScan (const RooArgList &scanPars, const std::vector< std::vector< double > > &coords, const RooArgList &profilePars=RooArgList())
 
bool setData (const std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > &_data)
 
bool setData (const std::shared_ptr< RooAbsData > &data, const std::shared_ptr< const RooAbsCollection > &globs)
 
bool setData (const xRooNode &data)
 
void SetFitConfig (const std::shared_ptr< ROOT::Fit::FitConfig > &in)
 
void SetOption (const RooCmdArg &opt)
 
double simTermVal () const
 

Public Attributes

std::shared_ptr< RooAbsCollectionfConstVars
 
std::shared_ptr< RooAbsDatafData
 
std::shared_ptr< ROOT::Fit::FitConfigfFitConfig
 
std::string fFuncCreationLog
 
std::shared_ptr< RooAbsCollectionfFuncGlobs
 
std::shared_ptr< RooAbsCollectionfFuncVars
 
std::shared_ptr< const RooAbsCollectionfGlobs
 
std::shared_ptr< RooLinkedListfOpts
 
std::shared_ptr< RooAbsPdffPdf
 
bool kReuseNLL = true
 

#include <RooFit/xRooFit/xRooNLLVar.h>

Inheritance diagram for ROOT::Experimental::XRooFit::xRooNLLVar:
[legend]

Constructor & Destructor Documentation

◆ xRooNLLVar() [1/3]

xRooNLLVar::xRooNLLVar ( RooAbsPdf & pdf,
const std::pair< RooAbsData *, const RooAbsCollection * > & data,
const RooLinkedList & nllOpts = RooLinkedList() )

Definition at line 149 of file xRooNLLVar.cxx.

◆ xRooNLLVar() [2/3]

xRooNLLVar::xRooNLLVar ( const std::shared_ptr< RooAbsPdf > & pdf,
const std::shared_ptr< RooAbsData > & data,
const RooLinkedList & opts = RooLinkedList() )

Definition at line 291 of file xRooNLLVar.cxx.

◆ xRooNLLVar() [3/3]

xRooNLLVar::xRooNLLVar ( const std::shared_ptr< RooAbsPdf > & pdf,
const std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > & data,
const RooLinkedList & opts = RooLinkedList() )

Definition at line 158 of file xRooNLLVar.cxx.

◆ ~xRooNLLVar()

xRooNLLVar::~xRooNLLVar ( )

Definition at line 147 of file xRooNLLVar.cxx.

Member Function Documentation

◆ AddOption()

void ROOT::Experimental::XRooFit::xRooNLLVar::AddOption ( const RooCmdArg & opt)
inline

Definition at line 87 of file xRooNLLVar.h.

◆ binnedChannels()

std::set< std::string > xRooNLLVar::binnedChannels ( ) const

Definition at line 748 of file xRooNLLVar.cxx.

◆ binnedDataTermVal()

double xRooNLLVar::binnedDataTermVal ( ) const

Definition at line 1398 of file xRooNLLVar.cxx.

◆ constraintTerm()

RooConstraintSum * xRooNLLVar::constraintTerm ( ) const

Definition at line 1413 of file xRooNLLVar.cxx.

◆ constraintTermVal()

double xRooNLLVar::constraintTermVal ( ) const

Definition at line 903 of file xRooNLLVar.cxx.

◆ data()

RooAbsData * xRooNLLVar::data ( ) const

Definition at line 1328 of file xRooNLLVar.cxx.

◆ Draw()

void xRooNLLVar::Draw ( Option_t * opt = "")

Definition at line 1028 of file xRooNLLVar.cxx.

◆ extendedTermVal()

double xRooNLLVar::extendedTermVal ( ) const

Definition at line 1380 of file xRooNLLVar.cxx.

◆ fitConfig()

std::shared_ptr< ROOT::Fit::FitConfig > xRooNLLVar::fitConfig ( )

Definition at line 720 of file xRooNLLVar.cxx.

◆ fitConfigOptions()

ROOT::Math::IOptions * xRooNLLVar::fitConfigOptions ( )

Definition at line 727 of file xRooNLLVar.cxx.

◆ func()

std::shared_ptr< RooAbsReal > xRooNLLVar::func ( ) const

Definition at line 1263 of file xRooNLLVar.cxx.

◆ generate()

std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > xRooNLLVar::generate ( bool expected = false,
int seed = 0 )

Definition at line 484 of file xRooNLLVar.cxx.

◆ get()

RooAbsReal * ROOT::Experimental::XRooFit::xRooNLLVar::get ( ) const
inline

Definition at line 81 of file xRooNLLVar.h.

◆ getData()

std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > xRooNLLVar::getData ( ) const

Definition at line 1154 of file xRooNLLVar.cxx.

◆ getEntryBinWidth()

double xRooNLLVar::getEntryBinWidth ( size_t entry) const

Definition at line 794 of file xRooNLLVar.cxx.

◆ getEntryVal()

double xRooNLLVar::getEntryVal ( size_t entry) const

Definition at line 734 of file xRooNLLVar.cxx.

◆ globs()

const RooAbsCollection * ROOT::Experimental::XRooFit::xRooNLLVar::globs ( ) const
inline

Definition at line 454 of file xRooNLLVar.h.

◆ hypoPoint() [1/3]

xRooNLLVar::xRooHypoPoint xRooNLLVar::hypoPoint ( const char * parName,
double value,
double alt_value = std::numeric_limits<double>::quiet_NaN(),
const xRooFit::Asymptotics::PLLType & pllType = xRooFit::Asymptotics::Unknown )

Definition at line 2693 of file xRooNLLVar.cxx.

◆ hypoPoint() [2/3]

xRooHypoPoint ROOT::Experimental::XRooFit::xRooNLLVar::hypoPoint ( const char * parValues,
double alt_value,
const xRooFit::Asymptotics::PLLType & pllType )

◆ hypoPoint() [3/3]

xRooNLLVar::xRooHypoPoint xRooNLLVar::hypoPoint ( double value,
double alt_value = std::numeric_limits<double>::quiet_NaN(),
const xRooFit::Asymptotics::PLLType & pllType = xRooFit::Asymptotics::Unknown )

Definition at line 2678 of file xRooNLLVar.cxx.

◆ hypoSpace() [1/4]

xRooNLLVar::xRooHypoSpace xRooNLLVar::hypoSpace ( const char * parName,
int nPoints,
double low,
double high,
double alt_value = std::numeric_limits<double>::quiet_NaN(),
const xRooFit::Asymptotics::PLLType & pllType = xRooFit::Asymptotics::Unknown,
int tsType = 0 )

Definition at line 3026 of file xRooNLLVar.cxx.

◆ hypoSpace() [2/4]

xRooHypoSpace ROOT::Experimental::XRooFit::xRooNLLVar::hypoSpace ( const char * parName,
xRooFit::TestStatistic::Type tsType,
int nPoints = 0,
double low = -std::numeric_limits<double>::infinity(),
double high = std::numeric_limits<double>::infinity(),
double alt_value = std::numeric_limits<double>::quiet_NaN() )
inline

Definition at line 407 of file xRooNLLVar.h.

◆ hypoSpace() [3/4]

xRooNLLVar::xRooHypoSpace xRooNLLVar::hypoSpace ( const char * parName = "",
const xRooFit::Asymptotics::PLLType & pllType = xRooFit::Asymptotics::Unknown,
double alt_value = std::numeric_limits<double>::quiet_NaN() )

Definition at line 3109 of file xRooNLLVar.cxx.

◆ hypoSpace() [4/4]

xRooNLLVar::xRooHypoSpace xRooNLLVar::hypoSpace ( int nPoints,
double low,
double high,
double alt_value = std::numeric_limits<double>::quiet_NaN(),
const xRooFit::Asymptotics::PLLType & pllType = xRooFit::Asymptotics::Unknown )

Definition at line 3098 of file xRooNLLVar.cxx.

◆ mainTermNdof()

double xRooNLLVar::mainTermNdof ( ) const

Definition at line 886 of file xRooNLLVar.cxx.

◆ mainTermPgof()

double xRooNLLVar::mainTermPgof ( ) const

Definition at line 911 of file xRooNLLVar.cxx.

◆ mainTermVal()

double xRooNLLVar::mainTermVal ( ) const

Definition at line 897 of file xRooNLLVar.cxx.

◆ minimize()

xRooNLLVar::xRooFitResult xRooNLLVar::minimize ( const std::shared_ptr< ROOT::Fit::FitConfig > & _config = nullptr)

Definition at line 696 of file xRooNLLVar.cxx.

◆ ndof()

double xRooNLLVar::ndof ( ) const

Definition at line 873 of file xRooNLLVar.cxx.

◆ operator->()

RooAbsReal * ROOT::Experimental::XRooFit::xRooNLLVar::operator-> ( ) const
inline

Definition at line 82 of file xRooNLLVar.h.

◆ pars()

std::shared_ptr< RooArgSet > xRooNLLVar::pars ( bool stripGlobalObs = true) const

Definition at line 975 of file xRooNLLVar.cxx.

◆ pdf()

std::shared_ptr< RooAbsPdf > ROOT::Experimental::XRooFit::xRooNLLVar::pdf ( ) const
inline

Definition at line 452 of file xRooNLLVar.h.

◆ pgof()

double xRooNLLVar::pgof ( ) const

Definition at line 879 of file xRooNLLVar.cxx.

◆ Print()

void xRooNLLVar::Print ( Option_t * opt = "")

Definition at line 303 of file xRooNLLVar.cxx.

◆ reinitialize()

void xRooNLLVar::reinitialize ( )

Definition at line 342 of file xRooNLLVar.cxx.

◆ saturatedConstraintTerm()

double ROOT::Experimental::XRooFit::xRooNLLVar::saturatedConstraintTerm ( ) const
inline

Definition at line 476 of file xRooNLLVar.h.

◆ saturatedConstraintTermVal()

double xRooNLLVar::saturatedConstraintTermVal ( ) const

Definition at line 831 of file xRooNLLVar.cxx.

◆ saturatedMainTerm()

double ROOT::Experimental::XRooFit::xRooNLLVar::saturatedMainTerm ( ) const
inline

Definition at line 481 of file xRooNLLVar.h.

◆ saturatedMainTermVal()

double xRooNLLVar::saturatedMainTermVal ( ) const

Definition at line 921 of file xRooNLLVar.cxx.

◆ saturatedVal()

double xRooNLLVar::saturatedVal ( ) const

Definition at line 916 of file xRooNLLVar.cxx.

◆ Scan() [1/4]

TObject * xRooNLLVar::Scan ( const char * scanPars,
const std::vector< std::vector< double > > & coords,
const RooArgList & profilePars = RooArgList() )

Definition at line 985 of file xRooNLLVar.cxx.

◆ Scan() [2/4]

TObject * ROOT::Experimental::XRooFit::xRooNLLVar::Scan ( const char * scanPars,
size_t nPoints,
double low,
double high,
const RooArgList & profilePars = RooArgList() )
inline

Definition at line 446 of file xRooNLLVar.h.

◆ Scan() [3/4]

TObject * ROOT::Experimental::XRooFit::xRooNLLVar::Scan ( const char * scanPars,
size_t nPoints,
double low,
double high,
size_t nPointsY,
double ylow,
double yhigh,
const RooArgList & profilePars = RooArgList() )
inline

Definition at line 423 of file xRooNLLVar.h.

◆ Scan() [4/4]

TObject * xRooNLLVar::Scan ( const RooArgList & scanPars,
const std::vector< std::vector< double > > & coords,
const RooArgList & profilePars = RooArgList() )

Definition at line 990 of file xRooNLLVar.cxx.

◆ setData() [1/3]

bool xRooNLLVar::setData ( const std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > & _data)

Definition at line 1168 of file xRooNLLVar.cxx.

◆ setData() [2/3]

bool ROOT::Experimental::XRooFit::xRooNLLVar::setData ( const std::shared_ptr< RooAbsData > & data,
const std::shared_ptr< const RooAbsCollection > & globs )
inline

Definition at line 491 of file xRooNLLVar.h.

◆ setData() [3/3]

bool xRooNLLVar::setData ( const xRooNode & data)

Definition at line 1159 of file xRooNLLVar.cxx.

◆ SetFitConfig()

void ROOT::Experimental::XRooFit::xRooNLLVar::SetFitConfig ( const std::shared_ptr< ROOT::Fit::FitConfig > & in)
inline

Definition at line 157 of file xRooNLLVar.h.

◆ SetOption()

void xRooNLLVar::SetOption ( const RooCmdArg & opt)

Definition at line 1287 of file xRooNLLVar.cxx.

◆ simTermVal()

double xRooNLLVar::simTermVal ( ) const

Definition at line 1386 of file xRooNLLVar.cxx.

Member Data Documentation

◆ fConstVars

std::shared_ptr<RooAbsCollection> ROOT::Experimental::XRooFit::xRooNLLVar::fConstVars

Definition at line 507 of file xRooNLLVar.h.

◆ fData

std::shared_ptr<RooAbsData> ROOT::Experimental::XRooFit::xRooNLLVar::fData

Definition at line 500 of file xRooNLLVar.h.

◆ fFitConfig

std::shared_ptr<ROOT::Fit::FitConfig> ROOT::Experimental::XRooFit::xRooNLLVar::fFitConfig

Definition at line 504 of file xRooNLLVar.h.

◆ fFuncCreationLog

std::string ROOT::Experimental::XRooFit::xRooNLLVar::fFuncCreationLog

Definition at line 509 of file xRooNLLVar.h.

◆ fFuncGlobs

std::shared_ptr<RooAbsCollection> ROOT::Experimental::XRooFit::xRooNLLVar::fFuncGlobs

Definition at line 508 of file xRooNLLVar.h.

◆ fFuncVars

std::shared_ptr<RooAbsCollection> ROOT::Experimental::XRooFit::xRooNLLVar::fFuncVars

Definition at line 506 of file xRooNLLVar.h.

◆ fGlobs

std::shared_ptr<const RooAbsCollection> ROOT::Experimental::XRooFit::xRooNLLVar::fGlobs

Definition at line 501 of file xRooNLLVar.h.

◆ fOpts

std::shared_ptr<RooLinkedList> ROOT::Experimental::XRooFit::xRooNLLVar::fOpts

Definition at line 503 of file xRooNLLVar.h.

◆ fPdf

std::shared_ptr<RooAbsPdf> ROOT::Experimental::XRooFit::xRooNLLVar::fPdf

Definition at line 499 of file xRooNLLVar.h.

◆ kReuseNLL

bool ROOT::Experimental::XRooFit::xRooNLLVar::kReuseNLL = true

Definition at line 511 of file xRooNLLVar.h.

Libraries for ROOT::Experimental::XRooFit::xRooNLLVar:

The documentation for this class was generated from the following files: