CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
154 
155  # filter for simulated beam spot
156  simBeamSpotFilter = cms.PSet(
157  initialSeed = cms.untracked.uint32(87654321),
158  engineName = cms.untracked.string('HepJamesRandom')
159  )
160  # to save the status of the last event (useful for crashes)
161  ,saveFileName = cms.untracked.string('')
162  # to restore the status of the last event,
163  # comment the line above and decomment the following one
164  # ,restoreFileName = cms.untracked.string('RandomEngineState.log')
165  # to reproduce events using the RandomEngineStateProducer (source excluded),
166  # decomment the following one
167  # ,restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
168 )
169 
170 randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")
171 
172 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
173 run3_GEM.toModify(RandomNumberGeneratorService, simMuonGEMDigis = cms.PSet(
174  initialSeed = cms.untracked.uint32(1234567),
175  engineName = cms.untracked.string('HepJamesRandom')) )
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 = cms.untracked.string('HepJamesRandom')),
183  simMuonME0ReDigis = cms.PSet(
184  initialSeed = cms.untracked.uint32(7654321),
185  engineName = cms.untracked.string('HepJamesRandom'))
186 )
187 
188 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
189 phase2_timing.toModify(
190  RandomNumberGeneratorService,
191  trackTimeValueMapProducer = cms.PSet(
192  initialSeed = cms.untracked.uint32(1234567),
193  engineName = cms.untracked.string('HepJamesRandom')
194  ),
195  ecalBarrelClusterFastTimer = cms.PSet(
196  initialSeed = cms.untracked.uint32(1234567),
197  engineName = cms.untracked.string('HepJamesRandom')
198  )
199 )