Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ObsWilsonHelper Class Reference

#include <ObsWilsonHelper.h>

Public Member Functions

 ObsWilsonHelper ()=default
 
 ObsWilsonHelper (bool reset)
 Compatibility constructor used by a few apps/tests to request a reset.
 
void clear ()
 Clear the per-helper build/freeze state.
 
void build (WilsonBuildConfig config, std::shared_ptr< IObsWilsonBuilder > &wil_builder, std::shared_ptr< IWilsonFreezer< WGroupId > > iobs_wfreezer)
 Build or update Wilson groups required by observables.
 
void mark_built (WGroupId group, const WilsonBuildConfig &config, bool frozen=false)
 Mark a Wilson group as already available in this helper state.
 
void mark_built (WGroupId group, double matching_scale, double hadronic_scale, QCDOrder order, bool frozen=false)
 Mark a group using a minimal single-group build signature.
 

Detailed Description

Definition at line 19 of file ObsWilsonHelper.h.

Constructor & Destructor Documentation

◆ ObsWilsonHelper() [1/2]

ObsWilsonHelper::ObsWilsonHelper ( )
default

◆ ObsWilsonHelper() [2/2]

ObsWilsonHelper::ObsWilsonHelper ( bool  reset)
inlineexplicit

Compatibility constructor used by a few apps/tests to request a reset.

Since the helper is no longer backed by static global state, resetting only clears this instance.

Definition at line 29 of file ObsWilsonHelper.h.

Member Function Documentation

◆ build()

void ObsWilsonHelper::build ( WilsonBuildConfig  config,
std::shared_ptr< IObsWilsonBuilder > &  wil_builder,
std::shared_ptr< IWilsonFreezer< WGroupId > >  iobs_wfreezer 
)

Build or update Wilson groups required by observables.

A group is rebuilt when it has never been built by this helper, or when it was previously built with a different matching scale, hadronic scale, or QCD order. This prevents cross-contamination between configurations.

Definition at line 7 of file ObsWilsonHelper.cpp.

◆ clear()

void ObsWilsonHelper::clear ( )

Clear the per-helper build/freeze state.

Definition at line 3 of file ObsWilsonHelper.cpp.

◆ mark_built() [1/2]

void ObsWilsonHelper::mark_built ( WGroupId  group,
const WilsonBuildConfig config,
bool  frozen = false 
)

Mark a Wilson group as already available in this helper state.

Runtime custom Wilson groups are installed through IObsWilsonBuilder and then marked here so DecayParent::enable() does not try to rebuild them via the static Wilson group definitions.

Definition at line 20 of file ObsWilsonHelper.cpp.

◆ mark_built() [2/2]

void ObsWilsonHelper::mark_built ( WGroupId  group,
double  matching_scale,
double  hadronic_scale,
QCDOrder  order,
bool  frozen = false 
)

Mark a group using a minimal single-group build signature.

Definition at line 24 of file ObsWilsonHelper.cpp.


The documentation for this class was generated from the following files: