1 import FWCore.ParameterSet.Config
as cms
38 doAllDigiTask = cms.Task(generatorSmeared, calDigiTask, muonDigiTask, ctppsDigiTask)
39 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
41 premix_stage2.toReplaceWith(doAllDigiTask, doAllDigiTask.copyAndExclude([muonDigiTask]))
43 pdigiTask_nogen = cms.Task(generatorSmeared, cms.TaskPlaceholder(
"randomEngineStateProducer"), cms.TaskPlaceholder(
"mix"), doAllDigiTask, addPileupInfo)
45 premix_stage2.toReplaceWith(pdigiTask_nogen, pdigiTask_nogen.copyAndExclude([addPileupInfo]))
47 pdigiTask = cms.Task(pdigiTask_nogen, fixGenInfoTask, tpPruningTask)
49 doAllDigi = cms.Sequence(doAllDigiTask)
50 pdigi = cms.Sequence(pdigiTask)
51 pdigi_valid = cms.Sequence(pdigiTask)
52 pdigi_nogen=cms.Sequence(pdigiTask_nogen)
53 pdigi_valid_nogen=cms.Sequence(pdigiTask_nogen)
56 pdigiTask_hi = cms.Task(pdigiTask, heavyIon)
57 pdigiTask_hi_nogen = cms.Task(pdigiTask_nogen, genJetMETTask, heavyIon)
58 pdigi_hi=cms.Sequence(pdigiTask_hi)
59 pdigi_hi_nogen=cms.Sequence(pdigiTask_hi_nogen)
64 process.load(
"SimGeneral.PileupInformation.genPUProtons_cfi")
65 process.pdigiTask_nogen.add(process.genPUProtons)
66 modifyDigi_premixStage2GenPUProtons = (~premix_stage2).makeProcessModifier(_premixStage2GenPUProtons)
68 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
70 import FastSimulation.Configuration.DigiAliases_cff
as DigiAliases
74 from FastSimulation.Configuration.DigiAliases_cff
import loadDigiAliases
77 modifyDigi_fastSimDigis = (fastSim & ~premix_stage1).makeProcessModifier(_fastSimDigis)
82 theProcess.hcal_db_producer = _hcal_db_producer
83 theProcess.es_hardcode = _es_hardcode
84 theProcess.es_prefer_hcalHardcode = _es_prefer_hcalHardcode
86 from Configuration.Eras.Modifier_hcalHardcodeConditions_cff
import hcalHardcodeConditions
87 modifyEnableHcalHardcode_ = hcalHardcodeConditions.makeProcessModifier( _modifyEnableHcalHardcode )
def _modifyEnableHcalHardcode
def _premixStage2GenPUProtons