Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ObservableExtractor.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <vector>
5#include <unordered_map>
6#include <algorithm>
7#include <optional>
8#include <memory>
9
10#include "IOutputExtractor.h"
11#include "ObservableInterface.h"
12#include "Include.h"
13
14std::string obs_key(const ObservableId& obs, QCDOrder ord);
15std::string obs_key_bin(const ObservableId& obs, QCDOrder ord, double bmin, double bmax);
16
18public:
20 : oi_(oi), ord_(ord) {}
21
22 std::vector<std::string> schema(const OutputSpec& spec) const override;
23
24 void extract(std::unordered_map<std::string, Value>& outY,
25 const OutputSpec& spec) const override;
26
27private:
29 QCDOrder ord_;
30};
QCDOrder
std::string obs_key(const ObservableId &obs, QCDOrder ord)
std::string obs_key_bin(const ObservableId &obs, QCDOrder ord, double bmin, double bmax)
High-level, user-facing entry point to compute flavor observables.
std::vector< std::string > schema(const OutputSpec &spec) const override
void extract(std::unordered_map< std::string, Value > &outY, const OutputSpec &spec) const override
ObservableExtractor(ObservableInterface &oi, QCDOrder ord)