13#ifndef ROOT_ROOFIT_TESTSTATISTICS_LikelihoodJob
14#define ROOT_ROOFIT_TESTSTATISTICS_LikelihoodJob
34 std::shared_ptr<WrapperCalculationCleanFlags> calculation_is_clean,
SharedOffset offset);
70 std::vector<ROOT::Math::KahanSum<double>>
results_;
The Kahan summation is a compensated summation algorithm, which significantly reduces numerical error...
RooArgList is a container object that can hold multiple RooAbsArg objects.
interface class for defining the actual work that must be done
void enableOffsetting(bool flag) override
std::size_t getNEventTasks()
ROOT::Math::KahanSum< double > getResult() const override
Return the latest result of a likelihood evaluation.
bool receive_task_result_on_master(const zmq::message_t &message) override
void evaluate_task(std::size_t task) override
std::size_t getNComponentTasks()
void updateWorkersParameters()
std::size_t n_event_tasks_
std::vector< ROOT::Math::KahanSum< double > > results_
void updateWorkersOffsetting()
void send_back_task_result_from_worker(std::size_t task) override
void update_state() override
Virtual function to update any necessary state on workers.
void evaluate() override
Triggers (possibly asynchronous) evaluation of the likelihood.
SharedOffset::OffsetVec offsets_previous_
ROOT::Math::KahanSum< double > result_
std::size_t n_component_tasks_
LikelihoodJob(std::shared_ptr< RooAbsL > _likelihood, std::shared_ptr< WrapperCalculationCleanFlags > calculation_is_clean, SharedOffset offset)
LikelihoodSerial likelihood_serial_
std::size_t n_tasks_at_workers_
Serial likelihood calculation strategy implementation.
LikelihoodWrapper(std::shared_ptr< RooAbsL > likelihood, std::shared_ptr< WrapperCalculationCleanFlags > calculation_is_clean, SharedOffset offset)
std::vector< ROOT::Math::KahanSum< double > > OffsetVec
Namespace for new RooFit test statistic calculation.
std::ostream & operator<<(std::ostream &out, const LikelihoodJob::update_state_mode value)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...