AnalysisTop - add BadBatman cleaning option
This MR adds option to use BadBatman cleaning option via the standard AnalysisTop config file by setting UseBadBatmanCleaning True
(it is set to False
by default). Additionally BadBatmanCleaningRange XXXX:YYYY
is available where XXXX
and YYYY
are RunNumbers where the cleaning is applied, default is set to 15/16.
The cleaning is applied during the JETCLEAN
step and is applied to both EMTopo and EMPFlow jets. The cleaning is applied only to Data.
If the RunNumbers include 2017 RunNumbers, the code throws an error to prevent accidental runs on 2017 data, as this is not recommended.
Closes ANALYSISTO-794
Edited by Tomas Dado