Modify the metadata-related methods in artdaq::Fragment
... to make it easier/more robust for users to update the metadata contents after the Fragment is constructed.
This came up during our 09-Feb-2016 discussion (https://cdcvs.fnal.gov/redmine/projects/artdaq/wiki/February_9_2016_discussion_notes).
#1 Updated by John Freeman over 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Added the "updateMetadata" function along with appropriate tests to artdaq::Fragment; changes can be found in the develop branch's commit acd91c6db55fa20e88de13480e1c665e699260b5 (a merge of the feature/metadata_improvements branch). "updateMetadata" allows the user to overwrite the current values in the metadata struct in an artdaq::Fragment - this is useful if, e.g., the metadata values aren't initially known at the time of the construction of the artdaq::Fragment.