CMS 3D CMS Logo

IOMC_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 FullSimEngine = cms.untracked.string('MixMaxRng')
4 FastSimEngine = cms.untracked.string('MixMaxRng')
5 RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
6 
7  externalLHEProducer = cms.PSet(
8  initialSeed = cms.untracked.uint32(234567),
9  engineName = FullSimEngine
10  ),
11  generator = cms.PSet(
12  initialSeed = cms.untracked.uint32(123456789),
13  engineName = FullSimEngine
14  ),
15 
16  VtxSmeared = cms.PSet(
17  initialSeed = cms.untracked.uint32(98765432),
18  engineName = FullSimEngine
19  ),
20  LHCTransport = cms.PSet(
21  initialSeed = cms.untracked.uint32(87654321),
22  engineName = cms.untracked.string('TRandom3')
23  ),
24  hiSignalLHCTransport = cms.PSet(
25  initialSeed = cms.untracked.uint32(88776655),
26  engineName = FastSimEngine
27  ),
28  g4SimHits = cms.PSet(
29  initialSeed = cms.untracked.uint32(11),
30  engineName = FullSimEngine
31  ),
32  mix = cms.PSet(
33  initialSeed = cms.untracked.uint32(12345),
34  engineName = FullSimEngine
35  ),
36  mixData = cms.PSet(
37  initialSeed = cms.untracked.uint32(12345),
38  engineName = FullSimEngine
39  ),
40  simSiStripDigiSimLink = cms.PSet(
41  initialSeed = cms.untracked.uint32(1234567),
42  engineName = FullSimEngine
43  ),
44  simMuonDTDigis = cms.PSet(
45  initialSeed = cms.untracked.uint32(1234567),
46  engineName = FullSimEngine
47  ),
48  simMuonCSCDigis = cms.PSet(
49  initialSeed = cms.untracked.uint32(11223344),
50  engineName = FullSimEngine
51  ),
52  simMuonRPCDigis = cms.PSet(
53  initialSeed = cms.untracked.uint32(1234567),
54  engineName = FullSimEngine
55  ),
56 #
57 # HI generation & simulation is a special processing/chain,
58 # integrated since 330 cycle
59 #
60  hiSignal = cms.PSet(
61  initialSeed = cms.untracked.uint32(123456789),
62  engineName = FullSimEngine
63  ),
64  hiSignalG4SimHits = cms.PSet(
65  initialSeed = cms.untracked.uint32(11),
66  engineName = FullSimEngine
67  ),
68 
69 #
70 # FastSim numbers
71 # integrated since 6.0
72 #
73  famosPileUp = cms.PSet(
74  initialSeed = cms.untracked.uint32(918273),
75  engineName = FastSimEngine
76  ),
77 
78  mixGenPU = cms.PSet(
79  initialSeed = cms.untracked.uint32(918273), # intentionally the same as famosPileUp
80  engineName = FastSimEngine
81  ),
82 
83  mixSimCaloHits = cms.PSet(
84  initialSeed = cms.untracked.uint32(918273),
85  engineName = FastSimEngine
86  ),
87 
88  mixRecoTracks = cms.PSet(
89  initialSeed = cms.untracked.uint32(918273),
90  engineName = FastSimEngine
91  ),
92 
93  fastSimProducer = cms.PSet(
94  initialSeed = cms.untracked.uint32(13579),
95  engineName = FastSimEngine
96  ),
97 
98  fastTrackerRecHits = cms.PSet(
99  initialSeed = cms.untracked.uint32(24680),
100  engineName = FastSimEngine
101  ),
102 
103  ecalRecHit = cms.PSet(
104  initialSeed = cms.untracked.uint32(654321),
105  engineName = FastSimEngine
106  ),
107 
108  ecalPreshowerRecHit = cms.PSet(
109  initialSeed = cms.untracked.uint32(6541321),
110  engineName = FastSimEngine
111  ),
112 
113  hbhereco = cms.PSet(
114  initialSeed = cms.untracked.uint32(541321),
115  engineName = FastSimEngine
116  ),
117 
118  horeco = cms.PSet(
119  initialSeed = cms.untracked.uint32(541321),
120  engineName = FastSimEngine
121  ),
122 
123  hfreco = cms.PSet(
124  initialSeed = cms.untracked.uint32(541321),
125  engineName = FastSimEngine
126  ),
127 
128  paramMuons = cms.PSet(
129  initialSeed = cms.untracked.uint32(54525),
130  engineName = FastSimEngine
131  ),
132 
133  l1ParamMuons = cms.PSet(
134  initialSeed = cms.untracked.uint32(6453209),
135  engineName = FastSimEngine
136  ),
137 
138  MuonSimHits = cms.PSet(
139  initialSeed = cms.untracked.uint32(987346),
140  engineName = FastSimEngine
141  ),
142  #CTPPS FastSim
143  CTPPSFastRecHits = cms.PSet(
144  initialSeed = cms.untracked.uint32(1357987),
145  engineName = FastSimEngine
146  ),
147  # filter for simulated beam spot
148  simBeamSpotFilter = cms.PSet(
149  initialSeed = cms.untracked.uint32(87654321),
150  engineName = FullSimEngine
151  ),
152 
153  RPixDetDigitizer = cms.PSet(
154  initialSeed = cms.untracked.uint32(137137),
155  engineName = FullSimEngine
156  ),
157 
158  RPSiDetDigitizer = cms.PSet(
159  initialSeed = cms.untracked.uint32(137137),
160  engineName = FullSimEngine
161  )
162  # to save the status of the last event (useful for crashes)
163  ,saveFileName = cms.untracked.string('')
164  # to restore the status of the last event,
165  # comment the line above and decomment the following one
166  # ,restoreFileName = cms.untracked.string('RandomEngineState.log')
167  # to reproduce events using the RandomEngineStateProducer (source excluded),
168  # decomment the following one
169  # ,restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
170 )
171 
172 randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")
173 
174 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
175 run2_GEM_2017.toModify(RandomNumberGeneratorService, simMuonGEMDigis = cms.PSet(
176  initialSeed = cms.untracked.uint32(1234567),
177  engineName = FullSimEngine) )
178 
179 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
180 run3_GEM.toModify(
181  RandomNumberGeneratorService,
182  simMuonGEMDigis = cms.PSet(
183  initialSeed = cms.untracked.uint32(1234567),
184  engineName = FullSimEngine)
185 )
186 
187 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
188 phase2_muon.toModify(
189  RandomNumberGeneratorService,
190  simMuonME0Digis = cms.PSet(
191  initialSeed = cms.untracked.uint32(1234567),
192  engineName = FullSimEngine),
193  simMuonME0PseudoDigis = cms.PSet(
194  initialSeed = cms.untracked.uint32(1234567),
195  engineName = FullSimEngine),
196  simMuonME0PseudoReDigis = cms.PSet(
197  initialSeed = cms.untracked.uint32(7654321),
198  engineName = FullSimEngine),
199  simMuonME0PseudoReDigisCoarse = cms.PSet(
200  initialSeed = cms.untracked.uint32(2234567),
201  engineName = FullSimEngine),
202 )
203 
204 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
205 phase2_timing.toModify(
206  RandomNumberGeneratorService,
207  trackTimeValueMapProducer = cms.PSet(
208  initialSeed = cms.untracked.uint32(1234567),
209  engineName = FullSimEngine
210  ),
211  gsfTrackTimeValueMapProducer = cms.PSet(
212  initialSeed = cms.untracked.uint32(1234567),
213  engineName = FullSimEngine
214  ),
215  ecalBarrelClusterFastTimer = cms.PSet(
216  initialSeed = cms.untracked.uint32(1234567),
217  engineName = FullSimEngine
218  )
219 )