Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DefaultNuisancePathsProvider.h
Go to the documentation of this file.
1#ifndef DEFAULTNUISANCEPATHSPROVIDER_H
2#define DEFAULTNUISANCEPATHSPROVIDER_H
3
4#include <memory>
5#include <utility>
6
8#include "IPathsProvider.h"
10
24 std::shared_ptr<IPathsProvider> paths_provider = std::make_shared<DefaultPathsProvider>()
25 )
26 : paths_provider_(std::move(paths_provider)) {}
27
34 fs::path default_nuisances_path() const override {
35 return paths_provider_->default_nuisances();
36 }
37
44 fs::path user_nuisances_path() const override {
45 return paths_provider_->user_nuisances();
46 }
47
48private:
49 std::shared_ptr<IPathsProvider> paths_provider_;
50};
51
52#endif // DEFAULTNUISANCEPATHSPROVIDER_H
Interface for locating nuisance-parameter configuration files.
Abstract provider for default and user nuisance-file paths.
Hash specialization for SymbolId<Tag>.
Definition BlockName.h:353
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.
DefaultNuisancePathsProvider(std::shared_ptr< IPathsProvider > paths_provider=std::make_shared< DefaultPathsProvider >())