|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Registry/factory of built-in and custom GroupDefinition objects. More...
Functions | |
| const GroupDefinition & | B () |
| Built-in group definition accessors. | |
| const GroupDefinition & | BPrime () |
| const GroupDefinition & | BScalar () |
| const GroupDefinition & | CC_bc () |
| const GroupDefinition & | CC_bu () |
| const GroupDefinition & | CC_cd () |
| const GroupDefinition & | CC_cs () |
| const GroupDefinition & | CC_du () |
| const GroupDefinition & | CC_su () |
| const GroupDefinition & | K () |
| const GroupDefinition & | MesonMixing () |
| const GroupDefinition & | get (WGroupId g) |
| Returns the definition for a given group id. | |
| void | register_custom (const GroupDefinition &def) |
| Registers a custom group definition at runtime. | |
| bool | has_custom (WGroupId id) |
| Checks if a custom group definition is registered. | |
| const GroupDefinition & | get_custom (WGroupId id) |
| Retrieves a previously registered custom group definition. | |
Registry/factory of built-in and custom GroupDefinition objects.
This namespace provides:
Built-in selection:
Custom registry:
| const GroupDefinition & GroupDefinitions::B | ( | ) |
Built-in group definition accessors.
Definition at line 7 of file GroupDef_B.cpp.
| const GroupDefinition & GroupDefinitions::BPrime | ( | ) |
Definition at line 7 of file GroupDef_BPrime.cpp.
| const GroupDefinition & GroupDefinitions::BScalar | ( | ) |
Definition at line 245 of file GroupDef_BScalar.cpp.
| const GroupDefinition & GroupDefinitions::CC_bc | ( | ) |
Definition at line 7 of file GroupDef_CC_bc.cpp.
| const GroupDefinition & GroupDefinitions::CC_bu | ( | ) |
Definition at line 7 of file GroupDef_CC_bu.cpp.
| const GroupDefinition & GroupDefinitions::CC_cd | ( | ) |
Definition at line 7 of file GroupDef_CC_cd.cpp.
| const GroupDefinition & GroupDefinitions::CC_cs | ( | ) |
Definition at line 7 of file GroupDef_CC_cs.cpp.
| const GroupDefinition & GroupDefinitions::CC_du | ( | ) |
Definition at line 7 of file GroupDef_CC_du.cpp.
| const GroupDefinition & GroupDefinitions::CC_su | ( | ) |
Definition at line 7 of file GroupDef_CC_su.cpp.
| const GroupDefinition & GroupDefinitions::get | ( | WGroupId | g | ) |
Returns the definition for a given group id.
If g is a known built-in group, returns the corresponding static definition. Otherwise, attempts to retrieve a registered custom definition.
| g | Group identifier. |
| std::runtime_error | if the id is neither a known built-in nor a registered custom id. |
Definition at line 54 of file GroupDefinitions.cpp.
| const GroupDefinition & GroupDefinitions::get_custom | ( | WGroupId | id | ) |
Retrieves a previously registered custom group definition.
| id | Group identifier. |
| std::runtime_error | if no custom definition exists for id. |
Definition at line 48 of file GroupDefinitions.cpp.
| bool GroupDefinitions::has_custom | ( | WGroupId | id | ) |
Checks if a custom group definition is registered.
| id | Group identifier. |
id. Definition at line 45 of file GroupDefinitions.cpp.
| const GroupDefinition & GroupDefinitions::K | ( | ) |
Definition at line 7 of file GroupDef_K.cpp.
| const GroupDefinition & GroupDefinitions::MesonMixing | ( | ) |
Definition at line 12 of file GroupDef_MesonMixing.cpp.
| void GroupDefinitions::register_custom | ( | const GroupDefinition & | def | ) |
Registers a custom group definition at runtime.
The definition is stored by id and can later be retrieved via get_custom() or via the generic get() lookup if the id is not recognized as built-in.
| def | Custom group definition to register. |
Definition at line 42 of file GroupDefinitions.cpp.