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 = FastSimEngine
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  # to save the status of the last event (useful for crashes)
153  ,saveFileName = cms.untracked.string('')
154  # to restore the status of the last event,
155  # comment the line above and decomment the following one
156  # ,restoreFileName = cms.untracked.string('RandomEngineState.log')
157  # to reproduce events using the RandomEngineStateProducer (source excluded),
158  # decomment the following one
159  # ,restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
160 )
161 
162 randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")
163 
164 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
165 run2_GEM_2017.toModify(RandomNumberGeneratorService, simMuonGEMDigis = cms.PSet(
166  initialSeed = cms.untracked.uint32(1234567),
167  engineName = FullSimEngine) )
168 
169 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
170 run3_GEM.toModify(
171  RandomNumberGeneratorService,
172  simMuonGEMDigis = cms.PSet(
173  initialSeed = cms.untracked.uint32(1234567),
174  engineName = FullSimEngine)
175 )
176 
177 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
178 phase2_muon.toModify(
179  RandomNumberGeneratorService,
180  simMuonME0Digis = cms.PSet(
181  initialSeed = cms.untracked.uint32(1234567),
182  engineName = FullSimEngine),
183  simMuonME0PseudoDigis = cms.PSet(
184  initialSeed = cms.untracked.uint32(1234567),
185  engineName = FullSimEngine),
186  simMuonME0PseudoReDigis = cms.PSet(
187  initialSeed = cms.untracked.uint32(7654321),
188  engineName = FullSimEngine),
189  simMuonME0PseudoReDigisCoarse = cms.PSet(
190  initialSeed = cms.untracked.uint32(2234567),
191  engineName = FullSimEngine),
192 )
193 
194 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
195 phase2_timing.toModify(
196  RandomNumberGeneratorService,
197  trackTimeValueMapProducer = cms.PSet(
198  initialSeed = cms.untracked.uint32(1234567),
199  engineName = FullSimEngine
200  ),
201  gsfTrackTimeValueMapProducer = cms.PSet(
202  initialSeed = cms.untracked.uint32(1234567),
203  engineName = FullSimEngine
204  ),
205  ecalBarrelClusterFastTimer = cms.PSet(
206  initialSeed = cms.untracked.uint32(1234567),
207  engineName = FullSimEngine
208  )
209 )