CMS 3D CMS Logo

DigiDM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Start with Standard Digitization:
4 
6 
7 _simMuonCSCDigis_orig = simMuonCSCDigis.clone()
8 _simMuonDTDigis_orig = simMuonDTDigis.clone()
9 _simMuonRPCDigis_orig = simMuonRPCDigis.clone()
10 
11 #from SimGeneral.MixingModule.mixNoPU_cfi import *
12 
13 # If we are going to run this with the DataMixer to follow adding
14 # detector noise, turn this off for now:
15 
16 # In premixing stage2 muon digis are produced after PreMixingModule
17 # The simMuon*Digis modules get used in DataMixerPreMix_cff, so better
18 # leave them untouched here.
19 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
20 
21 
31 (~premix_stage2).toModify(simMuonCSCDigis,
32  strips = dict(doNoise = False),
33  wires = dict(doNoise = False)
34 )
35 #DTs are strange - no noise flag - only use true hits?
36 #simMuonDTDigis.IdealModel = True
37 (~premix_stage2).toModify(simMuonDTDigis, onlyMuHits = True)
38 (~premix_stage2).toModify(simMuonRPCDigis, Noise = False)
39 
40 # remove unnecessary modules from 'pdigi' sequence - run after DataMixing
41 # standard mixing module now makes unsuppressed digis for calorimeter
42 pdigiTask.remove(simEcalTriggerPrimitiveDigis)
43 pdigiTask.remove(simEcalEBTriggerPrimitiveDigis) # phase2
44 pdigiTask.remove(simEcalDigis) # does zero suppression
45 pdigiTask.remove(simEcalPreshowerDigis) # does zero suppression
46 pdigiTask.remove(simHcalDigis)
47 pdigiTask.remove(simHcalTTPDigis)