Consumes migration and GenHIEventProducer forward port from 75X #14719
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This package seems to have escaped consumes migration, presumably as these filters weren't being used.
Two of these filters are now needed again:
BetaBoostEvtVtxGenerator
MixBoostEvtVtxGenerator
which are used to apply a boost to HepMCProducts for generators that are not configured to produce asymmetric collisions, as is needed for proton-lead.
They correspond to standard and embedded workflows, respectively.
These are currently run in the relval matrix, so I modified wf's 280 and 301 as follows to test them:
cmsDriver.py AMPT_PPb_5020GeV_MinimumBias_cfi --conditions auto:run2_mc --eventcontent RAWSIM -s GEN,SIM --datatier GEN-SIM --beamspot Realistic5TeVPPbBoost
cmsDriver.py Pyquen_DiJet_pt80to120_2760GeV_cfi --conditions auto:run2_mc_hi -s GEN,SIM --pileup_input das:/RelValHydjetQ_MinBias_5020GeV/CMSSW_7_6_0_pre6-76X_mcRun2_HeavyIon_v4-v1/GEN-SIM --era Run2_2016,Run2_HI --eventcontent FEVTDEBUG --scenario HeavyIons --pileup HiMixGEN --datatier GEN-SIM --beamspot Match5TeVPPbBoost
Note that for that for these wf's the vertex smearing parameters get loaded in this package instead of IOMC.EventVertexGenerators which is not so nice. These parameters still correspond to 2013 pPb collisions, but I propose to clean this up in a different PR, once we have a guess for the 2016 pPb beam parameters.
While I was touching this package I also forward ported GenHIEventProducer, which was patched into 75X but never made it into CMSSW8. This will eventually need to be (re)added to heavy ion workflows (as was done in 75X), which will require updating the configBuilder, but I again propose to leave this as separate PR.
I will also make this PR in 80X, as it's not yet clear which release we'll use for pPb GEN-SIM.