Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi.py
- Loading branch information
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
Configuration/Generator/python/BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi.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,60 @@ | ||
##!!!For BPH Trigger and Generator study only, not ok for physics use. | ||
import FWCore.ParameterSet.Config as cms | ||
from Configuration.Generator.Pythia8CommonSettings_cfi import * | ||
from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * | ||
from GeneratorInterface.EvtGenInterface.EvtGenSetting_cff import * | ||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
pythiaPylistVerbosity = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
comEnergy = cms.double(13000.0), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
ExternalDecays = cms.PSet( | ||
EvtGen130 = cms.untracked.PSet( | ||
decay_table = cms.string('GeneratorInterface/EvtGenInterface/data/DECAY_2010.DEC'), | ||
particle_property_file = cms.FileInPath('GeneratorInterface/EvtGenInterface/data/evt.pdl'), | ||
user_decay_file = cms.vstring('GeneratorInterface/ExternalDecays/data/Bu_Mixing.dec'), | ||
list_forced_decays = cms.vstring('MyB+', | ||
'MyB-'), | ||
operates_on_particles = cms.vint32() | ||
), | ||
parameterSets = cms.vstring('EvtGen130') | ||
), | ||
PythiaParameters = cms.PSet( | ||
pythia8CommonSettingsBlock, | ||
pythia8CUEP8M1SettingsBlock, | ||
processParameters = cms.vstring( | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 8', | ||
), | ||
parameterSets = cms.vstring('pythia8CommonSettings', | ||
'pythia8CUEP8M1Settings', | ||
'processParameters', | ||
) | ||
) | ||
) | ||
generator.PythiaParameters.processParameters.extend(EvtGenExtraParticles) | ||
configurationMetadata = cms.untracked.PSet( | ||
version = cms.untracked.string('$Revision: 1.1 $'), | ||
name = cms.untracked.string('$Source: Configuration/Generator/python/BuToKstarMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi.py $'), | ||
annotation = cms.untracked.string('Summer14: Pythia8+EvtGen130 generation of Bu --> K* Mu+Mu-, 13TeV, Tune CUETP8M1') | ||
) | ||
|
||
mumugenfilter = cms.EDFilter("MCParticlePairFilter", | ||
Status = cms.untracked.vint32(1, 1), | ||
MinPt = cms.untracked.vdouble(0.5, 0.5), | ||
MinP = cms.untracked.vdouble(0., 0.), | ||
MaxEta = cms.untracked.vdouble(2.5, 2.5), | ||
MinEta = cms.untracked.vdouble(-2.5, -2.5), | ||
MinInvMass = cms.untracked.double(2.0), | ||
MaxInvMass = cms.untracked.double(4.0), | ||
ParticleCharge = cms.untracked.int32(-1), | ||
ParticleID1 = cms.untracked.vint32(13), | ||
ParticleID2 = cms.untracked.vint32(13) | ||
) | ||
|
||
########### | ||
# Filters # | ||
########### | ||
# Filter only pp events which produce a B+: | ||
bufilter = cms.EDFilter("PythiaFilter", ParticleID = cms.untracked.int32(521)) | ||
ProductionFilterSequence = cms.Sequence(generator*bufilter*mumugenfilter) |