Hyperiso
1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
RuntimeNuisancePathsAdapter.h
Go to the documentation of this file.
1
#ifndef RUNTIME_NUISANCE_PATHS_ADAPTER_H
2
#define RUNTIME_NUISANCE_PATHS_ADAPTER_H
3
4
#include <memory>
5
6
#include "
INuisancePathsProvider.h
"
7
#include "
IPathProvider.h
"
8
#include "
IPathsProvider.h
"
9
24
class
RuntimeNuisancePathsAdapter
final :
public
INuisancePathsProvider
{
25
public
:
27
RuntimeNuisancePathsAdapter
();
28
34
explicit
RuntimeNuisancePathsAdapter
(
35
std::shared_ptr<
IPathProvider<APIPath>
> path_provider
36
);
37
39
fs::path
default_nuisances_path
()
const override
;
40
42
fs::path
user_nuisances_path
()
const override
;
43
44
private
:
45
std::shared_ptr<IPathProvider<APIPath>> path_provider_;
46
};
47
48
#endif
// RUNTIME_NUISANCE_PATHS_ADAPTER_H
INuisancePathsProvider.h
Interface for locating nuisance-parameter configuration files.
IPathProvider.h
Interface for providing concrete filesystem paths based on enum identifiers.
IPathsProvider.h
INuisancePathsProvider
Abstract provider for default and user nuisance-file paths.
Definition
INuisancePathsProvider.h:24
IPathProvider
Interface for providing specific filesystem paths based on enumerated identifiers.
Definition
IPathProvider.h:42
RuntimeNuisancePathsAdapter
Implements the Statistic nuisance-path port using a Core path port.
Definition
RuntimeNuisancePathsAdapter.h:24
RuntimeNuisancePathsAdapter::default_nuisances_path
fs::path default_nuisances_path() const override
Returns the path to the built-in nuisance definition file.
Definition
RuntimeNuisancePathsAdapter.cpp:25
RuntimeNuisancePathsAdapter::user_nuisances_path
fs::path user_nuisances_path() const override
Returns the path to the user override nuisance definition file.
Definition
RuntimeNuisancePathsAdapter.cpp:30
RuntimeNuisancePathsAdapter::RuntimeNuisancePathsAdapter
RuntimeNuisancePathsAdapter()
Construct an adapter backed by the active Core runtime.
Definition
RuntimeNuisancePathsAdapter.cpp:8
Hyperiso
core
src
Statistic
adapters
RuntimeNuisancePathsAdapter.h
Generated by
1.9.8