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

Template manager for numeric examples. More...

#include <TemplateManager.h>

Inheritance diagram for NumericTemplateManager:
Collaboration diagram for NumericTemplateManager:

Public Member Functions

 NumericTemplateManager (const std::string &templatesDir)
 Constructs a numeric template manager.
 
- Public Member Functions inherited from TemplateManagerBase
 TemplateManagerBase (const std::string &templatesDir)
 Constructs a manager with a given templates directory.
 
virtual ~TemplateManagerBase ()=default
 
void generateTemplate (const std::string &templateName, const std::string &outputPath)
 Public entry point for template generation.
 
void setModelModifier (std::unique_ptr< ModelModifier > modifier)
 Injects a custom model modifier.
 
void setNumModelModifier (std::unique_ptr< GeneralNumModelModifier > modifier)
 Injects a numeric model modifier.
 
void setModelAndWilson (std::string model, std::string wilson)
 Sets both model and Wilson names used during generation.
 
std::unordered_set< InterpretedParamget_dependencies ()
 Returns the set of interpreted parameters used by the numeric modifier.
 

Additional Inherited Members

- Protected Member Functions inherited from TemplateManagerBase
bool already_generated (const std::string &path)
 Checks whether a file was already generated by this system.
 
- Protected Attributes inherited from TemplateManagerBase
std::string templatesDir
 Directory containing the template sources.
 
std::string wilson
 Wilson basis name.
 
std::string model
 Model name.
 
std::unique_ptr< ModelModifiermodelModifier
 Optional modifier for non-numeric templates.
 
std::unique_ptr< GeneralNumModelModifiernumModifier
 Optional modifier for numeric templates.
 

Detailed Description

Template manager for numeric examples.

This manager relies on a GeneralNumModelModifier to:

  • copy and adapt numeric example templates,
  • generate a parameter file and CSV for Wilson coefficients,
  • ensure helper headers (e.g. csv_helper.*) are copied into place.

Definition at line 136 of file TemplateManager.h.

Constructor & Destructor Documentation

◆ NumericTemplateManager()

NumericTemplateManager::NumericTemplateManager ( const std::string &  templatesDir)
inline

Constructs a numeric template manager.

Parameters
templatesDirDirectory that conceptually hosts templates (not always used directly, as file paths are typically obtained from FileNameManager).

Definition at line 144 of file TemplateManager.h.


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