Create an analogue to artapp that accepts the art configuration as a string argument
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:
[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.
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.
#1 Updated by Christopher Green about 7 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