41 Bool_t extended,
const char* rangeName=0,
const char* addCoefRangeName=0,
54 const RooArgSet& projDeps,
const char* rangeName,
const char* addCoefRangeName=0,
76 std::size_t stepSize, std::size_t firstEvent, std::size_t lastEvent)
const;
79 std::size_t stepSize, std::size_t firstEvent, std::size_t lastEvent)
const;
88 mutable std::vector<Double_t>
_binw ;
90 mutable std::unique_ptr<RooBatchCompute::RunContext>
_evalData;
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsOptTestStatistic is the abstract base class for test statistics objects that evaluate a functio...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAbsTestStatistic is the abstract base class for all test statistics.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
static const RooCmdArg & none()
Return reference to null argument.
Class RooNLLVar implements a -log(likelihood) calculation from a dataset and a PDF.
void applyWeightSquared(Bool_t flag)
virtual TObject * clone(const char *newname) const
RooRealSumPdf * _binnedPdf
virtual RooAbsTestStatistic * create(const char *name, const char *title, RooAbsReal &pdf, RooAbsData &adata, const RooArgSet &projDeps, const char *rangeName, const char *addCoefRangeName=0, Int_t nCPU=1, RooFit::MPSplit interleave=RooFit::BulkPartition, Bool_t verbose=kTRUE, Bool_t splitRange=kFALSE, Bool_t binnedL=kFALSE)
Create a test statistic using several properties of the current instance.
static RooArgSet _emptySet
virtual ~RooNLLVar()
Destructor.
void batchMode(bool on=true)
virtual Double_t defaultErrorLevel() const
virtual Bool_t processEmptyDataSets() const
std::vector< Double_t > _binw
Double_t _offsetCarrySaveW2
virtual Double_t evaluatePartition(std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize) const
Calculate and return likelihood on subset of data.
std::tuple< double, double, double > computeBatched(std::size_t stepSize, std::size_t firstEvent, std::size_t lastEvent) const
Compute probabilites of all data events.
std::tuple< double, double, double > computeScalar(std::size_t stepSize, std::size_t firstEvent, std::size_t lastEvent) const
std::unique_ptr< RooBatchCompute::RunContext > _evalData
The class RooRealSumPdf implements a PDF constructed from a sum of functions:
Mother of all ROOT objects.
Namespace for dispatching RooFit computations to various backends.