framework icon indicating copy to clipboard operation
framework copied to clipboard

TRestDataSet new strategies 'append' and 'extend' for RelevantQuantity

Open AlvaroEzq opened this issue 1 year ago • 0 comments

AlvaroEzq Ok: 27 Powered by Pull Request Badge

Adding new strategy options for RelevantQuantity.

  • append: It will append the metadata member value to the previous value. The user can specify the appender string after the append keyword. If no appender is given, then an empty string will be used. It will check if the value is already in the string and not append it if it is. Use extend if you want to force the append.
  • extend: same as append but it will not check if the value is already in the string.

These are useful for example for the relevant quantity containing the run number metadata of a TRestDataSet originated by several runs. Also for the parent run number.

AlvaroEzq avatar Jul 08 '24 09:07 AlvaroEzq