Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
MCConfig Struct Reference

Runtime configuration for Monte Carlo nuisance propagation. More...

#include <MCEngine.h>

Public Attributes

std::size_t draws = 10000
 
double skew_abs_threshold = 0.2
 
double covariance_ridge_rel = 1e-8
 
double covariance_ridge_abs = 1e-12
 
bool retry_failed_predictions = true
 
std::size_t max_prediction_failures = 20000
 
std::size_t n_threads = 1
 
bool force_decay_threads_to_one = true
 
std::size_t forced_decay_threads = 1
 
bool print_progress = false
 
std::size_t progress_probe_draws = 5
 
std::size_t progress_update_every = 1
 
std::shared_ptr< StatisticProgressMonitorprogress_monitor {}
 
bool write_samples_csv = false
 
std::string samples_csv_path = "obs_samples.csv"
 

Detailed Description

Runtime configuration for Monte Carlo nuisance propagation.

Definition at line 33 of file MCEngine.h.

Member Data Documentation

◆ covariance_ridge_abs

double MCConfig::covariance_ridge_abs = 1e-12

Absolute diagonal ridge added before covariance inversion.

Definition at line 44 of file MCEngine.h.

◆ covariance_ridge_rel

double MCConfig::covariance_ridge_rel = 1e-8

Relative diagonal ridge added before covariance inversion.

Definition at line 41 of file MCEngine.h.

◆ draws

std::size_t MCConfig::draws = 10000

Number of accepted Monte Carlo predictions to generate.

Definition at line 35 of file MCEngine.h.

◆ force_decay_threads_to_one

bool MCConfig::force_decay_threads_to_one = true

Force thread-configurable decays to forced_decay_threads during parallel MC.

Definition at line 56 of file MCEngine.h.

◆ forced_decay_threads

std::size_t MCConfig::forced_decay_threads = 1

Decay thread count used while parallel MC workers are active.

Definition at line 59 of file MCEngine.h.

◆ max_prediction_failures

std::size_t MCConfig::max_prediction_failures = 20000

Maximum number of rejected model evaluations before aborting.

Definition at line 50 of file MCEngine.h.

◆ n_threads

std::size_t MCConfig::n_threads = 1

Number of MC worker threads. A value <= 1 keeps the serial path.

Definition at line 53 of file MCEngine.h.

◆ print_progress

bool MCConfig::print_progress = false

Print a progress line with measured draw rate and ETA.

Definition at line 62 of file MCEngine.h.

◆ progress_monitor

std::shared_ptr<StatisticProgressMonitor> MCConfig::progress_monitor {}

Optional frontend monitor receiving thread-safe progress snapshots.

Definition at line 71 of file MCEngine.h.

◆ progress_probe_draws

std::size_t MCConfig::progress_probe_draws = 5

Number of first accepted draws used before the first stable ETA estimate.

Definition at line 65 of file MCEngine.h.

◆ progress_update_every

std::size_t MCConfig::progress_update_every = 1

Accepted-draw stride between progress updates.

Definition at line 68 of file MCEngine.h.

◆ retry_failed_predictions

bool MCConfig::retry_failed_predictions = true

Whether failed model evaluations should be rejected and retried.

Definition at line 47 of file MCEngine.h.

◆ samples_csv_path

std::string MCConfig::samples_csv_path = "obs_samples.csv"

Output path used when write_samples_csv is true.

Definition at line 77 of file MCEngine.h.

◆ skew_abs_threshold

double MCConfig::skew_abs_threshold = 0.2

Absolute skewness threshold below which a distribution is treated as symmetric.

Definition at line 38 of file MCEngine.h.

◆ write_samples_csv

bool MCConfig::write_samples_csv = false

Whether accepted observable samples should be written to CSV.

Definition at line 74 of file MCEngine.h.


The documentation for this struct was generated from the following file: