Skip to content

Commit

Permalink
Merge pull request #3552 from nanlu06/master
Browse files Browse the repository at this point in the history
pp->x->hh common request (run3)
  • Loading branch information
menglu21 authored Feb 5, 2024
2 parents ce53701 + 8c8dd5e commit 67a6f3a
Show file tree
Hide file tree
Showing 9 changed files with 367 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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(
'24:mMin = 0.05',
'24:onMode = on',
'25:m0 = 125.0',
'25:onMode = off',
'25:onIfMatch = 5 -5',
'25:onIfMatch = 24 -24',
'ResonanceDecayFilter:filter = on',
'ResonanceDecayFilter:exclusive = on', #on: require exactly the specified number of daughters
'ResonanceDecayFilter:eMuTauAsEquivalent = on', #on: treat electrons, muons , and taus as equivalent
'ResonanceDecayFilter:allNuAsEquivalent = on', #on: treat all three neutrino flavours as equivalent
'ResonanceDecayFilter:udscAsEquivalent = on', #on: treat udsc quarks as equivalent
'ResonanceDecayFilter:mothers = 24,25',
'ResonanceDecayFilter:daughters = 5,5,1,1,11,12',
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters'
)
)
)

ProductionFilterSequence = cms.Sequence(generator)
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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(
'23:mMin = 0.05',
'23:onMode = off',
'23:onIfAny = 11 12 13 14 15 16', # only leptonic Z decays
'24:mMin = 0.05',
'24:onMode = off',
'24:onIfAny = 11 13 15', # only leptonic W decays
'25:m0 = 125.0',
'25:onMode = off',
'25:onIfMatch = 5 -5',
'25:onIfMatch = 23 23',
'25:onIfMatch = 24 -24',
'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:allNuAsEquivalent = on', #on: treat all three neutrino flavours as equivalent
'ResonanceDecayFilter:mothers = 25,23,24', #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:daughters = 5,5,11,11,12,12',
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters'
)
)
)

ProductionFilterSequence = cms.Sequence(generator)
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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(
'15:onMode = on', # allow all tau decays. Leptonic and Hadronic
'24:mMin = 0.05', # the lower limit of the allowed mass range generated by the Breit-Wigner (in GeV)
'24:onMode = off', # Turn off all W decays
'24:onIfAny = 11 13 15', # Add W->enu, W->munu, W->taunu
'25:onMode = off', # Turn off all H decays
'25:onIfMatch = 22 22', # Add H->gg decay
'25:onIfMatch = 24 -24', # Add H->WW decay
'ResonanceDecayFilter:filter = on',
'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters
'ResonanceDecayFilter:eMuTauAsEquivalent = on', #on: treat electrons, muons , and taus as equivalent
'ResonanceDecayFilter:allNuAsEquivalent = on', #on: treat all three neutrino flavours as equivalent
'ResonanceDecayFilter:udscbAsEquivalent = on', #on: treat udscb quarks as equivalent
'ResonanceDecayFilter:mothers = 25,24', #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:daughters = 11,12,11,12,22,22', # lnu,lnu,gg
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters'
)
)
)

ProductionFilterSequence = cms.Sequence(generator)
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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(
'15:onMode = on', # allow all tau decays. Leptonic and Hadronic
'24:mMin = 0.05', # the lower limit of the allowed mass range generated by the Breit-Wigner (in GeV)
'24:onMode = off', # Turn off all W decays
'24:onIfAny = 1 2 3 4 5 11 13 15', # Add W->enu, W->munu, W->taunu. Add W->qq decays
'25:onMode = off', # Turn off all H decays
'25:onIfMatch = 22 22', # Add H->gg decay
'25:onIfMatch = 24 -24', # Add H->WW decay
'ResonanceDecayFilter:filter = on',
'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters
'ResonanceDecayFilter:eMuTauAsEquivalent = on', #on: treat electrons, muons , and taus as equivalent
'ResonanceDecayFilter:allNuAsEquivalent = on', #on: treat all three neutrino flavours as equivalent
'ResonanceDecayFilter:udscbAsEquivalent = on', #on: treat udscb quarks as equivalent
'ResonanceDecayFilter:mothers = 25,24', #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:daughters = 1,1,11,12,22,22', # qq,lnu,gg
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters'
)
)
)

ProductionFilterSequence = cms.Sequence(generator)
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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(
'25:m0 = 125.0',
'25:onMode = off',
'25:onIfMatch = 15 -15',
'25:onIfMatch = 22 22',
'ResonanceDecayFilter:filter = on',
'ResonanceDecayFilter:exclusive = on',
'ResonanceDecayFilter:mothers = 25',
'ResonanceDecayFilter:daughters = 15,15,22,22',
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters'
)
)
)

ProductionFilterSequence = cms.Sequence(generator)
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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(
'15:onMode = on', # allow all tau decays. Leptonic and Hadronic
'23:mMin = 0.05', # the lower limit of the allowed mass range generated by the Breit-Wigner (in GeV)
'23:onMode = off', # Turn off all W decays
'23:onIfAny = 11 12 13 14 15 16', # only leptonic Z decays
'24:mMin = 0.05', # the lower limit of the allowed mass range generated by the Breit-Wigner (in GeV)
'24:onMode = off', # Turn off all W decays
'24:onIfAny = 11 13 15', # Add W->enu, W->munu, W->taunu
'25:m0 = 125.0',
'25:onMode = off', # Turn off all H decays
'25:onIfMatch = 22 22', # Add H->gg decay
'25:onIfMatch = 23 23', # Add H->ZZ decay
'25:onIfMatch = 24 -24', # Add H->WW decay
'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:allNuAsEquivalent = on', #on: treat all three neutrino flavours as equivalent
'ResonanceDecayFilter:mothers = 25,23,24', #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:daughters = 11,11,12,12,22,22',
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters'
)
)
)

ProductionFilterSequence = cms.Sequence(generator)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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(
'23:mMin = 0.05', # the lower limit of the allowed mass range generated by the Breit-Wigner (in GeV)
'23:onMode = off', # Turn off all Z decays
'23:onIfAny = 1 2 3 4 5', # Add Z->qq decays
'24:mMin = 0.05', # the lower limit of the allowed mass range generated by the Breit-Wigner (in GeV)
'24:onMode = off', # Turn off all W decays
'24:onIfAny = 1 2 3 4 5', # Add W->qq decays
'25:m0 = 125.0',
'25:onMode = off', # Turn off all H decays
'25:onIfMatch = 22 22', # Add H->gg decay
'25:onIfMatch = 23 23', # Add H->ZZ decay
'25:onIfMatch = 24 -24', # Add H->WW decay
'ResonanceDecayFilter:filter = on',
'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters
'ResonanceDecayFilter:udscbAsEquivalent = on', #on: treat udscb quarks as equivalent
'ResonanceDecayFilter:mothers = 25,23,24', #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:daughters = 1,1,1,1,22,22', # qq,qq,gg
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters'
)
)
)

ProductionFilterSequence = cms.Sequence(generator)
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.MCTunesRun3ECM13p6TeV.PythiaCP5Settings_cfi import *
from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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(
'24:mMin = 0.05', # the lower limit of the allowed mass range generated by the Breit-Wigner (in GeV)
'24:onMode = off', # Turn off all W decays
'24:onIfAny = 1 2 3 4 5', # Add W->qq decays
'25:onMode = off', # Turn off all H decays
'25:onIfMatch = 22 22', # Add H->gg decay
'25:onIfMatch = 24 -24', # Add H->WW decay
'ResonanceDecayFilter:filter = on',
'ResonanceDecayFilter:exclusive = on', #off: require at least the specified number of daughters, on: require exactly the specified number of daughters
'ResonanceDecayFilter:udscbAsEquivalent = on', #on: treat udscb quarks as equivalent
'ResonanceDecayFilter:mothers = 25,24', #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:daughters = 1,1,1,1,22,22', # qq,qq,gg
),
parameterSets = cms.vstring('pythia8CommonSettings',
'pythia8CP5Settings',
'pythia8PSweightsSettings',
'processParameters'
)
)
)

ProductionFilterSequence = cms.Sequence(generator)
Loading

0 comments on commit 67a6f3a

Please sign in to comment.