File indexing completed on 2024-04-06 12:03:34
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from Configuration.Generator.Herwig7Settings.Herwig7StableParticlesForDetector_cfi import *
0004 from Configuration.Generator.Herwig7Settings.Herwig7CH3TuneSettings_cfi import *
0005
0006 generator = cms.EDFilter("Herwig7GeneratorFilter",
0007 herwig7StableParticlesForDetectorBlock,
0008 herwig7CH3SettingsBlock,
0009 run = cms.string('InterfaceMatchboxTest'),
0010 dumpConfig = cms.untracked.string('HerwigConfig.in'),
0011 repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'),
0012 dataLocation = cms.string('${HERWIGPATH:-6}'),
0013 generatorModule = cms.string('/Herwig/Generators/EventGenerator'),
0014 eventHandlers = cms.string('/Herwig/EventHandlers'),
0015 configFiles = cms.vstring(),
0016 crossSection = cms.untracked.double(-1),
0017 filterEfficiency = cms.untracked.double(1.0),
0018 Matchbox = cms.vstring( 'read snippets/Matchbox.in',
0019 'read snippets/PPCollider.in',
0020 'cd /Herwig/EventHandlers',
0021 'set EventHandler:LuminosityFunction:Energy 13000*GeV',
0022 '## Model assumptions',
0023 'read Matchbox/StandardModelLike.in',
0024 'read Matchbox/DiagonalCKM.in',
0025 '## Set the order of the couplings',
0026 'cd /Herwig/MatrixElements/Matchbox',
0027 'set Factory:OrderInAlphaS 0',
0028 'set Factory:OrderInAlphaEW 2',
0029 '## Select the process',
0030 'do Factory:Process p p -> l+ l-',
0031 '# read Matchbox/MadGraph-GoSam.in',
0032 '# read Matchbox/MadGraph-MadGraph.in',
0033 'read Matchbox/MadGraph-OpenLoops.in',
0034 'set /Herwig/Cuts/ChargedLeptonPairMassCut:MinMass 50*GeV',
0035 'set /Herwig/Cuts/ChargedLeptonPairMassCut:MaxMass 14000*GeV',
0036 'cd /Herwig/MatrixElements/Matchbox',
0037 'set Factory:ScaleChoice /Herwig/MatrixElements/Matchbox/Scales/LeptonPairMassScale',
0038 'read Matchbox/MCatNLO-DefaultShower.in',
0039 '# read Matchbox/NLO-NoShower.in',
0040 '# read Matchbox/LO-NoShower.in',
0041 'read Matchbox/FiveFlavourScheme.in',
0042 'do /Herwig/MatrixElements/Matchbox/Factory:ProductionMode',
0043 ),
0044 parameterSets = cms.vstring('herwig7StableParticlesForDetector', 'Matchbox','herwig7CH3PDF', 'herwig7CH3AlphaS','herwig7CH3MPISettings'),
0045 )
0046
0047 ProductionFilterSequence = cms.Sequence(generator)