13#ifndef ROOT_ROOFIT_TESTSTATISTICS_ConstantTermsOptimizer
14#define ROOT_ROOFIT_TESTSTATISTICS_ConstantTermsOptimizer
22namespace TestStatistics {
27 bool applyTrackingOpt);
RooAbsData is the common abstract base class for binned and unbinned datasets.
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.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Analyzes a function given a dataset/observables for constant terms and caches those in the dataset.
static RooArgSet requiredExtraObservables()
static void optimizeCaching(RooAbsReal *function, RooArgSet *norm_set, RooArgSet *observables, RooAbsData *dataset)
static void enableConstantTermsOptimization(RooAbsReal *function, RooArgSet *norm_set, RooAbsData *dataset, bool applyTrackingOpt)
static void disableConstantTermsOptimization(RooAbsReal *function, RooArgSet *norm_set, RooArgSet *observables, RooAbsData *dataset)