Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
LhaDBNodeProvider.h
Go to the documentation of this file.
1#ifndef LHANODEPROVIDER_H
2#define LHANODEPROVIDER_H
3
4#include <string>
5
6#include "IDBNodeProvider.h"
7#include "DBManager.h"
8
29public:
35 LhaDBNodeProvider(fs::path src_path_) : IDBNodeProvider(src_path_) {}
36
50 std::shared_ptr<DBNode> provide_db_as_node() override;
51
70 void add_lha_prototype(BlockName blockName, size_t itemCount=2, size_t valueIdx=1, int scaleIdx=-1, int rgIdx=-1, int binIdx=-1, bool globalScale=false);
71
72};
73
74#endif // LHANODEPROVIDER_H
High-level interface to load and save DBNodetrees from/to various file formats.
Interface for objects that expose a database/configuration as a DBNode tree.
Block identifier with alias support.
Definition BlockName.h:59
Abstract provider of Node-based views of external data.
DBNode provider for LHA / SLHA / FLHA sources.
LhaDBNodeProvider(fs::path src_path_)
Constructs a provider bound to a specific source path.
std::shared_ptr< DBNode > provide_db_as_node() override
Loads the underlying LHA file and returns it as a DBNode tree.
void add_lha_prototype(BlockName blockName, size_t itemCount=2, size_t valueIdx=1, int scaleIdx=-1, int rgIdx=-1, int binIdx=-1, bool globalScale=false)
Adds a new LHA block prototype to the global set.