Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:43

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 generator = cms.EDFilter("Herwig7GeneratorFilter",
0005     hwpp_cmsDefaults = cms.vstring('+hwpp_basicSetup', 
0006         '+hwpp_setParticlesStableForDetector'),
0007     run = cms.string('InterfaceMatchboxTest'),
0008     dumpConfig = cms.untracked.string('HerwigConfig.in'),
0009     repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'),
0010     dataLocation = cms.string('${HERWIGPATH:-6}'),
0011     hwpp_setParticlesStableForDetector = cms.vstring('set /Herwig/Particles/mu-:Stable Stable', 
0012         'set /Herwig/Particles/mu+:Stable Stable', 
0013         'set /Herwig/Particles/Sigma-:Stable Stable', 
0014         'set /Herwig/Particles/Sigmabar+:Stable Stable', 
0015         'set /Herwig/Particles/Lambda0:Stable Stable', 
0016         'set /Herwig/Particles/Lambdabar0:Stable Stable', 
0017         'set /Herwig/Particles/Sigma+:Stable Stable', 
0018         'set /Herwig/Particles/Sigmabar-:Stable Stable', 
0019         'set /Herwig/Particles/Xi-:Stable Stable', 
0020         'set /Herwig/Particles/Xibar+:Stable Stable', 
0021         'set /Herwig/Particles/Xi0:Stable Stable', 
0022         'set /Herwig/Particles/Xibar0:Stable Stable', 
0023         'set /Herwig/Particles/Omega-:Stable Stable', 
0024         'set /Herwig/Particles/Omegabar+:Stable Stable', 
0025         'set /Herwig/Particles/pi+:Stable Stable', 
0026         'set /Herwig/Particles/pi-:Stable Stable', 
0027         'set /Herwig/Particles/K+:Stable Stable', 
0028         'set /Herwig/Particles/K-:Stable Stable', 
0029         'set /Herwig/Particles/K_S0:Stable Stable', 
0030         'set /Herwig/Particles/K_L0:Stable Stable'),
0031     generatorModule = cms.string('/Herwig/Generators/EventGenerator'),
0032     eventHandlers = cms.string('/Herwig/EventHandlers'),
0033     hwpp_basicSetup = cms.vstring('#read Matchbox/GenericCollider.in',
0034     '#create ThePEG::RandomEngineGlue /Herwig/RandomGlue', 
0035         '#set /Herwig/Generators/EventGenerator:RandomNumberGenerator /Herwig/RandomGlue', 
0036         'set /Herwig/Generators/EventGenerator:DebugLevel 2', 
0037         'set /Herwig/Generators/EventGenerator:PrintEvent 1', 
0038         'set /Herwig/Generators/EventGenerator:MaxErrors 10000'),
0039     configFiles = cms.vstring(),
0040     crossSection = cms.untracked.double(-1),
0041     parameterSets = cms.vstring(
0042         'Matchbox',
0043     'hwpp_cmsDefaults'),
0044     filterEfficiency = cms.untracked.double(1.0),
0045     Matchbox = cms.vstring( 'read snippets/Matchbox.in',
0046     'read snippets/PPCollider.in',
0047     'cd /Herwig/EventHandlers',
0048     'set EventHandler:LuminosityFunction:Energy 13000*GeV',
0049     '## Model assumptions',
0050     'read Matchbox/StandardModelLike.in',
0051     'read Matchbox/DiagonalCKM.in',
0052     '## Set the order of the couplings',
0053     'cd /Herwig/MatrixElements/Matchbox',
0054     'set Factory:OrderInAlphaS 0',
0055     'set Factory:OrderInAlphaEW 2',
0056     '## Select the process',
0057     'do Factory:Process p p -> e+ e-',
0058     '# read Matchbox/MadGraph-GoSam.in',
0059     '# read Matchbox/MadGraph-MadGraph.in',
0060     'read Matchbox/MadGraph-OpenLoops.in',
0061     'set /Herwig/Cuts/ChargedLeptonPairMassCut:MinMass 60*GeV',
0062     'set /Herwig/Cuts/ChargedLeptonPairMassCut:MaxMass 120*GeV',
0063     'cd /Herwig/MatrixElements/Matchbox',
0064     'set Factory:ScaleChoice /Herwig/MatrixElements/Matchbox/Scales/LeptonPairMassScale',
0065     'read Matchbox/MCatNLO-DefaultShower.in',
0066     '# read Matchbox/NLO-NoShower.in',
0067     '# read Matchbox/LO-NoShower.in',
0068     'read Matchbox/FiveFlavourScheme.in',
0069     'read Matchbox/MMHT2014.in',
0070     'do /Herwig/MatrixElements/Matchbox/Factory:ProductionMode',
0071     )
0072 )
0073 
0074 
0075 ProductionFilterSequence = cms.Sequence(generator)