-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26123 from Andrej-CMS/Herwig7Configs_93X
herwig 7 settings
- Loading branch information
Showing
10 changed files
with
407 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
Configuration/Generator/python/Herwig7Settings/Herwig7CH2TuneSettings_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,43 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
herwig7CH2SettingsBlock = cms.PSet( | ||
herwig7CH2PDF = cms.vstring( | ||
'cd /Herwig/Partons', | ||
'create ThePEG::LHAPDF PDFSet_nnlo ThePEGLHAPDF.so', | ||
'set PDFSet_nnlo:PDFName NNPDF31_nnlo_as_0118.LHgrid', | ||
'set PDFSet_nnlo:RemnantHandler HadronRemnants', | ||
'set /Herwig/Particles/p+:PDF PDFSet_nnlo', | ||
'set /Herwig/Particles/pbar-:PDF PDFSet_nnlo', | ||
|
||
'set /Herwig/Partons/PPExtractor:FirstPDF PDFSet_nnlo', | ||
'set /Herwig/Partons/PPExtractor:SecondPDF PDFSet_nnlo', | ||
|
||
'set /Herwig/Shower/ShowerHandler:PDFA PDFSet_nnlo', | ||
'set /Herwig/Shower/ShowerHandler:PDFB PDFSet_nnlo', | ||
|
||
'create ThePEG::LHAPDF PDFSet_lo ThePEGLHAPDF.so', | ||
'set PDFSet_lo:PDFName NNPDF31_lo_as_0118.LHgrid', | ||
'set PDFSet_lo:RemnantHandler HadronRemnants', | ||
|
||
'set /Herwig/Shower/ShowerHandler:PDFARemnant PDFSet_lo', | ||
'set /Herwig/Shower/ShowerHandler:PDFBRemnant PDFSet_lo', | ||
'set /Herwig/Partons/MPIExtractor:FirstPDF PDFSet_lo', | ||
'set /Herwig/Partons/MPIExtractor:SecondPDF PDFSet_lo', | ||
|
||
'cd /', | ||
), | ||
herwig7CH2AlphaS = cms.vstring( | ||
'cd /Herwig/Shower', | ||
'set AlphaQCD:AlphaMZ 0.118', | ||
'cd /' | ||
), | ||
herwig7CH2MPISettings = cms.vstring( | ||
'read snippets/SoftModel.in', | ||
'set /Herwig/Hadronization/ColourReconnector:ReconnectionProbability 0.479', | ||
'set /Herwig/UnderlyingEvent/MPIHandler:pTmin0 3.138', | ||
'set /Herwig/UnderlyingEvent/MPIHandler:InvRadius 1.174', | ||
'set /Herwig/UnderlyingEvent/MPIHandler:Power 0.1203', | ||
'set /Herwig/Partons/RemnantDecayer:ladderPower -0.08', | ||
'set /Herwig/Partons/RemnantDecayer:ladderNorm 0.95', | ||
) | ||
) |
43 changes: 43 additions & 0 deletions
43
Configuration/Generator/python/Herwig7Settings/Herwig7CH3TuneSettings_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,43 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
herwig7CH3SettingsBlock = cms.PSet( | ||
herwig7CH3PDF = cms.vstring( | ||
'cd /Herwig/Partons', | ||
'create ThePEG::LHAPDF PDFSet_nnlo ThePEGLHAPDF.so', | ||
'set PDFSet_nnlo:PDFName NNPDF31_nnlo_as_0118.LHgrid', | ||
'set PDFSet_nnlo:RemnantHandler HadronRemnants', | ||
'set /Herwig/Particles/p+:PDF PDFSet_nnlo', | ||
'set /Herwig/Particles/pbar-:PDF PDFSet_nnlo', | ||
|
||
'set /Herwig/Partons/PPExtractor:FirstPDF PDFSet_nnlo', | ||
'set /Herwig/Partons/PPExtractor:SecondPDF PDFSet_nnlo', | ||
|
||
'set /Herwig/Shower/ShowerHandler:PDFA PDFSet_nnlo', | ||
'set /Herwig/Shower/ShowerHandler:PDFB PDFSet_nnlo', | ||
|
||
'create ThePEG::LHAPDF PDFSet_lo ThePEGLHAPDF.so', | ||
'set PDFSet_lo:PDFName NNPDF31_lo_as_0130.LHgrid', | ||
'set PDFSet_lo:RemnantHandler HadronRemnants', | ||
|
||
'set /Herwig/Shower/ShowerHandler:PDFARemnant PDFSet_lo', | ||
'set /Herwig/Shower/ShowerHandler:PDFBRemnant PDFSet_lo', | ||
'set /Herwig/Partons/MPIExtractor:FirstPDF PDFSet_lo', | ||
'set /Herwig/Partons/MPIExtractor:SecondPDF PDFSet_lo', | ||
|
||
'cd /', | ||
), | ||
herwig7CH3AlphaS = cms.vstring( | ||
'cd /Herwig/Shower', | ||
'set AlphaQCD:AlphaMZ 0.118', | ||
'cd /' | ||
), | ||
herwig7CH3MPISettings = cms.vstring( | ||
'read snippets/SoftModel.in', | ||
'set /Herwig/Hadronization/ColourReconnector:ReconnectionProbability 0.4712', | ||
'set /Herwig/UnderlyingEvent/MPIHandler:pTmin0 3.04', | ||
'set /Herwig/UnderlyingEvent/MPIHandler:InvRadius 1.284', | ||
'set /Herwig/UnderlyingEvent/MPIHandler:Power 0.1362', | ||
'set /Herwig/Partons/RemnantDecayer:ladderPower -0.08', | ||
'set /Herwig/Partons/RemnantDecayer:ladderNorm 0.95', | ||
) | ||
) |
58 changes: 58 additions & 0 deletions
58
Configuration/Generator/python/Herwig7Settings/Herwig7CommonMergingSettings_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,58 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
herwig7CommonMergingSettingsBlock = cms.PSet( | ||
hw_common_merging_settings = cms.vstring( | ||
'read snippets/PPCollider.in', | ||
'cd /Herwig/EventHandlers', | ||
'library FxFx.so', | ||
'create Herwig::FxFxEventHandler theLesHouchesHandler', | ||
'cd /Herwig/EventHandlers', | ||
'library FxFx.so', | ||
'create Herwig::FxFxFileReader theLHReader', | ||
'cd /Herwig/Shower', | ||
'library FxFxHandler.so', | ||
'create Herwig::FxFxHandler FxFxHandler', | ||
'set /Herwig/Shower/FxFxHandler:ShowerModel /Herwig/Shower/ShowerModel', | ||
'set /Herwig/Shower/FxFxHandler:SplittingGenerator /Herwig/Shower/SplittingGenerator', | ||
'cd /Herwig/EventHandlers', | ||
'create ThePEG::Cuts /Herwig/Cuts/NoCuts', | ||
'cd /Herwig/EventHandlers', | ||
'insert theLesHouchesHandler:FxFxReaders[0] theLHReader', | ||
'set theLesHouchesHandler:WeightOption VarNegWeight', | ||
'set theLesHouchesHandler:PartonExtractor /Herwig/Partons/PPExtractor', | ||
'set theLesHouchesHandler:CascadeHandler /Herwig/Shower/FxFxHandler', | ||
'set theLesHouchesHandler:HadronizationHandler /Herwig/Hadronization/ClusterHadHandler', | ||
'set theLesHouchesHandler:DecayHandler /Herwig/Decays/DecayHandler', | ||
'set /Herwig/Shower/ShowerHandler:MaxPtIsMuF Yes', | ||
'set /Herwig/Shower/ShowerHandler:RestrictPhasespace Yes', | ||
'set /Herwig/Shower/PartnerFinder:PartnerMethod Random', | ||
'set /Herwig/Shower/PartnerFinder:ScaleChoice Partner', | ||
'cd /Herwig/EventHandlers', | ||
'set theLHReader:AllowedToReOpen No', | ||
'set theLHReader:WeightWarnings false', | ||
'set theLHReader:FileName cmsgrid_final.lhe', | ||
'set theLHReader:MomentumTreatment RescaleEnergy', | ||
'set theLHReader:Cuts /Herwig/Cuts/NoCuts', | ||
'cd /Herwig/Generators', | ||
'set EventGenerator:EventHandler /Herwig/EventHandlers/theLesHouchesHandler', | ||
'set EventGenerator:PrintEvent 1', | ||
'set EventGenerator:MaxErrors 10000', | ||
'cd /Herwig/Shower', | ||
'set /Herwig/Shower/FxFxHandler:MPIHandler /Herwig/UnderlyingEvent/MPIHandler', | ||
'set /Herwig/Shower/FxFxHandler:RemDecayer /Herwig/Partons/RemnantDecayer', | ||
'set /Herwig/Shower/FxFxHandler:ShowerAlpha AlphaQCD', | ||
'set FxFxHandler:HeavyQVeto Yes', | ||
'set FxFxHandler:HardProcessDetection Automatic', | ||
'set FxFxHandler:ihrd 3', | ||
'set FxFxHandler:njetsmax 4', | ||
'set FxFxHandler:drjmin 0', | ||
'cd /Herwig/Shower', | ||
'set FxFxHandler:VetoIsTurnedOff VetoingIsOn', | ||
'set FxFxHandler:MergeMode TreeMG5', | ||
'set FxFxHandler:ETClus 20*GeV', | ||
'set FxFxHandler:RClus 1.0', | ||
'set FxFxHandler:EtaClusMax 5', | ||
'set FxFxHandler:RClusFactor 1.5' | ||
|
||
) | ||
) |
34 changes: 34 additions & 0 deletions
34
Configuration/Generator/python/Herwig7Settings/Herwig7LHECommonSettings_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,34 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
herwig7LHECommonSettingsBlock = cms.PSet( | ||
hw_lhe_common_settings = cms.vstring( | ||
'read snippets/PPCollider.in', | ||
'cd /Herwig/Generators', | ||
'cd /Herwig/EventHandlers', | ||
'library LesHouches.so', | ||
'create ThePEG::LesHouchesEventHandler LesHouchesHandler', | ||
'set LesHouchesHandler:PartonExtractor /Herwig/Partons/PPExtractor', | ||
'set LesHouchesHandler:CascadeHandler /Herwig/Shower/ShowerHandler', | ||
'set LesHouchesHandler:DecayHandler /Herwig/Decays/DecayHandler', | ||
'set LesHouchesHandler:HadronizationHandler /Herwig/Hadronization/ClusterHadHandler', | ||
'set LesHouchesHandler:WeightOption VarNegWeight', | ||
'set /Herwig/Generators/EventGenerator:EventHandler /Herwig/EventHandlers/LesHouchesHandler', | ||
'create ThePEG::Cuts /Herwig/Cuts/NoCuts', | ||
'create ThePEG::LHAPDF /Herwig/Partons/LHAPDF ThePEGLHAPDF.so', | ||
'set /Herwig/Partons/LHAPDF:PDFName NNPDF31_nnlo_as_0118', | ||
'set /Herwig/Partons/LHAPDF:RemnantHandler /Herwig/Partons/HadronRemnants', | ||
'set /Herwig/Particles/p+:PDF /Herwig/Partons/LHAPDF', | ||
'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/LHAPDF', | ||
'set /Herwig/Partons/PPExtractor:FirstPDF /Herwig/Partons/LHAPDF', | ||
'set /Herwig/Partons/PPExtractor:SecondPDF /Herwig/Partons/LHAPDF', | ||
'create ThePEG::LesHouchesFileReader LesHouchesReader', | ||
'set LesHouchesReader:FileName cmsgrid_final.lhe', | ||
'set LesHouchesReader:AllowedToReOpen No', | ||
'set LesHouchesReader:InitPDFs 0', | ||
'set LesHouchesReader:Cuts /Herwig/Cuts/NoCuts', | ||
'set LesHouchesReader:MomentumTreatment RescaleEnergy', | ||
'set LesHouchesReader:PDFA /Herwig/Partons/LHAPDF', | ||
'set LesHouchesReader:PDFB /Herwig/Partons/LHAPDF', | ||
'insert LesHouchesHandler:LesHouchesReaders 0 LesHouchesReader' | ||
) | ||
) |
12 changes: 12 additions & 0 deletions
12
Configuration/Generator/python/Herwig7Settings/Herwig7LHEMG5aMCatNLOSettings_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,12 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
herwig7LHEMG5aMCatNLOSettingsBlock = cms.PSet( | ||
hw_lhe_MG5aMCatNLO_settings = cms.vstring( | ||
'set /Herwig/Shower/KinematicsReconstructor:InitialInitialBoostOption LongTransBoost', | ||
'set /Herwig/Shower/KinematicsReconstructor:ReconstructionOption General', | ||
'set /Herwig/Shower/KinematicsReconstructor:FinalStateReconOption Default', | ||
'set /Herwig/Shower/KinematicsReconstructor:InitialStateReconOption Rapidity', | ||
'set /Herwig/Shower/ShowerHandler:SpinCorrelations Yes', | ||
'set /Herwig/Particles/t:NominalMass 172.5' | ||
) | ||
) |
13 changes: 13 additions & 0 deletions
13
Configuration/Generator/python/Herwig7Settings/Herwig7LHEPowhegSettings_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,13 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
herwig7LHEPowhegSettingsBlock = cms.PSet( | ||
hw_lhe_Powheg_settings = cms.vstring( | ||
'set /Herwig/Shower/ShowerHandler:MaxPtIsMuF Yes', | ||
'set /Herwig/Shower/ShowerHandler:RestrictPhasespace Yes', | ||
'set /Herwig/Shower/PartnerFinder:PartnerMethod Random', | ||
'set /Herwig/Shower/PartnerFinder:ScaleChoice Partner', | ||
'set /Herwig/Shower/GtoQQbarSplitFn:AngularOrdered Yes', | ||
'set /Herwig/Shower/GammatoQQbarSplitFn:AngularOrdered Yes', | ||
'set /Herwig/Particles/t:NominalMass 172.5' | ||
) | ||
) |
106 changes: 106 additions & 0 deletions
106
Configuration/Generator/python/Herwig7Settings/Herwig7LHESettings_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,106 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
herwig7LHESettingsBlock = cms.PSet( | ||
hw_lhe_settings = cms.vstring( | ||
'##################################################', | ||
'# Example generator based on LHC parameters', | ||
'# usage: Herwig read LHE.in', | ||
'##################################################', | ||
'read snippets/PPCollider.in', | ||
'##################################################', | ||
'# Technical parameters for this run', | ||
'##################################################', | ||
'cd /Herwig/Generators', | ||
'#set EventGenerator:NumberOfEvents 10000000', | ||
'#set EventGenerator:RandomNumberGenerator:Seed 31122001', | ||
'#set EventGenerator:DebugLevel 0', | ||
'#set EventGenerator:PrintEvent 10', | ||
'#set EventGenerator:MaxErrors 10000', | ||
'##################################################', | ||
'# Create the Les Houches file handler and reader', | ||
'##################################################', | ||
'cd /Herwig/EventHandlers', | ||
'library LesHouches.so', | ||
'# create the event handler', | ||
'create ThePEG::LesHouchesEventHandler LesHouchesHandler', | ||
'# set the various step handlers', | ||
'set LesHouchesHandler:PartonExtractor /Herwig/Partons/PPExtractor', | ||
'set LesHouchesHandler:CascadeHandler /Herwig/Shower/ShowerHandler', | ||
'set LesHouchesHandler:DecayHandler /Herwig/Decays/DecayHandler', | ||
'set LesHouchesHandler:HadronizationHandler /Herwig/Hadronization/ClusterHadHandler', | ||
'# set the weight option (e.g. for MC@NLO)', | ||
'set LesHouchesHandler:WeightOption VarNegWeight', | ||
'# set event hander as one to be used', | ||
'set /Herwig/Generators/EventGenerator:EventHandler /Herwig/EventHandlers/LesHouchesHandler', | ||
'# Set up an EMPTY CUTS object', | ||
'# Normally you will have imposed any cuts you want', | ||
'# when generating the event file and do not want any more', | ||
'# in particular for POWHEG and MC@NLO you must not apply cuts on the', | ||
'# the extra jet', | ||
'create ThePEG::Cuts /Herwig/Cuts/NoCuts', | ||
'# You may wish to use the same PDF as the events were generated with', | ||
'create ThePEG::LHAPDF /Herwig/Partons/LHAPDF ThePEGLHAPDF.so', | ||
'set /Herwig/Partons/LHAPDF:PDFName NNPDF31_nnlo_as_0118', | ||
'set /Herwig/Partons/LHAPDF:RemnantHandler /Herwig/Partons/HadronRemnants', | ||
'set /Herwig/Particles/p+:PDF /Herwig/Partons/LHAPDF', | ||
'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/LHAPDF', | ||
'set /Herwig/Partons/PPExtractor:FirstPDF /Herwig/Partons/LHAPDF', | ||
'set /Herwig/Partons/PPExtractor:SecondPDF /Herwig/Partons/LHAPDF', | ||
'# We would recommend the shower uses the default PDFs with which it was tuned.', | ||
'# However it can be argued that the same set as for the sample should be used for', | ||
'# matched samples, i.e. MC@NLO (and less so POWHEG)', | ||
'#set /Herwig/Shower/ShowerHandler:PDFA /Herwig/Partons/LHAPDF', | ||
'#set /Herwig/Shower/ShowerHandler:PDFB /Herwig/Partons/LHAPDF', | ||
'# You can in principle also change the PDFs for the remnant extraction and', | ||
'# multiple scattering. As the generator was tuned with the default values', | ||
'# this is STRONGLY DISCOURAGED without retuning the MPI parameters', | ||
'# create the reader and set cuts', | ||
'create ThePEG::LesHouchesFileReader LesHouchesReader', | ||
'set LesHouchesReader:FileName cmsgrid_final.lhe', | ||
'set LesHouchesReader:AllowedToReOpen No', | ||
'set LesHouchesReader:InitPDFs 0', | ||
'set LesHouchesReader:Cuts /Herwig/Cuts/NoCuts', | ||
'# option to ensure momentum conservation is O.K. due rounding errors (recommended)', | ||
'set LesHouchesReader:MomentumTreatment RescaleEnergy', | ||
'# set the pdfs', | ||
'set LesHouchesReader:PDFA /Herwig/Partons/LHAPDF', | ||
'set LesHouchesReader:PDFB /Herwig/Partons/LHAPDF', | ||
'# if using BSM models with QNUMBER info', | ||
'#set LesHouchesReader:QNumbers Yes', | ||
'#set LesHouchesReader:Decayer /Herwig/Decays/Mambo', | ||
'# and add to handler', | ||
'insert LesHouchesHandler:LesHouchesReaders 0 LesHouchesReader', | ||
'##################################################', | ||
'# Shower parameters', | ||
'##################################################', | ||
'# normally, especially for POWHEG, you want', | ||
'# the scale supplied in the event files (SCALUP)', | ||
'# to be used as a pT veto scale in the parton shower', | ||
'set /Herwig/Shower/ShowerHandler:MaxPtIsMuF Yes', | ||
'set /Herwig/Shower/ShowerHandler:RestrictPhasespace Yes', | ||
'# Shower parameters', | ||
'# treatment of wide angle radiation', | ||
'set /Herwig/Shower/PartnerFinder:PartnerMethod Random', | ||
'set /Herwig/Shower/PartnerFinder:ScaleChoice Partner', | ||
'# fix issue before 7.0.5 (not needed after this)', | ||
'set /Herwig/Shower/GtoQQbarSplitFn:AngularOrdered Yes', | ||
'set /Herwig/Shower/GammatoQQbarSplitFn:AngularOrdered Yes', | ||
'# with MC@NLO these parameters are required for consistency of the subtraction terms', | ||
'# suggested parameters (give worse physics results with POWHEG)', | ||
'#set /Herwig/Shower/KinematicsReconstructor:InitialInitialBoostOption LongTransBoost', | ||
'#set /Herwig/Shower/KinematicsReconstructor:ReconstructionOption General', | ||
'#set /Herwig/Shower/KinematicsReconstructor:FinalStateReconOption Default', | ||
'#set /Herwig/Shower/KinematicsReconstructor:InitialStateReconOption Rapidity', | ||
'#set /Herwig/Shower/ShowerHandler:SpinCorrelations No', | ||
'##################################################', | ||
'# LHC physics parameters (override defaults here) ', | ||
'##################################################', | ||
'# e.g if different top mass used', | ||
'set /Herwig/Particles/t:NominalMass 172.5', | ||
'##################################################', | ||
'# Save run for later usage with `Herwig run`', | ||
'##################################################', | ||
'cd /Herwig/Generators', | ||
'saverun LHE EventGenerator' | ||
) | ||
) |
8 changes: 8 additions & 0 deletions
8
Configuration/Generator/python/Herwig7Settings/Herwig7StableParticlesForDetector_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,8 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
herwig7StableParticlesForDetectorBlock = cms.PSet( | ||
herwig7StableParticlesForDetector = cms.vstring( | ||
'set /Herwig/Decays/DecayHandler:MaxLifeTime 10*mm', | ||
'set /Herwig/Decays/DecayHandler:LifeTimeOption Average', | ||
) | ||
) |
45 changes: 45 additions & 0 deletions
45
GeneratorInterface/Herwig7Interface/python/Herwig7_loadCommonMergingSettings_cff.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,45 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
externalLHEProducer = cms.EDProducer("ExternalLHEProducer", | ||
args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/2017/13TeV/madgraph/V5_2.4.2/DYJetsToQQ_HT180toInf/v1/DYJetsToQQ_HT180toInf_slc6_amd64_gcc481_CMSSW_7_1_30_tarball.tar.xz'), | ||
nEvents = cms.untracked.uint32(5000), | ||
numberOfParameters = cms.uint32(1), | ||
outputFile = cms.string('cmsgrid_final.lhe'), | ||
scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh') | ||
) | ||
|
||
from Configuration.Generator.Herwig7Settings.Herwig7StableParticlesForDetector_cfi import * | ||
from Configuration.Generator.Herwig7Settings.Herwig7CH3TuneSettings_cfi import * | ||
from Configuration.Generator.Herwig7Settings.Herwig7CommonMergingSettings_cfi import * | ||
|
||
generator = cms.EDFilter("Herwig7GeneratorFilter", | ||
herwig7CommonMergingSettingsBlock, | ||
herwig7StableParticlesForDetectorBlock, | ||
herwig7CH3SettingsBlock, | ||
configFiles = cms.vstring(), | ||
crossSection = cms.untracked.double(-1), | ||
dataLocation = cms.string('${HERWIGPATH:-6}'), | ||
eventHandlers = cms.string('/Herwig/EventHandlers'), | ||
filterEfficiency = cms.untracked.double(1.0), | ||
generatorModule = cms.string('/Herwig/Generators/EventGenerator'), | ||
hw_user_settings = cms.vstring( | ||
'cd /Herwig/EventHandlers', | ||
'set EventHandler:LuminosityFunction:Energy 13000*GeV', | ||
'cd /', | ||
'set /Herwig/Particles/h0:NominalMass 125.0', | ||
'set /Herwig/Shower/FxFxHandler:njetsmax 4', | ||
'set /Herwig/Shower/FxFxHandler:RClus 1.0', | ||
'set /Herwig/Shower/FxFxHandler:ETClus 20*GeV' | ||
), | ||
parameterSets = cms.vstring( | ||
'hw_common_merging_settings', | ||
'herwig7CH3PDF', | ||
'herwig7CH3AlphaS', | ||
'herwig7CH3MPISettings', | ||
'herwig7StableParticlesForDetector', | ||
'hw_user_settings' | ||
), | ||
repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'), | ||
run = cms.string('Merging'), | ||
runModeList = cms.untracked.string('read,run'), | ||
) |
Oops, something went wrong.