1 import FWCore.ParameterSet.Config
as cms
7 _simMuonCSCDigis_orig = simMuonCSCDigis.clone()
8 _simMuonDTDigis_orig = simMuonDTDigis.clone()
9 _simMuonRPCDigis_orig = simMuonRPCDigis.clone()
19 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
31 (~premix_stage2).toModify(simMuonCSCDigis,
32 strips =
dict(doNoise =
False),
33 wires =
dict(doNoise =
False)
37 (~premix_stage2).toModify(simMuonDTDigis, onlyMuHits =
True)
38 (~premix_stage2).toModify(simMuonRPCDigis, Noise =
False)
42 pdigiTask.remove(simEcalTriggerPrimitiveDigis)
43 pdigiTask.remove(simEcalEBTriggerPrimitiveDigis)
44 pdigiTask.remove(simEcalDigis)
45 pdigiTask.remove(simEcalPreshowerDigis)
46 pdigiTask.remove(simHcalDigis)
47 pdigiTask.remove(simHcalTTPDigis)
50 premix_stage2.toReplaceWith(pdigiTask, pdigiTask.copyAndExclude([addPileupInfo, genPUProtons, muonDigiTask]))
59 import SimGeneral.MixingModule.aliases_PreMix_cfi
as _aliases
60 process.genPUProtons = _aliases.genPUProtons
61 modifyDigiDM_loadPremixStage2Alias = premix_stage2.makeProcessModifier(_loadPremixStage2Alias)
def _loadPremixStage2Alias(process)
#turn off noise in all subdetectors simHcalUnsuppressedDigis.doNoise = False mix.digitizers.hcal.doNoise = False simEcalUnsuppressedDigis.doNoise = False mix.digitizers.ecal.doNoise = False simEcalUnsuppressedDigis.doESNoise = False simSiPixelDigis.AddNoise = False mix.digitizers.pixel.AddNoise = False simSiStripDigis.Noise = False mix.digitizers.strip.AddNoise = False