This xRooNLLVar object has several special methods, e.g.
for fitting and toy dataset generation.
Definition at line 58 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 |
RooConstraintSum * | constraintTerm () const |
double | constraintTermVal () const |
RooAbsData * | data () const |
void | Draw (Option_t *opt="") |
double | extendedTermVal () const |
std::shared_ptr< ROOT::Fit::FitConfig > | fitConfig () |
ROOT::Math::IOptions * | fitConfigOptions () |
std::shared_ptr< RooAbsReal > | func () const |
std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > | generate (bool expected=false, int seed=0) |
RooAbsReal * | get () 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 RooAbsCollection * | globs () 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) |
xRooHypoSpace | hypoSpace (const char *parName, xRooFit::TestStatistic::Type tsType, int nPoints=0) |
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 |
RooAbsReal * | operator-> () const |
std::shared_ptr< RooArgSet > | pars (bool stripGlobalObs=true) const |
std::shared_ptr< RooAbsPdf > | pdf () 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 |
TObject * | Scan (const char *scanPars, const std::vector< std::vector< double > > &coords, const RooArgList &profilePars=RooArgList()) |
TObject * | Scan (const char *scanPars, size_t nPoints, double low, double high, const RooArgList &profilePars=RooArgList()) |
TObject * | Scan (const char *scanPars, size_t nPoints, double low, double high, size_t nPointsY, double ylow, double yhigh, const RooArgList &profilePars=RooArgList()) |
TObject * | Scan (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) |
double | simTermVal () const |
Public Attributes | |
std::shared_ptr< RooAbsCollection > | fConstVars |
std::shared_ptr< RooAbsData > | fData |
std::shared_ptr< ROOT::Fit::FitConfig > | fFitConfig |
std::string | fFuncCreationLog |
std::shared_ptr< RooAbsCollection > | fFuncGlobs |
std::shared_ptr< RooAbsCollection > | fFuncVars |
std::shared_ptr< const RooAbsCollection > | fGlobs |
std::shared_ptr< RooLinkedList > | fOpts |
std::shared_ptr< RooAbsPdf > | fPdf |
bool | kReuseNLL = true |
#include <RooFit/xRooFit/xRooNLLVar.h>
xRooNLLVar::xRooNLLVar | ( | RooAbsPdf & | pdf, |
const std::pair< RooAbsData *, const RooAbsCollection * > & | data, | ||
const RooLinkedList & | nllOpts = RooLinkedList() |
||
) |
Definition at line 149 of file xRooNLLVar.cxx.
xRooNLLVar::xRooNLLVar | ( | const std::shared_ptr< RooAbsPdf > & | pdf, |
const std::shared_ptr< RooAbsData > & | data, | ||
const RooLinkedList & | opts = RooLinkedList() |
||
) |
Definition at line 310 of file xRooNLLVar.cxx.
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 | ( | ) |
Definition at line 147 of file xRooNLLVar.cxx.
void xRooNLLVar::AddOption | ( | const RooCmdArg & | opt | ) |
Definition at line 1286 of file xRooNLLVar.cxx.
std::set< std::string > xRooNLLVar::binnedChannels | ( | ) | const |
Definition at line 749 of file xRooNLLVar.cxx.
double xRooNLLVar::binnedDataTermVal | ( | ) | const |
Definition at line 1362 of file xRooNLLVar.cxx.
RooConstraintSum * xRooNLLVar::constraintTerm | ( | ) | const |
Definition at line 1377 of file xRooNLLVar.cxx.
double xRooNLLVar::constraintTermVal | ( | ) | const |
Definition at line 902 of file xRooNLLVar.cxx.
RooAbsData * xRooNLLVar::data | ( | ) | const |
Definition at line 1296 of file xRooNLLVar.cxx.
void xRooNLLVar::Draw | ( | Option_t * | opt = "" | ) |
Definition at line 1027 of file xRooNLLVar.cxx.
double xRooNLLVar::extendedTermVal | ( | ) | const |
Definition at line 1348 of file xRooNLLVar.cxx.
std::shared_ptr< ROOT::Fit::FitConfig > xRooNLLVar::fitConfig | ( | ) |
Definition at line 721 of file xRooNLLVar.cxx.
ROOT::Math::IOptions * xRooNLLVar::fitConfigOptions | ( | ) |
Definition at line 728 of file xRooNLLVar.cxx.
std::shared_ptr< RooAbsReal > xRooNLLVar::func | ( | ) | const |
Definition at line 1262 of file xRooNLLVar.cxx.
std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > xRooNLLVar::generate | ( | bool | expected = false , |
int | seed = 0 |
||
) |
Definition at line 492 of file xRooNLLVar.cxx.
|
inline |
Definition at line 80 of file xRooNLLVar.h.
std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > xRooNLLVar::getData | ( | ) | const |
Definition at line 1153 of file xRooNLLVar.cxx.
double xRooNLLVar::getEntryBinWidth | ( | size_t | entry | ) | const |
Definition at line 795 of file xRooNLLVar.cxx.
double xRooNLLVar::getEntryVal | ( | size_t | entry | ) | const |
Definition at line 735 of file xRooNLLVar.cxx.
|
inline |
Definition at line 425 of file xRooNLLVar.h.
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 2626 of file xRooNLLVar.cxx.
xRooHypoPoint ROOT::Experimental::XRooFit::xRooNLLVar::hypoPoint | ( | const char * | parValues, |
double | alt_value, | ||
const xRooFit::Asymptotics::PLLType & | pllType | ||
) |
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 2611 of file xRooNLLVar.cxx.
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 |
||
) |
Definition at line 2936 of file xRooNLLVar.cxx.
|
inline |
Definition at line 380 of file xRooNLLVar.h.
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 3012 of file xRooNLLVar.cxx.
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 3001 of file xRooNLLVar.cxx.
double xRooNLLVar::mainTermNdof | ( | ) | const |
Definition at line 885 of file xRooNLLVar.cxx.
double xRooNLLVar::mainTermPgof | ( | ) | const |
Definition at line 910 of file xRooNLLVar.cxx.
double xRooNLLVar::mainTermVal | ( | ) | const |
Definition at line 896 of file xRooNLLVar.cxx.
xRooNLLVar::xRooFitResult xRooNLLVar::minimize | ( | const std::shared_ptr< ROOT::Fit::FitConfig > & | _config = nullptr | ) |
Definition at line 703 of file xRooNLLVar.cxx.
double xRooNLLVar::ndof | ( | ) | const |
Definition at line 872 of file xRooNLLVar.cxx.
|
inline |
Definition at line 81 of file xRooNLLVar.h.
Definition at line 974 of file xRooNLLVar.cxx.
|
inline |
Definition at line 423 of file xRooNLLVar.h.
double xRooNLLVar::pgof | ( | ) | const |
Definition at line 878 of file xRooNLLVar.cxx.
void xRooNLLVar::Print | ( | Option_t * | opt = "" | ) |
Definition at line 322 of file xRooNLLVar.cxx.
void xRooNLLVar::reinitialize | ( | ) |
Definition at line 361 of file xRooNLLVar.cxx.
|
inline |
Definition at line 447 of file xRooNLLVar.h.
double xRooNLLVar::saturatedConstraintTermVal | ( | ) | const |
Definition at line 832 of file xRooNLLVar.cxx.
|
inline |
Definition at line 452 of file xRooNLLVar.h.
double xRooNLLVar::saturatedMainTermVal | ( | ) | const |
Definition at line 920 of file xRooNLLVar.cxx.
double xRooNLLVar::saturatedVal | ( | ) | const |
Definition at line 915 of file xRooNLLVar.cxx.
TObject * xRooNLLVar::Scan | ( | const char * | scanPars, |
const std::vector< std::vector< double > > & | coords, | ||
const RooArgList & | profilePars = RooArgList() |
||
) |
Definition at line 984 of file xRooNLLVar.cxx.
|
inline |
Definition at line 417 of file xRooNLLVar.h.
|
inline |
Definition at line 394 of file xRooNLLVar.h.
TObject * xRooNLLVar::Scan | ( | const RooArgList & | scanPars, |
const std::vector< std::vector< double > > & | coords, | ||
const RooArgList & | profilePars = RooArgList() |
||
) |
Definition at line 989 of file xRooNLLVar.cxx.
bool xRooNLLVar::setData | ( | const std::pair< std::shared_ptr< RooAbsData >, std::shared_ptr< const RooAbsCollection > > & | _data | ) |
Definition at line 1167 of file xRooNLLVar.cxx.
|
inline |
Definition at line 462 of file xRooNLLVar.h.
Definition at line 1158 of file xRooNLLVar.cxx.
|
inline |
Definition at line 155 of file xRooNLLVar.h.
double xRooNLLVar::simTermVal | ( | ) | const |
Definition at line 1354 of file xRooNLLVar.cxx.
std::shared_ptr<RooAbsCollection> ROOT::Experimental::XRooFit::xRooNLLVar::fConstVars |
Definition at line 478 of file xRooNLLVar.h.
std::shared_ptr<RooAbsData> ROOT::Experimental::XRooFit::xRooNLLVar::fData |
Definition at line 471 of file xRooNLLVar.h.
std::shared_ptr<ROOT::Fit::FitConfig> ROOT::Experimental::XRooFit::xRooNLLVar::fFitConfig |
Definition at line 475 of file xRooNLLVar.h.
std::string ROOT::Experimental::XRooFit::xRooNLLVar::fFuncCreationLog |
Definition at line 480 of file xRooNLLVar.h.
std::shared_ptr<RooAbsCollection> ROOT::Experimental::XRooFit::xRooNLLVar::fFuncGlobs |
Definition at line 479 of file xRooNLLVar.h.
std::shared_ptr<RooAbsCollection> ROOT::Experimental::XRooFit::xRooNLLVar::fFuncVars |
Definition at line 477 of file xRooNLLVar.h.
std::shared_ptr<const RooAbsCollection> ROOT::Experimental::XRooFit::xRooNLLVar::fGlobs |
Definition at line 472 of file xRooNLLVar.h.
std::shared_ptr<RooLinkedList> ROOT::Experimental::XRooFit::xRooNLLVar::fOpts |
Definition at line 474 of file xRooNLLVar.h.
std::shared_ptr<RooAbsPdf> ROOT::Experimental::XRooFit::xRooNLLVar::fPdf |
Definition at line 470 of file xRooNLLVar.h.
bool ROOT::Experimental::XRooFit::xRooNLLVar::kReuseNLL = true |
Definition at line 482 of file xRooNLLVar.h.