14#ifndef RooFit_RooNLLVarNew_h 
   15#define RooFit_RooNLLVarNew_h 
   27namespace Experimental {
 
   51   void setPrefix(std::string 
const &prefix);
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
RooTemplateProxy< RooAbsReal > _binVolumeVar
 
void setSimCount(int simCount)
 
RooTemplateProxy< RooAbsReal > _weightVar
 
void enableOffsetting(bool) override
 
TObject * clone(const char *newname) const override
 
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
 
bool canComputeBatchWithCuda() 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.
 
void getParametersHook(const RooArgSet *nset, RooArgSet *list, bool stripDisconnected) const override
 
ROOT::Math::KahanSum< double > _offset
! Offset as KahanSum to avoid loss of precision
 
void setPrefix(std::string const &prefix)
Sets the prefix for the special variables of this NLL, like weights or bin volumes.
 
void fillBinWidthsFromPdfBoundaries(RooAbsReal const &pdf, RooArgSet const &observables)
 
RooTemplateProxy< RooAbsPdf > _pdf
 
double defaultErrorLevel() const override
Return default level for MINUIT error analysis.
 
void resetWeightVarNames()
 
void enableBinOffsetting(bool on=true)
 
RooTemplateProxy< RooAbsReal > _weightSquaredVar
 
std::unique_ptr< RooTemplateProxy< RooAbsReal > > _expectedEvents
 
double computeBatchBinnedL(RooSpan< const double > preds, RooSpan< const double > weights) const
 
std::vector< double > _binw
 
static constexpr const char * weightVarName
 
double finalizeResult(ROOT::Math::KahanSum< double > result, double weightSum) const
 
bool isReducerNode() const override
 
static constexpr const char * weightVarNameSumW2
 
The Kahan summation is a compensated summation algorithm, which significantly reduces numerical error...
 
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
 
double _value
Cache for current value of object.
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
A simple container to hold a batch of data values.
 
Mother of all ROOT objects.
 
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
OffsetMode
For setting the offset mode with the Offset() command argument to RooAbsPdf::fitTo()