Skip to content

Herwig7_i: add back powhegAnalysis for event counting in bb4l+H7 matching

Katharina Voss requested to merge katharin/athena:bb4l_h7_powhegAnalysis into main
  • Adding back of the powhegAnalysis source code files, which are needed for event counting during the bb4l+H7 matching.

Due to issues of HepMC2/HepMC3 compatibility, the source code in powhegAnalysis, which relies on HepMC is removed and a new event counting variable nevcounter_.nev is introduced, as suggested by Silvia Ferrario Ravasio, who provided the bb4l+H7 matching source code. Due to thread safety warnings, the powhegAnalysis class has been declared ATLAS_NOT_THREAD_SAFE

  • Adapting BB4LPowhegLesHouchesFileReader to be similar to PowhegLesHouchesFileReader

Further, issues in invariant mass distributions of the top-quark were found in bb4l+H7 samples using the dedicated matching, which could be traced back to a reassignment of the XWGTUP value in the BB4LPowhegLesHouchesFileReader, which has been fixed in this merge request. The BB4LPowhegLesHouchesFileReader has been adapted to match more closely the general PowhegLesHouchesFileReader to avoid further issues with event weights.

  • Removing unused source code

Source code, which is not needed for the matching, has been removed to improve readability.

Edited by Katharina Voss

Merge request reports

Loading