Skip to content
Snippets Groups Projects
Unverified Commit 1f4a11a2 authored by git's avatar git
Browse files

TRestEventProcess::InitFromConfigFile. Now mathematical expressions are also evaluated

parent 5d803e3e
No related branches found
No related tags found
Loading
Pipeline #2817950 passed
...@@ -168,7 +168,8 @@ class TRestEventProcess : public TRestMetadata { ...@@ -168,7 +168,8 @@ class TRestEventProcess : public TRestMetadata {
virtual void InitFromConfigFile() { virtual void InitFromConfigFile() {
map<string, string> parameters = GetParametersList(); map<string, string> parameters = GetParametersList();
for (auto& p : parameters) p.second = fRunInfo->ReplaceMetadataMembers(p.second); for (auto& p : parameters)
p.second = ReplaceMathematicalExpressions(fRunInfo->ReplaceMetadataMembers(p.second));
ReadParametersList(parameters); ReadParametersList(parameters);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment