ROOTPWA-Maintainers / ROOTPWA

ROOTPWA is a toolkit for partial-wave analysis of multi-particle final states produced in high-energy particle reactions. It is used to determine hadron spectra from experimental data.
Other
8 stars 14 forks source link

storageFormats: additionalTreeVariables class #224

Closed stefan-wallner closed 7 years ago

stefan-wallner commented 7 years ago

Implement additionalVariables class that handles additional variables of an event tree. Additionally, impelement a member function that uses these variables to determine wether the current event is in a given multibin.

suhlatwork commented 7 years ago

With respect to 91503d6f573c88b16e4334b2e1c03f3965f55d08 removed some now unused variables, and improved the coding style.

Do we need the additionalTreeVariables::labels function? This seems to be not used, it is not exported to Python, and I do not think it is useful to get it from this class. After all an object of this class can only be brought to a useful state with an eventMetadata object, so one could always query the eventMetadata object for this information.

stefan-wallner commented 7 years ago

I agree that additionalTreeVariables::labels is not needed. I removed it.

suhlatwork commented 7 years ago

Merged. Thank you!