You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if we could extend the nice system we have inside TRestEventProcess to TRestMetadata (i.e. avoiding re-implementation of InitFromConfigFile for simple parameters).
I thought it could be as simple as implementing TRestMetadata method,
virtual void InitFromConfigFile() {
map<string, string> parameters = GetParametersList();
for (auto& p : parameters) p.second = ReplaceMathematicalExpressions(p.second);
ReadParametersList(parameters);
}
however, I run into troubles.
Any quick solution to extend the processes InitFromConfigFile strategy to any metadata class?
The text was updated successfully, but these errors were encountered:
I wonder if we could extend the nice system we have inside
TRestEventProcess
toTRestMetadata
(i.e. avoiding re-implementation ofInitFromConfigFile
for simple parameters).I thought it could be as simple as implementing
TRestMetadata
method,however, I run into troubles.
Any quick solution to extend the processes
InitFromConfigFile
strategy to any metadata class?The text was updated successfully, but these errors were encountered: