#include "RooAbsOptTestStatistic.h"#include "RooCmdArg.h"#include "RooAbsPdf.h"#include <vector>#include <utility>Classes | |
| class | RooNLLVar |
| Implements a -log(likelihood) calculation from a dataset and a PDF. More... | |
Typedefs | |
| using | ComputeResult = std::pair<ROOT::Math::KahanSum<double>, double> |
Functions | |
| ~RooNLLVar () override | |
| void | applyWeightSquared (bool flag) override |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| TObject * | clone (const char *newname) const override |
| ComputeResult | computeScalar (std::size_t stepSize, std::size_t firstEvent, std::size_t lastEvent) const |
| static RooNLLVar::ComputeResult | computeScalarFunc (const RooAbsPdf *pdfClone, RooAbsData *dataClone, RooArgSet *normSet, bool weightSq, std::size_t stepSize, std::size_t firstEvent, std::size_t lastEvent, RooAbsPdf const *offsetPdf=nullptr) |
| RooAbsTestStatistic * | create (const char *name, const char *title, RooAbsReal &pdf, RooAbsData &adata, const RooArgSet &projDeps, RooAbsTestStatistic::Configuration const &cfg) override |
| static const char * | DeclFileName () |
| double | defaultErrorLevel () const override |
| void | enableBinOffsetting (bool on=true) |
| double | evaluatePartition (std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize) const override |
| TClass * | IsA () const override |
| bool | processEmptyDataSets () const override |
| RooNLLVar RooAbsOptTestStatistic | R__DEPRECATED (6, 34, "Please use RooAbsPdf::createNLL() to create likelihood objects") |
| RooNLLVar (const char *name, const char *title, RooAbsPdf &pdf, RooAbsData &data, bool extended, RooAbsTestStatistic::Configuration const &cfg=RooAbsTestStatistic::Configuration{}) | |
| RooNLLVar (const char *name, const char *title, RooAbsPdf &pdf, RooAbsData &data, const RooArgSet &projDeps, bool extended=false, RooAbsTestStatistic::Configuration const &cfg=RooAbsTestStatistic::Configuration{}) | |
| RooNLLVar (const RooNLLVar &other, const char *name=nullptr) | |
| bool | setDataSlave (RooAbsData &data, bool cloneData=true, bool ownNewDataAnyway=false) override |
| void | Streamer (TBuffer &) override |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Variables | |
| RooAbsPdf * | _binnedPdf {nullptr} |
| ! | |
| std::vector< double > | _binw |
| ! | |
| bool | _doBinOffset {false} |
| static RooArgSet | _emptySet |
| bool | _extended {false} |
| bool | _first {true} |
| ! | |
| std::unique_ptr< RooAbsPdf > | _offsetPdf |
| ! An optional per-bin likelihood offset | |
| ROOT::Math::KahanSum< double > | _offsetSaveW2 {0.0} |
| ! | |
| bool | _weightSq {false} |
| Apply weights squared? | |
| using ComputeResult = std::pair<ROOT::Math::KahanSum<double>, double> |
Definition at line 25 of file RooNLLVar.h.
|
override |
|
override |
|
static |
|
static |
|
staticconstexpr |
Definition at line 53 of file RooNLLVar.h.
|
override |
Definition at line 12 of file RooNLLVar.h.
|
private |
|
static |
|
override |
Definition at line 11 of file RooChi2Var.h.
|
static |
Definition at line 53 of file RooNLLVar.h.
|
override |
Definition at line 21 of file RooNLLVar.h.
|
overrideprotected |
|
override |
Definition at line 53 of file RooNLLVar.h.
|
overrideprotected |
Definition at line 35 of file RooNLLVar.h.
| RooNLLVar RooAbsOptTestStatistic R__DEPRECATED | ( | 6 | , |
| 34 | , | ||
| "Please use RooAbsPdf::createNLL() to create likelihood objects" | ) |
| R__DEPRECATED::RooNLLVar | ( | const char * | name, |
| const char * | title, | ||
| RooAbsPdf & | pdf, | ||
| RooAbsData & | data, | ||
| bool | extended, | ||
| RooAbsTestStatistic::Configuration const & | cfg = RooAbsTestStatistic::Configuration{} ) |
| R__DEPRECATED::RooNLLVar | ( | const char * | name, |
| const char * | title, | ||
| RooAbsPdf & | pdf, | ||
| RooAbsData & | data, | ||
| const RooArgSet & | projDeps, | ||
| bool | extended = false, | ||
| RooAbsTestStatistic::Configuration const & | cfg = RooAbsTestStatistic::Configuration{} ) |
| R__DEPRECATED::RooNLLVar | ( | const RooNLLVar & | other, |
| const char * | name = nullptr ) |
|
override |
Definition at line 92 of file RooAbsTestStatistic.h.
|
override |
| void R__DEPRECATED::StreamerNVirtual | ( | TBuffer & | ClassDef_StreamerNVirtual_b | ) |
Definition at line 53 of file RooNLLVar.h.
|
mutableprivate |
!
Definition at line 50 of file RooNLLVar.h.
|
mutableprivate |
!
Definition at line 49 of file RooNLLVar.h.
|
private |
Definition at line 44 of file RooNLLVar.h.
|
staticprotected |
Definition at line 38 of file RooNLLVar.h.
|
private |
Definition at line 43 of file RooNLLVar.h.
!
Definition at line 46 of file RooNLLVar.h.
|
private |
! An optional per-bin likelihood offset
Definition at line 51 of file RooNLLVar.h.
|
private |
!
Definition at line 47 of file RooNLLVar.h.
|
private |
Apply weights squared?
Definition at line 45 of file RooNLLVar.h.