migrate ftag analysis tools from 21.2 to master https://its.cern.ch/jira/browse/AFT-514
merge the changes to the analysis tools from the last 3 years from 21.2 to master
Edited by Jonathan Shlomi
merge the changes to the analysis tools from the last 3 years from 21.2 to master