Hyperiso
1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
CoefficientGroupBuilder.h
Go to the documentation of this file.
1
#ifndef COEFFICIENT_GROUP_BUILDER_H
2
#define COEFFICIENT_GROUP_BUILDER_H
3
4
#include <memory>
5
6
#include "
GroupDefinition.h
"
7
#include "
WilsonGroup.h
"
8
#include "
Wilson.h
"
9
#include "
WilsonCoefficientRegistry.h
"
10
#include "
GenericWilsonGroup.h
"
11
53
class
CoefficientGroupBuilder
{
54
public
:
60
explicit
CoefficientGroupBuilder
(
const
CoefficientRegistry
& reg) : reg_(reg) {}
61
81
std::shared_ptr<CoefficientGroup>
build
(
const
BuildContext
& ctx)
const
;
82
83
private
:
85
const
CoefficientRegistry
& reg_;
86
};
87
88
#endif
// COEFFICIENT_GROUP_BUILDER_H
GenericWilsonGroup.h
Generic, copyable implementation of a Wilson CoefficientGroup.
GroupDefinition.h
Declarative registry describing Wilson coefficient groups, their sources, and setup hooks.
WilsonCoefficientRegistry.h
Factory registry for creating concrete WilsonCoefficient objects by (coefficient, model,...
WilsonGroup.h
Domain container grouping related Wilson coefficients with matching and running access.
Wilson.h
Domain objects representing Wilson coefficients and their matching metadata.
CoefficientGroupBuilder
Builds a ready-to-use CoefficientGroup instance from a BuildContext.
Definition
CoefficientGroupBuilder.h:53
CoefficientGroupBuilder::CoefficientGroupBuilder
CoefficientGroupBuilder(const CoefficientRegistry ®)
Constructs the builder with a reference to a coefficient registry.
Definition
CoefficientGroupBuilder.h:60
CoefficientGroupBuilder::build
std::shared_ptr< CoefficientGroup > build(const BuildContext &ctx) const
Builds the coefficient group described by ctx.group_id.
Definition
CoefficientGroupBuilder.cpp:12
CoefficientRegistry
Registry mapping (WCoef, Model, Backend) -> coefficient factory function.
Definition
WilsonCoefficientRegistry.h:80
BuildContext
Build-time context passed to group setup hooks.
Definition
GroupDefinition.h:85
Hyperiso
core
src
PhysicalModel
domain
CoefficientGroupBuilder.h
Generated by
1.9.8