|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Implements the Statistic nuisance-path port using a Core path port. More...
#include <RuntimeNuisancePathsAdapter.h>


Public Member Functions | |
| RuntimeNuisancePathsAdapter () | |
| Construct an adapter backed by the active Core runtime. | |
| RuntimeNuisancePathsAdapter (std::shared_ptr< IPathProvider< APIPath > > path_provider) | |
| Construct an adapter with an injected Core path provider. | |
| fs::path | default_nuisances_path () const override |
| Returns the path to the built-in nuisance definition file. | |
| fs::path | user_nuisances_path () const override |
| Returns the path to the user override nuisance definition file. | |
Public Member Functions inherited from INuisancePathsProvider | |
| virtual | ~INuisancePathsProvider ()=default |
| Virtual destructor for polymorphic use. | |
Implements the Statistic nuisance-path port using a Core path port.
The production constructor uses APIAdapter, which delegates path lookup to the IPathsProvider currently installed in MemoryManager. This preserves packaged-wheel asset roots and pre-initialization path overrides without exposing MemoryManager to the Statistic domain.
Definition at line 24 of file RuntimeNuisancePathsAdapter.h.
| RuntimeNuisancePathsAdapter::RuntimeNuisancePathsAdapter | ( | ) |
Construct an adapter backed by the active Core runtime.
Definition at line 8 of file RuntimeNuisancePathsAdapter.cpp.
|
explicit |
Construct an adapter with an injected Core path provider.
| path_provider | Provider implementing the Core APIPath port. |
| std::invalid_argument | when path_provider is null. |
Definition at line 13 of file RuntimeNuisancePathsAdapter.cpp.
|
overridevirtual |
Returns the path to the built-in nuisance definition file.
Implements INuisancePathsProvider.
Definition at line 25 of file RuntimeNuisancePathsAdapter.cpp.
|
overridevirtual |
Returns the path to the user override nuisance definition file.
Implements INuisancePathsProvider.
Definition at line 30 of file RuntimeNuisancePathsAdapter.cpp.