Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Start with Standard Digitization:
0004 
0005 from Configuration.StandardSequences.Digi_cff import *
0006 
0007 _simMuonCSCDigis_orig = simMuonCSCDigis.clone()
0008 _simMuonDTDigis_orig = simMuonDTDigis.clone()
0009 _simMuonRPCDigis_orig = simMuonRPCDigis.clone()
0010 
0011 #from SimGeneral.MixingModule.mixNoPU_cfi import *
0012 
0013 # If we are going to run this with the DataMixer to follow adding
0014 # detector noise, turn this off for now:
0015 
0016 # In premixing stage2 muon digis are produced after PreMixingModule
0017 # The simMuon*Digis modules get used in DataMixerPreMix_cff, so better
0018 # leave them untouched here.
0019 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0020 
0021 ##### #turn off noise in all subdetectors
0022 #simHcalUnsuppressedDigis.doNoise = False
0023 #mix.digitizers.hcal.doNoise = False
0024 #simEcalUnsuppressedDigis.doNoise = False
0025 #mix.digitizers.ecal.doNoise = False
0026 #simEcalUnsuppressedDigis.doESNoise = False
0027 #simSiPixelDigis.AddNoise = False
0028 #mix.digitizers.pixel.AddNoise = False
0029 #simSiStripDigis.Noise = False
0030 #mix.digitizers.strip.AddNoise = False
0031 (~premix_stage2).toModify(simMuonCSCDigis,
0032     strips = dict(doNoise = False),
0033     wires  = dict(doNoise = False)
0034 )
0035 #DTs are strange - no noise flag - only use true hits?
0036 #simMuonDTDigis.IdealModel = True
0037 (~premix_stage2).toModify(simMuonDTDigis, onlyMuHits = True)
0038 (~premix_stage2).toModify(simMuonRPCDigis, Noise = False)
0039 
0040 # remove unnecessary modules from 'pdigi' sequence - run after DataMixing
0041 # standard mixing module now makes unsuppressed digis for calorimeter
0042 pdigiTask.remove(simEcalTriggerPrimitiveDigis)
0043 pdigiTask.remove(simEcalEBTriggerPrimitiveDigis) # phase2
0044 pdigiTask.remove(simEcalDigis)  # does zero suppression
0045 pdigiTask.remove(simEcalPreshowerDigis)  # does zero suppression
0046 pdigiTask.remove(simHcalDigis)
0047 pdigiTask.remove(simHcalTTPDigis)