2 import FWCore.ParameterSet.Config
as cms
6 simMuonRPCDigis = cms.EDProducer(
"RPCDigiProducer",
7 Noise = cms.bool(
True),
8 digiModelConfig = cms.PSet(
9 signalPropagationSpeed = cms.double(0.66),
10 timingRPCOffset = cms.double(50.0),
11 Frate = cms.double(1.0),
12 printOutDigitizer = cms.bool(
False),
13 cosmics = cms.bool(
False),
14 deltatimeAdjacentStrip = cms.double(3.0),
15 linkGateWidth = cms.double(20.0),
16 Rate = cms.double(0.0),
17 timeResolution = cms.double(2.5),
18 averageClusterSize = cms.double(1.5),
19 Gate = cms.double(25.0),
20 averageEfficiency = cms.double(0.95),
21 Nbxing = cms.int32(9),
22 BX_range = cms.int32(5),
23 timeJitter = cms.double(1.0),
24 IRPC_time_resolution = cms.double(0.1),
25 IRPC_electronics_jitter = cms.double(0.025),
26 digitizeElectrons = cms.bool(
False),
28 doBkgNoise = cms.bool(
True),
29 Signal = cms.bool(
True),
30 mixLabel = cms.string(
'mix'),
31 InputCollection = cms.string(
'g4SimHitsMuonRPCHits'),
32 digiModel = cms.string(
'RPCSimAsymmetricCls')
36 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
37 fastSim.toModify(simMuonRPCDigis, InputCollection =
'MuonSimHitsMuonRPCHits')
39 _simMuonRPCDigisPhaseII = cms.EDProducer(
"RPCandIRPCDigiProducer",
40 Noise = cms.bool(
True),
41 digiModelConfig = cms.PSet(
42 signalPropagationSpeed = cms.double(0.66),
43 timingRPCOffset = cms.double(50.0),
44 Frate = cms.double(1.0),
45 printOutDigitizer = cms.bool(
False),
46 cosmics = cms.bool(
False),
47 deltatimeAdjacentStrip = cms.double(3.0),
48 linkGateWidth = cms.double(20.0),
49 Rate = cms.double(0.0),
50 timeResolution = cms.double(1.5),
51 averageClusterSize = cms.double(1.5),
52 Gate = cms.double(25.0),
53 averageEfficiency = cms.double(0.95),
54 Nbxing = cms.int32(9),
55 BX_range = cms.int32(5),
56 timeJitter = cms.double(0.1),
57 sigmaY = cms.double(2.),
58 do_Y_coordinate = cms.bool(
False),
59 digitizeElectrons = cms.bool(
True),
60 IRPC_time_resolution = cms.double(1.5),
61 IRPC_electronics_jitter = cms.double(0.1)
63 doBkgNoise = cms.bool(
False),
64 Signal = cms.bool(
True),
65 mixLabel = cms.string(
'mix'),
66 InputCollection = cms.string(
'g4SimHitsMuonRPCHits'),
67 digiModel = cms.string(
'RPCSimModelTiming'),
68 digiIRPCModelConfig = cms.PSet(
69 signalPropagationSpeed = cms.double(0.66),
70 timingRPCOffset = cms.double(50.0),
71 Frate = cms.double(1.0),
72 printOutDigitizer = cms.bool(
False),
73 cosmics = cms.bool(
False),
74 deltatimeAdjacentStrip = cms.double(3.0),
75 linkGateWidth = cms.double(20.0),
76 Rate = cms.double(0.0),
77 timeResolution = cms.double(1.0),
78 averageClusterSize = cms.double(1.5),
79 Gate = cms.double(25.0),
80 averageEfficiency = cms.double(0.95),
81 Nbxing = cms.int32(9),
82 BX_range = cms.int32(5),
83 timeJitter = cms.double(0.1),
84 IRPC_time_resolution = cms.double(1),
85 IRPC_electronics_jitter = cms.double(0.1),
86 sigmaY = cms.double(2.),
87 do_Y_coordinate = cms.bool(
True),
88 digitizeElectrons = cms.bool(
True),
90 digiIRPCModel = cms.string(
'RPCSimModelTiming')
93 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
94 phase2_muon.toReplaceWith( simMuonRPCDigis, _simMuonRPCDigisPhaseII )