Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-18 22:30:05

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0003 from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
0004 from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import *
0005 
0006 # link to card:
0007 # https://github.com/cms-sw/genproductions/tree/master/bin/Powheg/production/V2/13TeV/Higgs/VBF_H_NNPDF30_13TeV/VBF_H_NNPDF30_13TeV_M-125.input
0008 
0009 externalLHEProducer = cms.EDProducer("ExternalLHEProducer",
0010     args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/slc6_amd64_gcc630/13TeV/Powheg/V2/RelValidation/VBFH/VBF_H_slc6_amd64_gcc630_CMSSW_9_3_9_patch1_VBF_new.tgz'),
0011     nEvents = cms.untracked.uint32(5000),
0012     numberOfParameters = cms.uint32(1),
0013     outputFile = cms.string('cmsgrid_final.lhe'),
0014     scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'),
0015     generateConcurrently = cms.untracked.bool(True)
0016 )
0017 
0018 
0019 # Based on https://github.com/cms-sw/genproductions/blob/3b33b1e47f34941b84b6a582839bb8e5c5b05c16/python/ThirteenTeV/Hadronizer_TuneCUETP8M1_13TeV_powhegEmissionVeto_1p_LHE_pythia8_cff.py
0020 
0021 
0022 generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter",
0023                          maxEventsToPrint = cms.untracked.int32(1),
0024                          pythiaPylistVerbosity = cms.untracked.int32(1),
0025                          filterEfficiency = cms.untracked.double(1.0),
0026                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0027                          comEnergy = cms.double(13000.),
0028                          PythiaParameters = cms.PSet(
0029         pythia8CommonSettingsBlock,
0030         pythia8CUEP8M1SettingsBlock,
0031         pythia8PowhegEmissionVetoSettingsBlock,
0032         processParameters = cms.vstring(
0033             'POWHEG:nFinal = 3',   ## Number of final state particles
0034                                    ## (BEFORE THE DECAYS) in the LHE
0035                                    ## other than emitted extra parton
0036             '25:m0 = 125.0',
0037             '25:onMode = off',
0038             '25:onIfMatch = 23 23', ## H -> ZZ
0039             '23:onMode = off',      # turn OFF all Z decays
0040             '23:onIfAny = 12 14 16',# turn ON Z->vv
0041           ),
0042         parameterSets = cms.vstring('pythia8CommonSettings',
0043                                     'pythia8CUEP8M1Settings',
0044                                     'pythia8PowhegEmissionVetoSettings',
0045                                     'processParameters'
0046                                     )
0047         )
0048                          )
0049 
0050 ProductionFilterSequence = cms.Sequence(externalLHEProducer*generator)