Skip to content
Snippets Groups Projects
Commit 8e6da638 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'master-mgmr' into 'master'

TTbarWithJpsimumuFilter: bug fix, PowhegControl: add mu2tau postprocessor alg.

See merge request atlas/athena!49588
parents cede9431 c7feb2d9
No related branches found
No related tags found
5 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!49588TTbarWithJpsimumuFilter: bug fix, PowhegControl: add mu2tau postprocessor alg.
/*
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;
......
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment