CMS 3D CMS Logo

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