-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ability to create configurable param from a given external struct
This commit provides the new feature of being able to create configurable param instances from a given external C++ struct. For example, a C++ struct `struct A { double x; }` can be used to define a correspondig configurable parameter via ``` class MyConfigParamA : o2::conf::ConfigurableParamPromoter<MyConfigParamA, A> {} ``` This allows to: - have "template" structs to create multiple params of the same structure - separate data from configkey functionality - extract data copies from underlying configurable parameters The application thereof is demonstrated for GeneratorPythia8Param. A unit test is added to check the new functionality.
- Loading branch information
Showing
9 changed files
with
278 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.