14#ifndef RooFit_RooNLLVarNew_h
15#define RooFit_RooNLLVarNew_h
26namespace Experimental {
37 std::string
const &rangeName,
bool doOffset);
72 mutable std::vector<double>
_binw;
std::unique_ptr< RooTemplateProxy< RooAbsReal > > _fractionInRange
RooTemplateProxy< RooAbsReal > _weightVar
TObject * clone(const char *newname) const override
void computeBatch(cudaStream_t *, double *output, size_t nOut, RooFit::Detail::DataMap const &) const override
Compute multiple negative logs of propabilities.
void applyWeightSquared(bool flag) override
Toggles the weight square correction.
ROOT::Math::KahanSum< double > _offset
! Offset as KahanSum to avoid loss of precision
RooTemplateProxy< RooAbsPdf > _pdf
std::vector< double > _logProbasBuffer
!
double defaultErrorLevel() const override
Return default level for MINUIT error analysis.
void resetWeightVarNames()
RooTemplateProxy< RooAbsReal > _weightSquaredVar
void getParametersHook(const RooArgSet *nset, RooArgSet *list, Bool_t stripDisconnected) const override
std::vector< double > _binw
!
RooAbsPdf * getPdf() const
static constexpr const char * weightVarName
std::unique_ptr< RooArgSet > fillNormSetForServer(RooArgSet const &normSet, RooAbsArg const &server) const override
Fills a RooArgSet to be used as the normalization set for a server, given a normalization set for thi...
bool isReducerNode() const override
RooArgSet prefixObservableAndWeightNames(std::string const &prefix)
Replaces all observables and the weight variable of this NLL with clones that only differ by a prefix...
static constexpr const char * weightVarNameSumW2
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
The Kahan summation is a compensated summation algorithm, which significantly reduces numerical error...
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Mother of all ROOT objects.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
static void output(int code)