Feature #3191
Create an analogue to artapp that accepts the art configuration as a string argument
100%
Description
In DS-50 DAQ, configuration information will be sent to the MPI program elements via XMLRPC. This will include the configuration of the compression and filtering algorithms in art. At the moment, the artapp function that is available to allow art to be run from the EventStore class accepts a configuration filename rather than a configuration string. It sounds like what is needed is a new function that takes the configuration string directly.
Here are some email excerpts on this subject:
Kurt:
[To Marc] I like your idea of creating a new function that is similar to artapp but is fed the art configuration via a different mechanism than a disk file (maybe as a const std::string reference?). This would allow the full configuration to be sent to the eventbuilder and aggregator processes via XMLRPC.
Chris:
Unfortunately, it would not be sufficient to replace artapp.cc in this case. The "-c" option is handled by the BasicOptionsHandler, which is controlled by run_art. We would need to re-organize things slightly to allow an artapp replacement to change how the base configuration is obtained.
Related issues
History
#1 Updated by Christopher Green almost 8 years ago
- Category set to Application
- Status changed from New to Resolved
- Assignee set to Kurt Biery
- Target version set to 1.03.03
- % Done changed from 0 to 100
Implemented with commits 04045cc2bbf4c1573abf0d2c93fa3c3416e14502 and 10137be36a2dc8df2e2f5db90f476da8bc70f49d. Implementation revised slightly with e94e0d7ca6dc4be6db01300e595abb05c9b8372f for art 1.03.06
#2 Updated by Christopher Green over 7 years ago
- Status changed from Resolved to Closed