-
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 CMSSW_10_6_X into CMSSW_10_6_DEVEL_X.
- Loading branch information
Showing
7 changed files
with
208 additions
and
1 deletion.
There are no files selected for viewing
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' | ||
) | ||
) |
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 |
---|---|---|
|
@@ -103,4 +103,4 @@ | |
'cd /Herwig/Generators', | ||
'saverun LHE EventGenerator' | ||
) | ||
) | ||
) |
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'), | ||
) |
45 changes: 45 additions & 0 deletions
45
GeneratorInterface/Herwig7Interface/python/Herwig7_loadCommonSettings_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/powheg/V2/TT_hvq/TT_hdamp_NNPDF31_NNLO_inclusive.tgz'), | ||
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.Herwig7LHECommonSettings_cfi import * | ||
from Configuration.Generator.Herwig7Settings.Herwig7StableParticlesForDetector_cfi import * | ||
from Configuration.Generator.Herwig7Settings.Herwig7CH3TuneSettings_cfi import * | ||
from Configuration.Generator.Herwig7Settings.Herwig7LHEPowhegSettings_cfi import * | ||
|
||
generator = cms.EDFilter("Herwig7GeneratorFilter", | ||
herwig7LHECommonSettingsBlock, | ||
herwig7LHEPowhegSettingsBlock, | ||
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' | ||
), | ||
parameterSets = cms.vstring( | ||
'hw_lhe_common_settings', | ||
'hw_lhe_Powheg_settings', | ||
'herwig7CH3PDF', | ||
'herwig7CH3AlphaS', | ||
'herwig7CH3MPISettings', | ||
'herwig7StableParticlesForDetector', | ||
'hw_user_settings' | ||
), | ||
repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'), | ||
run = cms.string('InterfaceMatchboxTest'), | ||
runModeList = cms.untracked.string('read,run'), | ||
) |