1 import FWCore.ParameterSet.Config
as cms
32 doAllDigiTask = cms.Task(generatorSmeared, calDigiTask, muonDigiTask)
33 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
35 premix_stage2.toReplaceWith(doAllDigiTask, doAllDigiTask.copyAndExclude([muonDigiTask]))
37 pdigiTask_nogen = cms.Task(generatorSmeared, cms.TaskPlaceholder(
"randomEngineStateProducer"), cms.TaskPlaceholder(
"mix"), doAllDigiTask, addPileupInfo)
39 premix_stage2.toReplaceWith(pdigiTask_nogen, pdigiTask_nogen.copyAndExclude([addPileupInfo]))
41 pdigiTask = cms.Task(pdigiTask_nogen, fixGenInfoTask)
43 doAllDigi = cms.Sequence(doAllDigiTask)
44 pdigi = cms.Sequence(pdigiTask)
45 pdigi_valid = cms.Sequence(pdigiTask)
46 pdigi_nogen=cms.Sequence(pdigiTask_nogen)
47 pdigi_valid_nogen=cms.Sequence(pdigiTask_nogen)
50 pdigiTask_hi = cms.Task(pdigiTask, heavyIon)
51 pdigiTask_hi_nogen = cms.Task(pdigiTask_nogen, genJetMETTask, heavyIon)
52 pdigi_hi=cms.Sequence(pdigiTask_hi)
53 pdigi_hi_nogen=cms.Sequence(pdigiTask_hi_nogen)
58 process.load(
"SimGeneral.PileupInformation.genPUProtons_cfi")
59 process.pdigiTask_nogen.add(process.genPUProtons)
60 modifyDigi_premixStage2GenPUProtons = (~premix_stage2).makeProcessModifier(_premixStage2GenPUProtons)
62 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
64 import FastSimulation.Configuration.DigiAliases_cff
as DigiAliases
68 from FastSimulation.Configuration.DigiAliases_cff
import loadDigiAliases
71 modifyDigi_fastSimDigis = (fastSim & ~premix_stage1).makeProcessModifier(_fastSimDigis)
76 theProcess.hcal_db_producer = _hcal_db_producer
77 theProcess.es_hardcode = _es_hardcode
78 theProcess.es_prefer_hcalHardcode = _es_prefer_hcalHardcode
80 from Configuration.Eras.Modifier_hcalHardcodeConditions_cff
import hcalHardcodeConditions
81 modifyEnableHcalHardcode_ = hcalHardcodeConditions.makeProcessModifier( _modifyEnableHcalHardcode )