forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from UAEDF-tomc/master
Pythia8 Tune4C fragments: MinBias, QCD, QCD fwdJets and QCD EMEnriched
- Loading branch information
Showing
21 changed files
with
793 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
crossSection = cms.untracked.double(7.842e+01), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaPylistVerbosity = cms.untracked.int32(1), | ||
filterEfficiency = cms.untracked.double(1.0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
comEnergy = cms.double(13000.0), | ||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'SoftQCD:minBias = on', | ||
'SoftQCD:singleDiffractive = on', | ||
'SoftQCD:doubleDiffractive = on', | ||
'Tune:pp 5', | ||
'Tune:ee 3'), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) | ||
|
||
|
||
ProductionFilterSequence = cms.Sequence(generator) |
25 changes: 25 additions & 0 deletions
25
python/ThirteenTeV/QCD_Pt_10to15_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(7.528e+09), | ||
filterEfficiency = cms.untracked.double(1), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 10 ', | ||
'PhaseSpace:pTHatMax = 15 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) |
42 changes: 42 additions & 0 deletions
42
python/ThirteenTeV/QCD_Pt_10to15_fwdJet_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(7.528e+09), | ||
filterEfficiency = cms.untracked.double(0.075), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 10 ', | ||
'PhaseSpace:pTHatMax = 15 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) | ||
|
||
|
||
from PhysicsTools.HepMCCandAlgos.genParticles_cfi import genParticles | ||
from RecoJets.Configuration.GenJetParticles_cff import genParticlesForJets | ||
from RecoJets.JetProducers.ak5GenJets_cfi import ak5GenJets | ||
|
||
fwdJetSelector = cms.EDFilter("CandViewSelector", | ||
src = cms.InputTag("ak5GenJets"), | ||
cut = cms.string("pt > 15 & abs( eta ) < 5 & abs( eta ) > 3") | ||
) | ||
|
||
fwdJetFilter = cms.EDFilter("CandViewCountFilter", | ||
src = cms.InputTag("fwdJetSelector"), | ||
minNumber = cms.uint32(1), | ||
) | ||
|
||
ProductionFilterSequence = cms.Sequence(generator*genParticles*genParticlesForJets*ak5GenJets*fwdJetSelector*fwdJetFilter) |
55 changes: 55 additions & 0 deletions
55
python/ThirteenTeV/QCD_Pt_10to20_EMEnriched_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(8.838e+00), | ||
filterEfficiency = cms.untracked.double(0.143), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 10 ', | ||
'PhaseSpace:pTHatMax = 20 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) | ||
|
||
genParticlesForFilter = cms.EDProducer("GenParticleProducer", | ||
saveBarCodes = cms.untracked.bool(True), | ||
src = cms.InputTag("generator"), | ||
abortOnUnknownPDGCode = cms.untracked.bool(False) | ||
) | ||
|
||
bctoefilter = cms.EDFilter("BCToEFilter", | ||
filterAlgoPSet = cms.PSet(eTThreshold = cms.double(10), | ||
genParSource = cms.InputTag("genParticlesForFilter") | ||
) | ||
) | ||
|
||
emenrichingfilter = cms.EDFilter("EMEnrichingFilter", | ||
filterAlgoPSet = cms.PSet(isoGenParETMin=cms.double(5.), | ||
isoGenParConeSize=cms.double(0.1), | ||
clusterThreshold=cms.double(5.), | ||
isoConeSize=cms.double(0.2), | ||
hOverEMax=cms.double(0.5), | ||
tkIsoMax=cms.double(5.), | ||
caloIsoMax=cms.double(10.), | ||
requireTrackMatch=cms.bool(False), | ||
genParSource = cms.InputTag("genParticlesForFilter") | ||
) | ||
) | ||
|
||
|
||
# add your filters to this sequence | ||
ProductionFilterSequence = cms.Sequence(generator * (genParticlesForFilter + ~bctoefilter + emenrichingfilter)) | ||
|
25 changes: 25 additions & 0 deletions
25
python/ThirteenTeV/QCD_Pt_120to170_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(4.862e05), | ||
filterEfficiency = cms.untracked.double(1), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 120 ', | ||
'PhaseSpace:pTHatMax = 170 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) |
42 changes: 42 additions & 0 deletions
42
python/ThirteenTeV/QCD_Pt_120to170_fwdJet_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(4.862e05), | ||
filterEfficiency = cms.untracked.double(0.343), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 120 ', | ||
'PhaseSpace:pTHatMax = 170 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) | ||
|
||
|
||
from PhysicsTools.HepMCCandAlgos.genParticles_cfi import genParticles | ||
from RecoJets.Configuration.GenJetParticles_cff import genParticlesForJets | ||
from RecoJets.JetProducers.ak5GenJets_cfi import ak5GenJets | ||
|
||
fwdJetSelector = cms.EDFilter("CandViewSelector", | ||
src = cms.InputTag("ak5GenJets"), | ||
cut = cms.string("pt > 15 & abs( eta ) < 5 & abs( eta ) > 3") | ||
) | ||
|
||
fwdJetFilter = cms.EDFilter("CandViewCountFilter", | ||
src = cms.InputTag("fwdJetSelector"), | ||
minNumber = cms.uint32(1), | ||
) | ||
|
||
ProductionFilterSequence = cms.Sequence(generator*genParticles*genParticlesForJets*ak5GenJets*fwdJetSelector*fwdJetFilter) |
25 changes: 25 additions & 0 deletions
25
python/ThirteenTeV/QCD_Pt_15to30_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(2.237e+09), | ||
filterEfficiency = cms.untracked.double(1), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 15 ', | ||
'PhaseSpace:pTHatMax = 30 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) |
42 changes: 42 additions & 0 deletions
42
python/ThirteenTeV/QCD_Pt_15to30_fwdJet_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(2.237e+09), | ||
filterEfficiency = cms.untracked.double(0.246), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 15 ', | ||
'PhaseSpace:pTHatMax = 30 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) | ||
|
||
|
||
from PhysicsTools.HepMCCandAlgos.genParticles_cfi import genParticles | ||
from RecoJets.Configuration.GenJetParticles_cff import genParticlesForJets | ||
from RecoJets.JetProducers.ak5GenJets_cfi import ak5GenJets | ||
|
||
fwdJetSelector = cms.EDFilter("CandViewSelector", | ||
src = cms.InputTag("ak5GenJets"), | ||
cut = cms.string("pt > 15 & abs( eta ) < 5 & abs( eta ) > 3") | ||
) | ||
|
||
fwdJetFilter = cms.EDFilter("CandViewCountFilter", | ||
src = cms.InputTag("fwdJetSelector"), | ||
minNumber = cms.uint32(1), | ||
) | ||
|
||
ProductionFilterSequence = cms.Sequence(generator*genParticles*genParticlesForJets*ak5GenJets*fwdJetSelector*fwdJetFilter) |
24 changes: 24 additions & 0 deletions
24
python/ThirteenTeV/QCD_Pt_170toInf_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(1.293e05), | ||
filterEfficiency = cms.untracked.double(1), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 170 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) |
42 changes: 42 additions & 0 deletions
42
python/ThirteenTeV/QCD_Pt_170toInf_fwdJet_Tune4C_13TeV_pythia8_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
comEnergy = cms.double(13000.0), | ||
crossSection = cms.untracked.double(1.293e05), | ||
filterEfficiency = cms.untracked.double(0.336), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
|
||
PythiaParameters = cms.PSet( | ||
processParameters = cms.vstring( | ||
'Main:timesAllowErrors = 10000', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tauMax = 10', | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 170 ', | ||
'Tune:pp 5', | ||
'Tune:ee 3', | ||
|
||
), | ||
parameterSets = cms.vstring('processParameters') | ||
) | ||
) | ||
|
||
|
||
|
||
from PhysicsTools.HepMCCandAlgos.genParticles_cfi import genParticles | ||
from RecoJets.Configuration.GenJetParticles_cff import genParticlesForJets | ||
from RecoJets.JetProducers.ak5GenJets_cfi import ak5GenJets | ||
|
||
fwdJetSelector = cms.EDFilter("CandViewSelector", | ||
src = cms.InputTag("ak5GenJets"), | ||
cut = cms.string("pt > 15 & abs( eta ) < 5 & abs( eta ) > 3") | ||
) | ||
|
||
fwdJetFilter = cms.EDFilter("CandViewCountFilter", | ||
src = cms.InputTag("fwdJetSelector"), | ||
minNumber = cms.uint32(1), | ||
) | ||
|
||
ProductionFilterSequence = cms.Sequence(generator*genParticles*genParticlesForJets*ak5GenJets*fwdJetSelector*fwdJetFilter) |
Oops, something went wrong.