From b95e4aac33a822a9baf99450f41bbcbd0132c4ce Mon Sep 17 00:00:00 2001 From: Mohit Srivastav Date: Tue, 15 Oct 2024 16:39:47 -0400 Subject: [PATCH 1/4] updated PYTHIA filter to mass filter --- ...TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py} | 20 +++---- ...TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py | 59 +++++++++++++++++++ ...uneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py | 59 +++++++++++++++++++ ...o4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py | 59 +++++++++++++++++++ ...4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py | 58 ++++++++++++++++++ ...L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py | 58 ++++++++++++++++++ 6 files changed, 303 insertions(+), 10 deletions(-) rename genfragments/ThirteenPointSixTeV/Higgs/{GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2.py => GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py} (78%) create mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py create mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py create mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py create mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py create mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py similarity index 78% rename from genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2.py rename to genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py index 516c9093bc41..7ecf399fd6c4 100644 --- a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2.py +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py @@ -30,10 +30,13 @@ pythia8CP5SettingsBlock, pythia8PSweightsSettingsBlock, processParameters = cms.vstring( - 'SpaceShower:pTmaxMatch = 1', - 'TimeShower:pTmaxMatch = 1', - 'SpaceShower:pTmaxFudge = 1', - 'TimeShower:pTmaxFudge = 1', + 'BeamRemnants:primordialKT = off', + 'PartonLevel:MPI = off', + 'SpaceShower:pTdampMatch = 1', + 'SpaceShower:pTdampFudge = 0.85', + 'SpaceShower:MEcorrections = off', + 'SpaceShower:alphaSvalue = 0.118', + 'SpaceShower:alphaSorder = 2' ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CP5Settings', @@ -43,10 +46,10 @@ ) ) -FourLeptonFilter = cms.EDFilter("MCMultiParticleFilter", # require 4-l in the final state with eta and pt cuts applied +FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied ParticleID = cms.vint32(-11,11,-13,13), - NumRequired = cms.int32(4), - AcceptMore = cms.bool(True), + minTotalMass = cms.double(70.0), + maxTotalMass = cms.double(1e15), PtMin = cms.vdouble(3.0), EtaMax = cms.vdouble(2.7), Status = cms.vint32(1), @@ -54,6 +57,3 @@ ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) -# Link to generator fragment: -# https://raw.githubusercontent.com/cms-sw/genproductions/20f59357146e08e48132cfd73d0fd72ca08b6b30/python/ThirteenTeV/Hadronizer/Hadronizer_TuneCP5_13TeV_pTmaxMatch_1_LHE_pythia8_cff.py - diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py new file mode 100644 index 000000000000..caff2de4d442 --- /dev/null +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py @@ -0,0 +1,59 @@ +import FWCore.ParameterSet.Config as cms + +externalLHEProducer = cms.EDProducer("ExternalLHEProducer", + args = cms.vstring('Name'), + nEvents = cms.untracked.uint32(5000), + numberOfParameters = cms.uint32(1), + generateConcurrently = cms.untracked.bool(True), + outputFile = cms.string('cmsgrid_final.lhe'), + scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), +) + +# Link to cards: +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py +# --coupling 0PM --bsisigbkg BKG + +from Configuration.Generator.Pythia8CommonSettings_cfi import * +from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * +from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * +from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * + +generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", + maxEventsToPrint = cms.untracked.int32(1), + pythiaPylistVerbosity = cms.untracked.int32(1), + filterEfficiency = cms.untracked.double(1.0), + pythiaHepMCVerbosity = cms.untracked.bool(False), + comEnergy = cms.double(13600.), + PythiaParameters = cms.PSet( + pythia8CommonSettingsBlock, + pythia8CP5SettingsBlock, + pythia8PSweightsSettingsBlock, + processParameters = cms.vstring( + 'BeamRemnants:primordialKT = off', + 'PartonLevel:MPI = off', + 'SpaceShower:pTdampMatch = 1', + 'SpaceShower:pTdampFudge = 0.85', + 'SpaceShower:MEcorrections = off', + 'SpaceShower:alphaSvalue = 0.118', + 'SpaceShower:alphaSorder = 2' + ), + parameterSets = cms.vstring('pythia8CommonSettings', + 'pythia8CP5Settings', + 'pythia8PSweightsSettings', + 'processParameters', + ) + ) +) + +FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied + ParticleID = cms.vint32(-11,11,-15,15), + minTotalMass = cms.double(70.0), + maxTotalMass = cms.double(1e15), + PtMin = cms.vdouble(3.0), + EtaMax = cms.vdouble(2.7), + Status = cms.vint32(1), +) + +ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) + diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py new file mode 100644 index 000000000000..39b17bf20429 --- /dev/null +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py @@ -0,0 +1,59 @@ +import FWCore.ParameterSet.Config as cms + +externalLHEProducer = cms.EDProducer("ExternalLHEProducer", + args = cms.vstring('Name'), + nEvents = cms.untracked.uint32(5000), + numberOfParameters = cms.uint32(1), + generateConcurrently = cms.untracked.bool(True), + outputFile = cms.string('cmsgrid_final.lhe'), + scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), +) + +# Link to cards: +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py +# --coupling 0PM --bsisigbkg BKG + +from Configuration.Generator.Pythia8CommonSettings_cfi import * +from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * +from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * +from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * + +generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", + maxEventsToPrint = cms.untracked.int32(1), + pythiaPylistVerbosity = cms.untracked.int32(1), + filterEfficiency = cms.untracked.double(1.0), + pythiaHepMCVerbosity = cms.untracked.bool(False), + comEnergy = cms.double(13600.), + PythiaParameters = cms.PSet( + pythia8CommonSettingsBlock, + pythia8CP5SettingsBlock, + pythia8PSweightsSettingsBlock, + processParameters = cms.vstring( + 'BeamRemnants:primordialKT = off', + 'PartonLevel:MPI = off', + 'SpaceShower:pTdampMatch = 1', + 'SpaceShower:pTdampFudge = 0.85', + 'SpaceShower:MEcorrections = off', + 'SpaceShower:alphaSvalue = 0.118', + 'SpaceShower:alphaSorder = 2' + ), + parameterSets = cms.vstring('pythia8CommonSettings', + 'pythia8CP5Settings', + 'pythia8PSweightsSettings', + 'processParameters', + ) + ) +) + +FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied + ParticleID = cms.vint32(-15,15,-13,13), + minTotalMass = cms.double(70.0), + maxTotalMass = cms.double(1e15), + PtMin = cms.vdouble(3.0), + EtaMax = cms.vdouble(2.7), + Status = cms.vint32(1), +) + +ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) + diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py new file mode 100644 index 000000000000..6dd6999fa9bd --- /dev/null +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py @@ -0,0 +1,59 @@ +import FWCore.ParameterSet.Config as cms + +externalLHEProducer = cms.EDProducer("ExternalLHEProducer", + args = cms.vstring('Name'), + nEvents = cms.untracked.uint32(5000), + numberOfParameters = cms.uint32(1), + generateConcurrently = cms.untracked.bool(True), + outputFile = cms.string('cmsgrid_final.lhe'), + scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), +) + +# Link to cards: +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py +# --coupling 0PM --bsisigbkg BKG + +from Configuration.Generator.Pythia8CommonSettings_cfi import * +from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * +from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * +from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * + +generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", + maxEventsToPrint = cms.untracked.int32(1), + pythiaPylistVerbosity = cms.untracked.int32(1), + filterEfficiency = cms.untracked.double(1.0), + pythiaHepMCVerbosity = cms.untracked.bool(False), + comEnergy = cms.double(13600.), + PythiaParameters = cms.PSet( + pythia8CommonSettingsBlock, + pythia8CP5SettingsBlock, + pythia8PSweightsSettingsBlock, + processParameters = cms.vstring( + 'BeamRemnants:primordialKT = off', + 'PartonLevel:MPI = off', + 'SpaceShower:pTdampMatch = 1', + 'SpaceShower:pTdampFudge = 0.85', + 'SpaceShower:MEcorrections = off', + 'SpaceShower:alphaSvalue = 0.118', + 'SpaceShower:alphaSorder = 2' + ), + parameterSets = cms.vstring('pythia8CommonSettings', + 'pythia8CP5Settings', + 'pythia8PSweightsSettings', + 'processParameters', + ) + ) +) + +FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied + ParticleID = cms.vint32(-11,11,-11,11), + minTotalMass = cms.double(70.0), + maxTotalMass = cms.double(1e15), + PtMin = cms.vdouble(3.0), + EtaMax = cms.vdouble(2.7), + Status = cms.vint32(1), +) + +ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) + diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py new file mode 100644 index 000000000000..d8f37290d686 --- /dev/null +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py @@ -0,0 +1,58 @@ +import FWCore.ParameterSet.Config as cms + +externalLHEProducer = cms.EDProducer("ExternalLHEProducer", + args = cms.vstring('Name'), + nEvents = cms.untracked.uint32(5000), + numberOfParameters = cms.uint32(1), + generateConcurrently = cms.untracked.bool(True), + outputFile = cms.string('cmsgrid_final.lhe'), + scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), +) + +# Link to cards: +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py +# --coupling 0PM --bsisigbkg BKG + +from Configuration.Generator.Pythia8CommonSettings_cfi import * +from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * +from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * +from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * + +generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", + maxEventsToPrint = cms.untracked.int32(1), + pythiaPylistVerbosity = cms.untracked.int32(1), + filterEfficiency = cms.untracked.double(1.0), + pythiaHepMCVerbosity = cms.untracked.bool(False), + comEnergy = cms.double(13600.), + PythiaParameters = cms.PSet( + pythia8CommonSettingsBlock, + pythia8CP5SettingsBlock, + pythia8PSweightsSettingsBlock, + processParameters = cms.vstring( + 'BeamRemnants:primordialKT = off', + 'PartonLevel:MPI = off', + 'SpaceShower:pTdampMatch = 1', + 'SpaceShower:pTdampFudge = 0.85', + 'SpaceShower:MEcorrections = off', + 'SpaceShower:alphaSvalue = 0.118', + 'SpaceShower:alphaSorder = 2' + ), + parameterSets = cms.vstring('pythia8CommonSettings', + 'pythia8CP5Settings', + 'pythia8PSweightsSettings', + 'processParameters', + ) + ) +) + +FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied + ParticleID = cms.vint32(-13,13,-13,13), + minTotalMass = cms.double(70.0), + maxTotalMass = cms.double(1e15), + PtMin = cms.vdouble(3.0), + EtaMax = cms.vdouble(2.7), + Status = cms.vint32(1), +) + +ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py new file mode 100644 index 000000000000..75daf058fdfe --- /dev/null +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py @@ -0,0 +1,58 @@ +import FWCore.ParameterSet.Config as cms + +externalLHEProducer = cms.EDProducer("ExternalLHEProducer", + args = cms.vstring('Name'), + nEvents = cms.untracked.uint32(5000), + numberOfParameters = cms.uint32(1), + generateConcurrently = cms.untracked.bool(True), + outputFile = cms.string('cmsgrid_final.lhe'), + scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), +) + +# Link to cards: +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py +# --coupling 0PM --bsisigbkg BKG + +from Configuration.Generator.Pythia8CommonSettings_cfi import * +from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * +from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * +from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * + +generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", + maxEventsToPrint = cms.untracked.int32(1), + pythiaPylistVerbosity = cms.untracked.int32(1), + filterEfficiency = cms.untracked.double(1.0), + pythiaHepMCVerbosity = cms.untracked.bool(False), + comEnergy = cms.double(13600.), + PythiaParameters = cms.PSet( + pythia8CommonSettingsBlock, + pythia8CP5SettingsBlock, + pythia8PSweightsSettingsBlock, + processParameters = cms.vstring( + 'BeamRemnants:primordialKT = off', + 'PartonLevel:MPI = off', + 'SpaceShower:pTdampMatch = 1', + 'SpaceShower:pTdampFudge = 0.85', + 'SpaceShower:MEcorrections = off', + 'SpaceShower:alphaSvalue = 0.118', + 'SpaceShower:alphaSorder = 2' + ), + parameterSets = cms.vstring('pythia8CommonSettings', + 'pythia8CP5Settings', + 'pythia8PSweightsSettings', + 'processParameters', + ) + ) +) + +FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied + ParticleID = cms.vint32(-15,15,-15,15), + minTotalMass = cms.double(70.0), + maxTotalMass = cms.double(1e15), + PtMin = cms.vdouble(3.0), + EtaMax = cms.vdouble(2.7), + Status = cms.vint32(1), +) + +ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) \ No newline at end of file From 8b70106b8cfb891e3b78b65b49fe7b6415ecb4dd Mon Sep 17 00:00:00 2001 From: Mohit Srivastav Date: Tue, 15 Oct 2024 16:44:46 -0400 Subject: [PATCH 2/4] Pythia decays taus I forgot --- ...TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py | 59 ------------------- ...uneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py | 59 ------------------- ...L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py | 58 ------------------ 3 files changed, 176 deletions(-) delete mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py delete mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py delete mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py deleted file mode 100644 index caff2de4d442..000000000000 --- a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2tau.py +++ /dev/null @@ -1,59 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -externalLHEProducer = cms.EDProducer("ExternalLHEProducer", - args = cms.vstring('Name'), - nEvents = cms.untracked.uint32(5000), - numberOfParameters = cms.uint32(1), - generateConcurrently = cms.untracked.bool(True), - outputFile = cms.string('cmsgrid_final.lhe'), - scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), -) - -# Link to cards: -# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT -# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py -# --coupling 0PM --bsisigbkg BKG - -from Configuration.Generator.Pythia8CommonSettings_cfi import * -from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * -from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * -from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * - -generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", - maxEventsToPrint = cms.untracked.int32(1), - pythiaPylistVerbosity = cms.untracked.int32(1), - filterEfficiency = cms.untracked.double(1.0), - pythiaHepMCVerbosity = cms.untracked.bool(False), - comEnergy = cms.double(13600.), - PythiaParameters = cms.PSet( - pythia8CommonSettingsBlock, - pythia8CP5SettingsBlock, - pythia8PSweightsSettingsBlock, - processParameters = cms.vstring( - 'BeamRemnants:primordialKT = off', - 'PartonLevel:MPI = off', - 'SpaceShower:pTdampMatch = 1', - 'SpaceShower:pTdampFudge = 0.85', - 'SpaceShower:MEcorrections = off', - 'SpaceShower:alphaSvalue = 0.118', - 'SpaceShower:alphaSorder = 2' - ), - parameterSets = cms.vstring('pythia8CommonSettings', - 'pythia8CP5Settings', - 'pythia8PSweightsSettings', - 'processParameters', - ) - ) -) - -FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied - ParticleID = cms.vint32(-11,11,-15,15), - minTotalMass = cms.double(70.0), - maxTotalMass = cms.double(1e15), - PtMin = cms.vdouble(3.0), - EtaMax = cms.vdouble(2.7), - Status = cms.vint32(1), -) - -ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) - diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py deleted file mode 100644 index 39b17bf20429..000000000000 --- a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2mu2tau.py +++ /dev/null @@ -1,59 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -externalLHEProducer = cms.EDProducer("ExternalLHEProducer", - args = cms.vstring('Name'), - nEvents = cms.untracked.uint32(5000), - numberOfParameters = cms.uint32(1), - generateConcurrently = cms.untracked.bool(True), - outputFile = cms.string('cmsgrid_final.lhe'), - scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), -) - -# Link to cards: -# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT -# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py -# --coupling 0PM --bsisigbkg BKG - -from Configuration.Generator.Pythia8CommonSettings_cfi import * -from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * -from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * -from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * - -generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", - maxEventsToPrint = cms.untracked.int32(1), - pythiaPylistVerbosity = cms.untracked.int32(1), - filterEfficiency = cms.untracked.double(1.0), - pythiaHepMCVerbosity = cms.untracked.bool(False), - comEnergy = cms.double(13600.), - PythiaParameters = cms.PSet( - pythia8CommonSettingsBlock, - pythia8CP5SettingsBlock, - pythia8PSweightsSettingsBlock, - processParameters = cms.vstring( - 'BeamRemnants:primordialKT = off', - 'PartonLevel:MPI = off', - 'SpaceShower:pTdampMatch = 1', - 'SpaceShower:pTdampFudge = 0.85', - 'SpaceShower:MEcorrections = off', - 'SpaceShower:alphaSvalue = 0.118', - 'SpaceShower:alphaSorder = 2' - ), - parameterSets = cms.vstring('pythia8CommonSettings', - 'pythia8CP5Settings', - 'pythia8PSweightsSettings', - 'processParameters', - ) - ) -) - -FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied - ParticleID = cms.vint32(-15,15,-13,13), - minTotalMass = cms.double(70.0), - maxTotalMass = cms.double(1e15), - PtMin = cms.vdouble(3.0), - EtaMax = cms.vdouble(2.7), - Status = cms.vint32(1), -) - -ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) - diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py deleted file mode 100644 index 75daf058fdfe..000000000000 --- a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4tau.py +++ /dev/null @@ -1,58 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -externalLHEProducer = cms.EDProducer("ExternalLHEProducer", - args = cms.vstring('Name'), - nEvents = cms.untracked.uint32(5000), - numberOfParameters = cms.uint32(1), - generateConcurrently = cms.untracked.bool(True), - outputFile = cms.string('cmsgrid_final.lhe'), - scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), -) - -# Link to cards: -# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT -# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py -# --coupling 0PM --bsisigbkg BKG - -from Configuration.Generator.Pythia8CommonSettings_cfi import * -from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * -from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * -from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * - -generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", - maxEventsToPrint = cms.untracked.int32(1), - pythiaPylistVerbosity = cms.untracked.int32(1), - filterEfficiency = cms.untracked.double(1.0), - pythiaHepMCVerbosity = cms.untracked.bool(False), - comEnergy = cms.double(13600.), - PythiaParameters = cms.PSet( - pythia8CommonSettingsBlock, - pythia8CP5SettingsBlock, - pythia8PSweightsSettingsBlock, - processParameters = cms.vstring( - 'BeamRemnants:primordialKT = off', - 'PartonLevel:MPI = off', - 'SpaceShower:pTdampMatch = 1', - 'SpaceShower:pTdampFudge = 0.85', - 'SpaceShower:MEcorrections = off', - 'SpaceShower:alphaSvalue = 0.118', - 'SpaceShower:alphaSorder = 2' - ), - parameterSets = cms.vstring('pythia8CommonSettings', - 'pythia8CP5Settings', - 'pythia8PSweightsSettings', - 'processParameters', - ) - ) -) - -FourLeptonFilter = cms.EDFilter("MCMultiParticleMassFilter", # require 4-l in the final state with eta and pt cuts applied - ParticleID = cms.vint32(-15,15,-15,15), - minTotalMass = cms.double(70.0), - maxTotalMass = cms.double(1e15), - PtMin = cms.vdouble(3.0), - EtaMax = cms.vdouble(2.7), - Status = cms.vint32(1), -) - -ProductionFilterSequence = cms.Sequence(generator*FourLeptonFilter) \ No newline at end of file From c0d539ab66dd68f32f6bc991a43b959ccf130c5d Mon Sep 17 00:00:00 2001 From: Mohit Srivastav Date: Tue, 15 Oct 2024 17:07:29 -0400 Subject: [PATCH 3/4] tau setup with no filter --- ...neCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py new file mode 100644 index 000000000000..5f7e6d258e3e --- /dev/null +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py @@ -0,0 +1,49 @@ +import FWCore.ParameterSet.Config as cms + +externalLHEProducer = cms.EDProducer("ExternalLHEProducer", + args = cms.vstring('Name'), + nEvents = cms.untracked.uint32(5000), + numberOfParameters = cms.uint32(1), + generateConcurrently = cms.untracked.bool(True), + outputFile = cms.string('cmsgrid_final.lhe'), + scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'), +) + +# Link to cards: +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/cards/MCFM+JHUGen/MCFM_JHUGen_13TeV_ggZZtoELMU_BKG_NNPDF31.DAT +# https://raw.githubusercontent.com/cms-sw/genproductions/a8ea4bc76df07ee2fa16bd9a67b72e7b648dec64/bin/MCFM/ACmdataConfig.py +# --coupling 0PM --bsisigbkg BKG + +from Configuration.Generator.Pythia8CommonSettings_cfi import * +from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import * +from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * +from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * + +generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", + maxEventsToPrint = cms.untracked.int32(1), + pythiaPylistVerbosity = cms.untracked.int32(1), + filterEfficiency = cms.untracked.double(1.0), + pythiaHepMCVerbosity = cms.untracked.bool(False), + comEnergy = cms.double(13600.), + PythiaParameters = cms.PSet( + pythia8CommonSettingsBlock, + pythia8CP5SettingsBlock, + pythia8PSweightsSettingsBlock, + processParameters = cms.vstring( + 'BeamRemnants:primordialKT = off', + 'PartonLevel:MPI = off', + 'SpaceShower:pTdampMatch = 1', + 'SpaceShower:pTdampFudge = 0.85', + 'SpaceShower:MEcorrections = off', + 'SpaceShower:alphaSvalue = 0.118', + 'SpaceShower:alphaSorder = 2' + ), + parameterSets = cms.vstring('pythia8CommonSettings', + 'pythia8CP5Settings', + 'pythia8PSweightsSettings', + 'processParameters', + ) + ) +) + +ProductionFilterSequence = cms.Sequence(generator) From 94ab86eac5ace5cab84299b08b5a25de76c2b6a0 Mon Sep 17 00:00:00 2001 From: Mohit Srivastav Date: Wed, 23 Oct 2024 09:03:07 -0400 Subject: [PATCH 4/4] removing the MPI line --- .../GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py | 1 - .../Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py | 1 - .../Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py | 1 - .../GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py | 1 - 4 files changed, 4 deletions(-) diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py index 7ecf399fd6c4..541602665375 100644 --- a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_2e2mu.py @@ -31,7 +31,6 @@ pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'BeamRemnants:primordialKT = off', - 'PartonLevel:MPI = off', 'SpaceShower:pTdampMatch = 1', 'SpaceShower:pTdampFudge = 0.85', 'SpaceShower:MEcorrections = off', diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py index 6dd6999fa9bd..06680d8c4867 100644 --- a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4e.py @@ -31,7 +31,6 @@ pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'BeamRemnants:primordialKT = off', - 'PartonLevel:MPI = off', 'SpaceShower:pTdampMatch = 1', 'SpaceShower:pTdampFudge = 0.85', 'SpaceShower:MEcorrections = off', diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py index d8f37290d686..6878b86fdab8 100644 --- a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_4mu.py @@ -31,7 +31,6 @@ pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'BeamRemnants:primordialKT = off', - 'PartonLevel:MPI = off', 'SpaceShower:pTdampMatch = 1', 'SpaceShower:pTdampFudge = 0.85', 'SpaceShower:MEcorrections = off', diff --git a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py index 5f7e6d258e3e..42c07f94d316 100644 --- a/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py +++ b/genfragments/ThirteenPointSixTeV/Higgs/GluGluToZZTo4L_TuneCP5_13p6TeV-MCFM-jhugen7.5.2_nofilter.py @@ -31,7 +31,6 @@ pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'BeamRemnants:primordialKT = off', - 'PartonLevel:MPI = off', 'SpaceShower:pTdampMatch = 1', 'SpaceShower:pTdampFudge = 0.85', 'SpaceShower:MEcorrections = off',