Definition at line 31 of file LikelihoodJob.h.
#include </github/home/ROOT-CI/src/roofit/roofitcore/src/TestStatistics/LikelihoodJob.h>
◆ update_state_mode
◆ LikelihoodJob()
◆ enableOffsetting()
void RooFit::TestStatistics::LikelihoodJob::enableOffsetting |
( |
bool | flag | ) |
|
|
overridevirtual |
◆ evaluate()
void RooFit::TestStatistics::LikelihoodJob::evaluate |
( |
| ) |
|
|
overridevirtual |
Triggers (possibly asynchronous) evaluation of the likelihood.
In parallel strategies, it may be advantageous to allow a calling process to continue on with other tasks while the calculation is offloaded to another process or device, like a GPU. For this reason, evaluate() does not return the result, this is done in getResult().
Implements RooFit::TestStatistics::LikelihoodWrapper.
Definition at line 192 of file LikelihoodJob.cxx.
◆ evaluate_task()
void RooFit::TestStatistics::LikelihoodJob::evaluate_task |
( |
std::size_t | task | ) |
|
|
overridevirtual |
◆ getNComponentTasks()
std::size_t RooFit::TestStatistics::LikelihoodJob::getNComponentTasks |
( |
| ) |
|
|
private |
◆ getNEventTasks()
std::size_t RooFit::TestStatistics::LikelihoodJob::getNEventTasks |
( |
| ) |
|
|
private |
◆ getResult()
◆ init_vars()
void RooFit::TestStatistics::LikelihoodJob::init_vars |
( |
| ) |
|
◆ receive_task_result_on_master()
bool RooFit::TestStatistics::LikelihoodJob::receive_task_result_on_master |
( |
const zmq::message_t & | message | ) |
|
|
overridevirtual |
◆ send_back_task_result_from_worker()
void RooFit::TestStatistics::LikelihoodJob::send_back_task_result_from_worker |
( |
std::size_t | task | ) |
|
|
overridevirtual |
◆ update_state()
void RooFit::TestStatistics::LikelihoodJob::update_state |
( |
| ) |
|
|
overridevirtual |
Virtual function to update any necessary state on workers.
This function is called from the worker loop when something is received over the ZeroMQ "SUB" socket. The master process sends messages to workers on its "PUB" socket. Thus, we can update, for instance, parameter values on the worker that were updated since the last call on the master side.
- Note
- Implementers: make sure to also update the state_id_ member.
Reimplemented from RooFit::MultiProcess::Job.
Definition at line 69 of file LikelihoodJob.cxx.
◆ updateWorkersOffsetting()
void RooFit::TestStatistics::LikelihoodJob::updateWorkersOffsetting |
( |
| ) |
|
◆ updateWorkersParameters()
void RooFit::TestStatistics::LikelihoodJob::updateWorkersParameters |
( |
| ) |
|
◆ likelihood_serial_
◆ n_component_tasks_
std::size_t RooFit::TestStatistics::LikelihoodJob::n_component_tasks_ |
|
private |
◆ n_event_tasks_
std::size_t RooFit::TestStatistics::LikelihoodJob::n_event_tasks_ |
|
private |
◆ n_tasks_at_workers_
std::size_t RooFit::TestStatistics::LikelihoodJob::n_tasks_at_workers_ = 0 |
|
private |
◆ offsets_previous_
◆ result_
◆ results_
◆ save_vars_
RooArgList RooFit::TestStatistics::LikelihoodJob::save_vars_ |
|
private |
◆ vars_
RooArgList RooFit::TestStatistics::LikelihoodJob::vars_ |
|
private |
roofit/roofitcore/src/TestStatistics/LikelihoodJob.h
roofit/roofitcore/src/TestStatistics/LikelihoodJob.cxx