CMS 3D CMS Logo

SimMuon_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Muon Digitization (CSC, DT, RPC electronics responce)
4 # CSC digitizer
5 #
9 # DT digitizer
10 #
12 # RPC digitizer
13 #
15 muonDigiTask = cms.Task(simMuonCSCDigis, simMuonDTDigis, simMuonRPCDigis)
16 muonDigi = cms.Sequence(muonDigiTask)
17 
20 
21 _run3_muonDigiTask = muonDigiTask.copy()
22 _run3_muonDigiTask.add(muonGEMDigiTask)
23 
24 _phase2_muonDigiTask = _run3_muonDigiTask.copy()
25 _phase2_muonDigiTask.add(muonME0DigiTask)
26 
27 # while GE0 is in development, just turn off ME0 tasks
28 _phase2_ge0 = _phase2_muonDigiTask.copyAndExclude([muonME0DigiTask])
29 
30 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
31 run2_GEM_2017.toReplaceWith( muonDigiTask, _run3_muonDigiTask )
32 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
33 run3_GEM.toReplaceWith( muonDigiTask, _run3_muonDigiTask )
34 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
35 phase2_muon.toReplaceWith( muonDigiTask, _phase2_muonDigiTask )
36 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
37 phase2_GE0.toReplaceWith( muonDigiTask, _phase2_ge0 )
38