13#ifndef ROOT_ROOFIT_TESTSTATISTICS_LikelihoodGradientJob 
   14#define ROOT_ROOFIT_TESTSTATISTICS_LikelihoodGradientJob 
   26namespace TestStatistics {
 
   31                         std::shared_ptr<WrapperCalculationCleanFlags> calculation_is_clean, std::size_t N_dim,
 
   38                                   double *previous_gstep) 
override;
 
   49                                     const std::vector<ROOT::Fit::ParameterSettings> ¶meter_settings) 
override;
 
   82   mutable std::vector<ROOT::Minuit2::DerivatorElement> 
grad_;
 
Documentation for the abstract class IBaseFunctionMultiDim.
 
interface class for defining the actual work that must be done
 
ROOT::Minuit2::NumericalDerivator gradf_
 
bool usesMinuitInternalValues() override
Implement usesMinuitInternalValues to return true when you want Minuit to send this class Minuit-inte...
 
void update_state() override
Virtual function to update any necessary state on workers.
 
void update_workers_state_isCalculating()
 
std::vector< ROOT::Minuit2::DerivatorElement > grad_
 
void fillGradientWithPrevResult(double *grad, double *previous_grad, double *previous_g2, double *previous_gstep) override
 
void updateMinuitInternalParameterValues(const std::vector< double > &minuit_internal_x) override
Minuit passes in parameter values that may not conform to RooFit internal standards (like applying ra...
 
void synchronizeParameterSettings(ROOT::Math::IMultiGenFunction *function, const std::vector< ROOT::Fit::ParameterSettings > ¶meter_settings) override
 
void run_derivator(unsigned int i_component) const
Calculation stuff (mostly duplicates of RooGradMinimizerFcn code):
 
std::size_t N_tasks_at_workers_
 
void setNCycles(unsigned int ncycles) const
 
void send_back_task_result_from_worker(std::size_t task) override
 
void synchronizeWithMinimizer(const ROOT::Math::MinimizerOptions &options) override
Synchronize minimizer settings with calculators in child classes.
 
void fillGradient(double *grad) override
 
void setStepTolerance(double step_tolerance) const
 
void setGradTolerance(double grad_tolerance) const
 
bool isCalculating() override
Reports whether or not the gradient is currently being calculated.
 
void setStrategy(int istrat)
 
void update_workers_state()
 
void evaluate_task(std::size_t task) override
Job overrides:
 
bool receive_task_result_on_master(const zmq::message_t &message) override
 
std::vector< double > minuit_internal_x_
 
void setErrorLevel(double error_level) const
 
LikelihoodGradientJob * clone() const override
 
Virtual base class for implementation of likelihood gradient calculation strategies.
 
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
 
ROOT::Minuit2::DerivatorElement grad