Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ##from Configuration.Generator.PythiaUESettings_cfi import *
0004 
0005 generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter",
0006     pythiaHepMCVerbosity = cms.untracked.bool(False),
0007     maxEventsToPrint = cms.untracked.int32(0),
0008     pythiaPylistVerbosity = cms.untracked.int32(0),
0009     filterEfficiency = cms.untracked.double(1.0),
0010     crossSection = cms.untracked.double(-1.),
0011     crossSectionNLO = cms.untracked.double(-1.),
0012     # doPDGConvert = cms.bool(False), # not sure if the option is valid in Py8
0013     comEnergy = cms.double(10000.0),
0014     PythiaParameters = cms.PSet(
0015     processParameters = cms.vstring('Main:timesAllowErrors    = 10000',
0016                                     'ParticleDecays:limitTau0 = on',     # Decay those unstable particles
0017                                     'ParticleDecays:tau0Max   = 10.',    # for which _nominal_ proper lifetime < 10 mm
0018                                     'PromptPhoton:all         = on',
0019                                     'PhaseSpace:pTHatMin      = 15.',
0020                                     'PhaseSpace:pTHatMax      = 20.'),
0021         # This is a vector of ParameterSet names to be read, in this order
0022         parameterSets = cms.vstring('processParameters')
0023     )
0024 )
0025 
0026 photonfilter = cms.EDFilter("MCSingleParticleFilter",
0027                           MaxEta = cms.untracked.vdouble(2.4),
0028                           MinEta = cms.untracked.vdouble(-2.4),
0029                           MinPt = cms.untracked.vdouble(15.0),
0030                           ParticleID = cms.untracked.vint32(22)
0031                           )
0032 
0033 ProductionFilterSequence = cms.Sequence(generator*photonfilter)