Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
CoefficientGroupBuilder.h File Reference

Builder assembling a CoefficientGroup from a GroupDefinition and a CoefficientRegistry. More...

#include <memory>
#include "GroupDefinition.h"
#include "WilsonGroup.h"
#include "Wilson.h"
#include "WilsonCoefficientRegistry.h"
#include "GenericWilsonGroup.h"
Include dependency graph for CoefficientGroupBuilder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CoefficientGroupBuilder
 Builds a ready-to-use CoefficientGroup instance from a BuildContext. More...
 

Detailed Description

Builder assembling a CoefficientGroup from a GroupDefinition and a CoefficientRegistry.

This header defines CoefficientGroupBuilder, a small orchestrator responsible for:

Key concepts

  • GroupDefinition describes what belongs to a group: members (WCoef list), dependency sources per basis/order, and optional model setup hooks.
  • CoefficientRegistry decides how to instantiate each coefficient: it maps (WCoef, Model, Backend) to a concrete WilsonCoefficient subclass factory.
  • BuildContext carries runtime choices and adapters (proxies, composers, Marty info).

Matching block placeholder

Sources definitions often refer to the matching block name. To keep group definitions reusable, they may use MATCHING_BLOCK_PLACEHOLDER ("$MATCHING_BLOCK$") which is replaced at build time by the actual matching block name computed for the group.

See also
GroupDefinition
GroupDefinitions
CoefficientRegistry
GenericCoefficientGroup
BuildContext

Definition in file CoefficientGroupBuilder.h.