14#ifndef RooFit_RooNLLVarNew_h
15#define RooFit_RooNLLVarNew_h
24namespace Experimental {
35 std::string
const &rangeName);
std::unique_ptr< RooTemplateProxy< RooAbsReal > > _rangeNormTerm
TObject * clone(const char *newname) const override
void setObservables(RooArgSet const &observables)
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.
void getParametersHook(const RooArgSet *nset, RooArgSet *list, bool stripDisconnected) const override
RooTemplateProxy< RooAbsPdf > _pdf
double _sumCorrectionTerm
double defaultErrorLevel() const override
Return default level for MINUIT error analysis.
RooAbsPdf * getPdf() const
static constexpr const char * weightVarName
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.
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
void clear()
Clear contents. If the collection is owning, it will also delete the contents.
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.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
std::map< DataKey, RooSpan< const double > > DataMap