diff --git a/Generators/GeneratorFilters/src/TTbarWithJpsimumuFilter.cxx b/Generators/GeneratorFilters/src/TTbarWithJpsimumuFilter.cxx index d0a2de386b30884451adf46cf47e72a684fdd180..02652c2eb326baa5d207df835805f054c141daba 100644 --- a/Generators/GeneratorFilters/src/TTbarWithJpsimumuFilter.cxx +++ b/Generators/GeneratorFilters/src/TTbarWithJpsimumuFilter.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration */ #include "GeneratorFilters/TTbarWithJpsimumuFilter.h" @@ -50,6 +50,15 @@ StatusCode TTbarWithJpsimumuFilter::filterEvent() { // =========================================== for(auto part: *genEvt) { if(HepMC::barcode(part) > 200000) break; + + int pdgid = abs(part->pdg_id()); + // don't loose time checking all if one found + if (pdgid == 443) { + if(!isLeptonDecay(part,13)) continue; + } else { + continue; + } + if ( !passJpsiSelection(part) ) continue; isjpsi=true; diff --git a/Generators/PowhegControl/python/algorithms/postprocessors/__init__.py b/Generators/PowhegControl/python/algorithms/postprocessors/__init__.py index 793fc98019ec0e30aa7924fd38387d7fa9b90ca8..b26d3a6787789da9edfa5482c6a736980c3c6c79 100644 --- a/Generators/PowhegControl/python/algorithms/postprocessors/__init__.py +++ b/Generators/PowhegControl/python/algorithms/postprocessors/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration # flake8: noqa @@ -7,6 +7,7 @@ from .directory_cleaner import directory_cleaner from .integration_gridpack_creator import integration_gridpack_creator from .integration_grid_tester import integration_grid_tester from .madspin import MadSpin +from .mu2tau import mu2tau from .nnlo_reweighter import NNLO_reweighter from .output_file_renamer import output_file_renamer from .output_tarball_preparer import output_tarball_preparer