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

#include <MesonMixingWilson.h>

Inheritance diagram for C_mix_bd_2:
Collaboration diagram for C_mix_bd_2:

Public Member Functions

 C_mix_bd_2 ()
 
std::shared_ptr< WilsonCoefficientclone () const override
 Virtual clone for polymorphic copy.
 
- Public Member Functions inherited from WilsonCoefficient
 WilsonCoefficient ()=default
 
 WilsonCoefficient (const std::string &name, const std::string &storage_block)
 Constructs a coefficient from a domain name and a storage block.
 
 WilsonCoefficient (const LhaID &name, const std::string &storage_block, ContributionType ct)
 Constructs a coefficient from an LHA base name and explicit contribution type.
 
std::function< scalar_t(const ParamSrc &)> get_func (QCDOrder order)
 Returns the compute function for a given QCD order.
 
std::unordered_set< ParamIdget_sources (QCDOrder order)
 Returns the source ParamIds required at a given QCD order.
 
LhaID get_lhaid (QCDOrder order)
 Returns the storage LhaID associated with a given QCD order.
 
LhaID get_lhaid_from_name (QCDOrder order)
 Computes the LhaID directly from the coefficient base name and mapping conventions.
 
std::string get_base_name () const
 Returns the base name of the coefficient without BSM suffixes.
 
void set_name (std::string name)
 Sets the domain name of the coefficient.
 
void set_owned (bool owned)
 Sets the ownership flag.
 
void set_storage_block (std::string block_name)
 Sets the storage block where the coefficient value is stored.
 
void set_contribution_type (ContributionType type)
 Sets the contribution type (SM/BSM/…).
 
void add_matching_patch (QCDOrder order, std::unordered_set< ParamId > extra_sources, std::function< scalar_t(const ParamSrc &)> patch)
 Add an extra additive term to the matching function of one QCD order.
 
complex_t get_matching_value (std::string order, ContributionType cont_type, std::shared_ptr< IParameterProxy< std::string, LhaID > > wilson_p) const
 Reads the coefficient value from the storage backend for a given order/type.
 
std::string get_name () const
 Returns the current full name (may include suffixes).
 
std::string get_storage_block () const
 Returns the storage block name.
 
ContributionType get_type ()
 Returns the current contribution type.
 
LhaID id (QCDOrder order, ContributionType typ) const
 Returns the LHA id for a given order and contribution type.
 
bool operator== (const WilsonCoefficient &other) const
 Equality compares name, contribution type, and ownership flag.
 
bool operator!= (const WilsonCoefficient &other) const
 Inequality convenience.
 
virtual ~WilsonCoefficient ()=default
 

Additional Inherited Members

- Protected Attributes inherited from WilsonCoefficient
std::string coeffName {}
 Domain name of the coefficient (may include suffixes like _THDM/_SUSY).
 
ContributionType type {ContributionType::SM}
 Contribution type for this coefficient (SM by default, inferred in constructors).
 
bool is_owned {false}
 Ownership flag (used by higher-level logic to track "produced" coefficients).
 
std::string storage_block
 Block name where this coefficient is stored in the Parameters system.
 
std::map< QCDOrder, MatchingInfomatching_info
 Matching metadata indexed by QCD order.
 

Detailed Description

Definition at line 30 of file MesonMixingWilson.h.

Constructor & Destructor Documentation

◆ C_mix_bd_2()

C_mix_bd_2::C_mix_bd_2 ( )

Definition at line 30 of file MesonMixingWilson.cpp.

Member Function Documentation

◆ clone()

std::shared_ptr< WilsonCoefficient > C_mix_bd_2::clone ( ) const
inlineoverridevirtual

Virtual clone for polymorphic copy.

Derived coefficient types must implement this to support copying through base pointers.

Returns
A new heap-allocated copy of the dynamic type.

Implements WilsonCoefficient.

Definition at line 34 of file MesonMixingWilson.h.


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