Skip to content

AnalysisTop - add BadBatman cleaning option

Tomas Dado requested to merge tdado/athena:21.2-AT-BadBatmanVeto into 21.2

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

Merge request reports