GeneratorStatus

struct GeneratorStatus

Progress snapshot of one subprocess’s EventGenerator run.

Public Members

std::size_t subprocess

Index of the subprocess.

std::string name

Name of the subprocess.

double mean

Running mean weight, i.e. the cross-section estimate.

double error

Standard error of mean.

double mean_abs

Running mean of |weight|.

double error_abs

Standard error of mean_abs.

double rel_std_dev

Relative standard deviation of the weights.

std::size_t count

Weighted events generated so far.

std::size_t count_opt

Weighted events generated so far, restricted to the optimized phase.

std::size_t count_after_cuts

Weighted events surviving fiducial cuts.

std::size_t count_after_cuts_opt

Weighted events surviving fiducial cuts, restricted to the optimized phase.

double count_unweighted

Unweighted events generated so far.

std::size_t count_target

Target unweighted event count; see GeneratorConfig::target_count.

std::size_t iterations

Number of survey iterations run.

std::size_t iters_without_improvement

Number of optimization iterations in a row without enough improvement; the channel counts as optimized when this reaches GeneratorConfig::optimization_patience.

bool optimized

Whether the survey/optimization phase has finished.

bool done

Whether generation of this subprocess is complete.