From d3a078f430366e3f0f465d7112015e0e5eaf8c4b Mon Sep 17 00:00:00 2001 From: "alexandra.oliveira@gmal.com" Date: Wed, 11 Jul 2018 11:02:16 +0200 Subject: [PATCH 1/4] fixing decay pattern --- ...sonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py} | 0 ...ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename python/ThirteenTeV/Higgs/HH/{ResonanceDecayFilter_example_HHTo4VTo4L_madgraph_pythia8_CP5_cff.py => ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py} (100%) rename python/ThirteenTeV/Higgs/HH/{ResonanceDecayFilter_example_HHTo4VTo4L_powheg_pythia8_CP5_cff.py => ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py} (100%) diff --git a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4VTo4L_madgraph_pythia8_CP5_cff.py b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py similarity index 100% rename from python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4VTo4L_madgraph_pythia8_CP5_cff.py rename to python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py diff --git a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4VTo4L_powheg_pythia8_CP5_cff.py b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py similarity index 100% rename from python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4VTo4L_powheg_pythia8_CP5_cff.py rename to python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py From 80cb061e6a85026937408b02364084f34f8541b7 Mon Sep 17 00:00:00 2001 From: "alexandra.oliveira@gmal.com" Date: Wed, 11 Jul 2018 11:04:25 +0200 Subject: [PATCH 2/4] removing unecessary statment --- ...sonanceDecayFilter_example_HHTo4T_madgraph_pythia8_CP5_cff.py | 1 - ...ResonanceDecayFilter_example_HHTo4T_powheg_pythia8_CP5_cff.py | 1 - 2 files changed, 2 deletions(-) diff --git a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4T_madgraph_pythia8_CP5_cff.py b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4T_madgraph_pythia8_CP5_cff.py index c798c6e9fe28..1429f9fa1bb7 100644 --- a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4T_madgraph_pythia8_CP5_cff.py +++ b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4T_madgraph_pythia8_CP5_cff.py @@ -21,7 +21,6 @@ 'ResonanceDecayFilter:filter = on', 'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters 'ResonanceDecayFilter:mothers = 25', #list of mothers not specified -> count all particles in hard process+resonance decays (better to avoid specifying mothers when including leptons from the lhe in counting, since intermediate resonances are not gauranteed to appear in general - 'ResonanceDecayFilter:wzAsEquivalent = on', 'ResonanceDecayFilter:daughters = 15,15,15,15', ), parameterSets = cms.vstring('pythia8CommonSettings', diff --git a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4T_powheg_pythia8_CP5_cff.py b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4T_powheg_pythia8_CP5_cff.py index a0bc3d5aae7b..eb71de4cd327 100644 --- a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4T_powheg_pythia8_CP5_cff.py +++ b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4T_powheg_pythia8_CP5_cff.py @@ -23,7 +23,6 @@ 'ResonanceDecayFilter:filter = on', 'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters 'ResonanceDecayFilter:mothers = 25', #list of mothers not specified -> count all particles in hard process+resonance decays (better to avoid specifying mothers when including leptons from the lhe in counting, since intermediate resonances are not gauranteed to appear in general - 'ResonanceDecayFilter:wzAsEquivalent = on', 'ResonanceDecayFilter:daughters = 15,15,15,15', ), parameterSets = cms.vstring('pythia8CommonSettings', From b4472fa2d48adaf010bd01fa15e707b97ebcea6b Mon Sep 17 00:00:00 2001 From: "alexandra.oliveira@gmal.com" Date: Wed, 11 Jul 2018 11:05:57 +0200 Subject: [PATCH 3/4] fix decay pattern --- ...eDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py | 7 +++++-- ...nceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py index c21c63dedd0f..0a0e996cf745 100644 --- a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py +++ b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py @@ -1,5 +1,8 @@ import FWCore.ParameterSet.Config as cms +## Warning: it needs backport to this PR https://github.com/cms-sw/cmssw/pull/21132/files#diff-e6956e697ae15d477aa15e3af530f192 +## (valid from CMSSW_10X+) + from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * @@ -17,7 +20,7 @@ '24:mMin = 0.05', '25:m0 = 125.0', '25:onMode = off', - '25:onIfMatch = 15 -15', + '25:onIfMatch = 24 -24', '25:onIfMatch = 23 23', 'ResonanceDecayFilter:filter = on', 'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters @@ -25,7 +28,7 @@ 'ResonanceDecayFilter:eMuTauAsEquivalent = on', #on: treat electrons, muons , and taus as equivalent 'ResonanceDecayFilter:mothers = 25', #list of mothers not specified -> count all particles in hard process+resonance decays (better to avoid specifying mothers when including leptons from the lhe in counting, since intermediate resonances are not gauranteed to appear in general 'ResonanceDecayFilter:wzAsEquivalent = on', - 'ResonanceDecayFilter:daughters = 23,23,23,23,1,1,1,1', + 'ResonanceDecayFilter:daughters = 23,23,23,23', ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CP5Settings', diff --git a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py index ba03705fa6f7..db980ad8ab5b 100644 --- a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py +++ b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py @@ -3,6 +3,9 @@ from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * +## Warning: it needs backport to this PR https://github.com/cms-sw/cmssw/pull/21132/files#diff-e6956e697ae15d477aa15e3af530f192 +## (valid from CMSSW_10X+) + generator = cms.EDFilter("Pythia8HadronizerFilter", maxEventsToPrint = cms.untracked.int32(1), pythiaPylistVerbosity = cms.untracked.int32(1), @@ -19,7 +22,7 @@ '24:mMin = 0.05', '25:m0 = 125.0', '25:onMode = off', - '25:onIfMatch = 15 -15', + '25:onIfMatch = 24 -24', '25:onIfMatch = 23 23', 'ResonanceDecayFilter:filter = on', 'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters @@ -27,7 +30,7 @@ 'ResonanceDecayFilter:eMuTauAsEquivalent = on', #on: treat electrons, muons , and taus as equivalent 'ResonanceDecayFilter:mothers = 25', #list of mothers not specified -> count all particles in hard process+resonance decays (better to avoid specifying mothers when including leptons from the lhe in counting, since intermediate resonances are not gauranteed to appear in general 'ResonanceDecayFilter:wzAsEquivalent = on', - 'ResonanceDecayFilter:daughters = 23,23,23,23,1,1,1,1', + 'ResonanceDecayFilter:daughters = 23,23,23,23', ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CP5Settings', From 6c0335ba9c5e2a7243c5e842d228261381b551c4 Mon Sep 17 00:00:00 2001 From: "alexandra.oliveira@gmal.com" Date: Wed, 11 Jul 2018 18:50:23 +0200 Subject: [PATCH 4/4] removing unecessary comment --- ...onanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py | 2 -- ...esonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py index 0a0e996cf745..fc5724456fdb 100644 --- a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py +++ b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_madgraph_pythia8_CP5_cff.py @@ -24,8 +24,6 @@ '25:onIfMatch = 23 23', 'ResonanceDecayFilter:filter = on', 'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters - 'ResonanceDecayFilter:eMuAsEquivalent = off', #on: treat electrons and muons as equivalent - 'ResonanceDecayFilter:eMuTauAsEquivalent = on', #on: treat electrons, muons , and taus as equivalent 'ResonanceDecayFilter:mothers = 25', #list of mothers not specified -> count all particles in hard process+resonance decays (better to avoid specifying mothers when including leptons from the lhe in counting, since intermediate resonances are not gauranteed to appear in general 'ResonanceDecayFilter:wzAsEquivalent = on', 'ResonanceDecayFilter:daughters = 23,23,23,23', diff --git a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py index db980ad8ab5b..5417c5250eb6 100644 --- a/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py +++ b/python/ThirteenTeV/Higgs/HH/ResonanceDecayFilter_example_HHTo4V_powheg_pythia8_CP5_cff.py @@ -26,8 +26,6 @@ '25:onIfMatch = 23 23', 'ResonanceDecayFilter:filter = on', 'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters - 'ResonanceDecayFilter:eMuAsEquivalent = off', #on: treat electrons and muons as equivalent - 'ResonanceDecayFilter:eMuTauAsEquivalent = on', #on: treat electrons, muons , and taus as equivalent 'ResonanceDecayFilter:mothers = 25', #list of mothers not specified -> count all particles in hard process+resonance decays (better to avoid specifying mothers when including leptons from the lhe in counting, since intermediate resonances are not gauranteed to appear in general 'ResonanceDecayFilter:wzAsEquivalent = on', 'ResonanceDecayFilter:daughters = 23,23,23,23',