1 import FWCore.ParameterSet.Config
as cms
36 doAllDigiTask = cms.Task(generatorSmeared, calDigiTask, muonDigiTask, ctppsDigiTask)
37 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
39 premix_stage2.toReplaceWith(doAllDigiTask, doAllDigiTask.copyAndExclude([muonDigiTask]))
41 pdigiTask_nogen = cms.Task(generatorSmeared, cms.TaskPlaceholder(
"randomEngineStateProducer"), cms.TaskPlaceholder(
"mix"), doAllDigiTask, addPileupInfo)
43 premix_stage2.toReplaceWith(pdigiTask_nogen, pdigiTask_nogen.copyAndExclude([addPileupInfo]))
45 pdigiTask = cms.Task(pdigiTask_nogen, fixGenInfoTask)
47 doAllDigi = cms.Sequence(doAllDigiTask)
48 pdigi = cms.Sequence(pdigiTask)
49 pdigi_valid = cms.Sequence(pdigiTask)
50 pdigi_nogen=cms.Sequence(pdigiTask_nogen)
51 pdigi_valid_nogen=cms.Sequence(pdigiTask_nogen)
54 pdigiTask_hi = cms.Task(pdigiTask, heavyIon)
55 pdigiTask_hi_nogen = cms.Task(pdigiTask_nogen, genJetMETTask, heavyIon)
56 pdigi_hi=cms.Sequence(pdigiTask_hi)
57 pdigi_hi_nogen=cms.Sequence(pdigiTask_hi_nogen)
62 process.load(
"SimGeneral.PileupInformation.genPUProtons_cfi")
63 process.pdigiTask_nogen.add(process.genPUProtons)
64 modifyDigi_premixStage2GenPUProtons = (~premix_stage2).makeProcessModifier(_premixStage2GenPUProtons)
66 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
68 import FastSimulation.Configuration.DigiAliases_cff
as DigiAliases
72 from FastSimulation.Configuration.DigiAliases_cff
import loadDigiAliases
75 modifyDigi_fastSimDigis = (fastSim & ~premix_stage1).makeProcessModifier(_fastSimDigis)
80 theProcess.hcal_db_producer = _hcal_db_producer
81 theProcess.es_hardcode = _es_hardcode
82 theProcess.es_prefer_hcalHardcode = _es_prefer_hcalHardcode
84 from Configuration.Eras.Modifier_hcalHardcodeConditions_cff
import hcalHardcodeConditions
85 modifyEnableHcalHardcode_ = hcalHardcodeConditions.makeProcessModifier( _modifyEnableHcalHardcode )