-
Notifications
You must be signed in to change notification settings - Fork 10
Preliminary stuff for herwig #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "gridpack_submit": false, | ||
| "gridpack_path": "SingleT/ST_wtch_DR_slc7_amd64_gcc10_CMSSW_12_4_8_TWminustoLNu2Q_powheg-pythia8.tgz", | ||
|
|
||
| "fragment": ["Generator/ExternalLHEProducer_Powheg.dat","PartonShower/powheg-herwig7.dat","Filter/OneLepton.dat"], | ||
| "fragment_user": [], | ||
| "fragment_vars": { | ||
| "processParameters": [ | ||
| ], | ||
| "additionalCommands" : [ | ||
| "postGenerationCommand = cms.untracked.vstring('mergeLHE.py', '-i', 'thread*/cmsgrid_final.lhe', '-o', 'cmsgrid_final.lhe')" | ||
| ] | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from Configuration.Generator.Herwig7Settings.Herwig7LHECommonSettings_cfi import * | ||
| from Configuration.Generator.Herwig7Settings.Herwig7StableParticlesForDetector_cfi import * | ||
| from Configuration.Generator.Herwig7Settings.Herwig7$tuneTuneSettings_cfi import * | ||
| from Configuration.Generator.Herwig7Settings.Herwig7LHEPowhegSettings_cfi import * | ||
| from Configuration.Generator.Herwig7Settings.Herwig7_7p1SettingsFor7p2_cfi import * | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure what this really does, are you aware of this?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Uhm that is loading the Herwig CH3 tuning right? Now what I'm not so sure is the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should ask dominic, forwarding an email to you There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi, just to add here, the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Dominic-Stafford wouldn't it make sense to add this to the CH settings? It will work with the old versions where this was already default and still with the new ones. We could make an entry in the fragment that these are not actual settings of the tune but default ones that have changed and where used to derive the tune. The current name is a bit confusing. I will still work with 7.3 and it is related to the tune not the general program, so people might only want it if they are using CH3. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, maybe this would make sense, though it might also cause confusion for people taking parameters from old cards if we remove it. Maybe first I should ask Emyr is there was a motivation for making it a separate block? For 7.3 this might need to be expanded as maybe there will be further parameters which should be set back to their 7.1 values |
||
|
|
||
| generator = cms.EDFilter("Herwig7GeneratorFilter", | ||
| herwig7LHECommonSettingsBlock, | ||
| herwig7LHEPowhegSettingsBlock, | ||
| herwig7p1SettingsFor7p2Block, | ||
| herwig7StableParticlesForDetectorBlock, | ||
| herwig7$tuneSettingsBlock, | ||
| configFiles = cms.vstring(), | ||
| dataLocation = cms.string('${HERWIGPATH}'), | ||
| eventHandlers = cms.string('/Herwig/EventHandlers'), | ||
| generatorModule = cms.string('/Herwig/Generators/EventGenerator'), | ||
| hw_user_settings = cms.vstring( | ||
| 'set /Herwig/EventHandlers/EventHandler:LuminosityFunction:Energy $comEnergy*GeV', | ||
| $processParameters | ||
| ), | ||
| parameterSets = cms.vstring( | ||
| 'hw_lhe_common_settings', | ||
| 'hw_lhe_powheg_settings', | ||
| 'hw_7p1SettingsFor7p2', | ||
| 'herwig7$tunePDF', | ||
| 'herwig7$tuneAlphaS', | ||
| 'herwig7$tuneMPISettings', | ||
| 'herwig7StableParticlesForDetector', | ||
| 'hw_user_settings' | ||
| ), | ||
| repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'), | ||
| run = cms.string('InterfaceMatchboxTest'), | ||
| runModeList = cms.untracked.string('read,run'), | ||
| ) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fact that this is hard-coded here is just for testing ?