1 import FWCore.ParameterSet.Config
as cms
11 mixObjects_dt_csc_rpc = cms.PSet(
13 crossingFrames = cms.untracked.vstring(),
14 input = cms.VInputTag(),
15 type = cms.string(
'PCaloHit'),
16 subdets = cms.vstring()
19 input = cms.VInputTag(cms.InputTag(
"generatorSmeared"),cms.InputTag(
"generator")),
20 makeCrossingFrame = cms.untracked.bool(
True),
21 type = cms.string(
'HepMCProduct')
23 mixVertices = cms.PSet(
24 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
25 makeCrossingFrame = cms.untracked.bool(
True),
26 type = cms.string(
'SimVertex')
29 crossingFrames = cms.untracked.vstring(
33 'TrackerHitsPixelBarrelHighTof',
34 'TrackerHitsPixelBarrelLowTof',
35 'TrackerHitsPixelEndcapHighTof',
36 'TrackerHitsPixelEndcapLowTof',
37 'TrackerHitsTECHighTof',
38 'TrackerHitsTECLowTof',
39 'TrackerHitsTIBHighTof',
40 'TrackerHitsTIBLowTof',
41 'TrackerHitsTIDHighTof',
42 'TrackerHitsTIDLowTof',
43 'TrackerHitsTOBHighTof',
44 'TrackerHitsTOBLowTof' 46 input = cms.VInputTag(
47 cms.InputTag(
"g4SimHits",
"MuonCSCHits"),
48 cms.InputTag(
"g4SimHits",
"MuonDTHits"),
49 cms.InputTag(
"g4SimHits",
"MuonRPCHits"),
50 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelHighTof"),
51 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelLowTof"),
52 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapHighTof"),
53 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapLowTof"),
54 cms.InputTag(
"g4SimHits",
"TrackerHitsTECHighTof"),
55 cms.InputTag(
"g4SimHits",
"TrackerHitsTECLowTof"),
56 cms.InputTag(
"g4SimHits",
"TrackerHitsTIBHighTof"),
57 cms.InputTag(
"g4SimHits",
"TrackerHitsTIBLowTof"),
58 cms.InputTag(
"g4SimHits",
"TrackerHitsTIDHighTof"),
59 cms.InputTag(
"g4SimHits",
"TrackerHitsTIDLowTof"),
60 cms.InputTag(
"g4SimHits",
"TrackerHitsTOBHighTof"),
61 cms.InputTag(
"g4SimHits",
"TrackerHitsTOBLowTof"),
63 type = cms.string(
'PSimHit'),
64 subdets = cms.vstring(
68 'TrackerHitsPixelBarrelHighTof',
69 'TrackerHitsPixelBarrelLowTof',
70 'TrackerHitsPixelEndcapHighTof',
71 'TrackerHitsPixelEndcapLowTof',
72 'TrackerHitsTECHighTof',
73 'TrackerHitsTECLowTof',
74 'TrackerHitsTIBHighTof',
75 'TrackerHitsTIBLowTof',
76 'TrackerHitsTIDHighTof',
77 'TrackerHitsTIDLowTof',
78 'TrackerHitsTOBHighTof',
79 'TrackerHitsTOBLowTof' 83 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
84 makeCrossingFrame = cms.untracked.bool(
True),
85 type = cms.string(
'SimTrack')
90 mixObjects_dt_csc_rpc_trk = cms.PSet(
92 crossingFrames = cms.untracked.vstring(),
93 input = cms.VInputTag(),
94 type = cms.string(
'PCaloHit'),
95 subdets = cms.vstring()
98 input = cms.VInputTag(cms.InputTag(
"generatorSmeared"),cms.InputTag(
"generator")),
99 makeCrossingFrame = cms.untracked.bool(
True),
100 type = cms.string(
'HepMCProduct')
102 mixVertices = cms.PSet(
103 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
104 makeCrossingFrame = cms.untracked.bool(
True),
105 type = cms.string(
'SimVertex')
108 crossingFrames = cms.untracked.vstring(
112 'TrackerHitsPixelBarrelHighTof',
113 'TrackerHitsPixelBarrelLowTof',
114 'TrackerHitsPixelEndcapHighTof',
115 'TrackerHitsPixelEndcapLowTof',
116 'TrackerHitsTECHighTof',
117 'TrackerHitsTECLowTof',
118 'TrackerHitsTIBHighTof',
119 'TrackerHitsTIBLowTof',
120 'TrackerHitsTIDHighTof',
121 'TrackerHitsTIDLowTof',
122 'TrackerHitsTOBHighTof',
123 'TrackerHitsTOBLowTof' 125 input = cms.VInputTag(
126 cms.InputTag(
"g4SimHits",
"MuonCSCHits"),
127 cms.InputTag(
"g4SimHits",
"MuonDTHits"),
128 cms.InputTag(
"g4SimHits",
"MuonRPCHits"),
129 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelHighTof"),
130 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelLowTof"),
131 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapHighTof"),
132 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapLowTof"),
133 cms.InputTag(
"g4SimHits",
"TrackerHitsTECHighTof"),
134 cms.InputTag(
"g4SimHits",
"TrackerHitsTECLowTof"),
135 cms.InputTag(
"g4SimHits",
"TrackerHitsTIBHighTof"),
136 cms.InputTag(
"g4SimHits",
"TrackerHitsTIBLowTof"),
137 cms.InputTag(
"g4SimHits",
"TrackerHitsTIDHighTof"),
138 cms.InputTag(
"g4SimHits",
"TrackerHitsTIDLowTof"),
139 cms.InputTag(
"g4SimHits",
"TrackerHitsTOBHighTof"),
140 cms.InputTag(
"g4SimHits",
"TrackerHitsTOBLowTof"),
142 type = cms.string(
'PSimHit'),
143 subdets = cms.vstring(
147 'TrackerHitsPixelBarrelHighTof',
148 'TrackerHitsPixelBarrelLowTof',
149 'TrackerHitsPixelEndcapHighTof',
150 'TrackerHitsPixelEndcapLowTof',
151 'TrackerHitsTECHighTof',
152 'TrackerHitsTECLowTof',
153 'TrackerHitsTIBHighTof',
154 'TrackerHitsTIBLowTof',
155 'TrackerHitsTIDHighTof',
156 'TrackerHitsTIDLowTof',
157 'TrackerHitsTOBHighTof',
158 'TrackerHitsTOBLowTof' 161 mixTracks = cms.PSet(
162 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
163 makeCrossingFrame = cms.untracked.bool(
True),
164 type = cms.string(
'SimTrack')
174 process.mix.digitizers = digitizers = cms.PSet()
175 digi_aliases =
filter(
lambda n:
'Digi' in n, process.aliases.keys())
176 for a
in digi_aliases: process.__delattr__(a)
177 process.mix.mixObjects = mixObjects_dt_csc_rpc
187 process.mix.digitizers = digitizers = cms.PSet(
195 process.mix.theDigitizersValid = cms.PSet(
205 process.simCastorDigis = cms.EDAlias()
206 process.simEcalUnsuppressedDigis = cms.EDAlias()
207 process.simHcalUnsuppressedDigis = cms.EDAlias()
209 digi_aliases =
filter(
lambda n:
'Digi' in n, process.aliases.keys())
210 print(
"digi aliases before clean up: ")
211 for a
in digi_aliases:
213 if (
'Strip' not in a)
and (
'Pixel' not in a):
214 process.__delattr__(a)
215 process.mix.mixObjects = mixObjects_dt_csc_rpc_trk
236 process.muonDigi = cms.Sequence(
237 process.simMuonCSCDigis +
238 process.simMuonDTDigis +
239 process.simMuonRPCDigis +
240 process.simMuonGEMDigis +
241 process.simMuonGEMPadDigis +
242 process.simMuonGEMPadDigiClusters
244 process.pdigi = cms.Sequence(
245 cms.SequencePlaceholder(
"randomEngineStateProducer")*
246 cms.SequencePlaceholder(
"mix")*
257 process.muonDigi = cms.Sequence(
258 process.simMuonCSCDigis +
259 process.simMuonDTDigis +
260 process.simMuonRPCDigis +
261 process.simMuonGEMDigis +
262 process.simMuonGEMPadDigis
264 process.pdigi = cms.Sequence(
265 cms.SequencePlaceholder(
"randomEngineStateProducer")*
266 cms.SequencePlaceholder(
"mix")*
279 process.mix.mixObjects.mixSH.crossingFrames.append(
'MuonGEMHits')
280 process.mix.mixObjects.mixSH.input.append(cms.InputTag(
"g4SimHits",
"MuonGEMHits"))
281 process.mix.mixObjects.mixSH.subdets.append(
'MuonGEMHits')
287 process.mix.mixObjects.mixSH.crossingFrames.append(
'MuonME0Hits')
288 process.mix.mixObjects.mixSH.input.append(cms.InputTag(
"g4SimHits",
"MuonME0Hits"))
289 process.mix.mixObjects.mixSH.subdets.append(
'MuonME0Hits')
311 process.RandomNumberGeneratorService.simMuonGEMDigis = cms.PSet(
312 initialSeed = cms.untracked.uint32(1234567),
313 engineName = cms.untracked.string(
'HepJamesRandom')
320 process.RandomNumberGeneratorService.simMuonME0Digis = cms.PSet(
321 initialSeed = cms.untracked.uint32(1234567),
322 engineName = cms.untracked.string(
'HepJamesRandom')
329 process.load(
'SimMuon.GEMDigitizer.muonGEMDigi_cff')
335 process.load(
'SimMuon.GEMDigitizer.muonME0DigisPreReco_cfi')
344 process.doAllDigi = cms.Sequence(
348 process.pdigi = cms.Sequence(
349 cms.SequencePlaceholder(
"randomEngineStateProducer")*
350 cms.SequencePlaceholder(
"mix")*
352 process.addPileupInfo
363 process.pdigi = cms.Sequence(
364 cms.SequencePlaceholder(
"randomEngineStateProducer")*
365 cms.SequencePlaceholder(
"mix")*
366 process.simMuonGEMDigis*
367 process.simMuonGEMPadDigis
381 process.muonDigi = cms.Sequence(
382 process.simMuonCSCDigis +
383 process.simMuonDTDigis +
384 process.simMuonRPCDigis +
385 process.simMuonGEMDigis +
386 process.simMuonGEMPadDigis +
387 process.simMuonME0Digis
389 process.doAllDigi = cms.Sequence(
393 process.pdigi = cms.Sequence(
394 cms.SequencePlaceholder(
"randomEngineStateProducer")*
395 cms.SequencePlaceholder(
"mix")*
397 process.addPileupInfo
410 process.muonDigi = cms.Sequence(
411 process.simMuonCSCDigis +
412 process.simMuonDTDigis +
413 process.simMuonRPCDigis +
414 process.simMuonGEMDigis +
415 process.simMuonGEMPadDigis +
416 process.simMuonME0Digis
418 process.pdigi = cms.Sequence(
419 cms.SequencePlaceholder(
"randomEngineStateProducer")*
420 cms.SequencePlaceholder(
"mix")*
434 process.pdigi = cms.Sequence(
435 cms.SequencePlaceholder(
"randomEngineStateProducer")*
436 cms.SequencePlaceholder(
"mix")*
437 process.simMuonGEMDigis*
438 process.simMuonGEMPadDigis*
439 process.simMuonME0Digis
447 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
450 if hasattr(process,b):
451 getattr(process,b).outputCommands.append(
'drop *')
453 getattr(process,b).outputCommands.append(
'keep *_g4SimHits__*')
454 getattr(process,b).outputCommands.append(
'keep *_g4SimHits_Muon*_*')
455 getattr(process,b).outputCommands.append(
'keep *_g4SimHits_Tracker*_*')
456 getattr(process,b).outputCommands.append(
'keep *_generator_*_*')
457 getattr(process,b).outputCommands.append(
'keep *_genParticles_*_*')
458 getattr(process,b).outputCommands.append(
'keep *_*Muon*_*_*')
459 getattr(process,b).outputCommands.append(
'keep *_*Strip*_*_*')
460 getattr(process,b).outputCommands.append(
'keep *_*Pixel*_*_*')
469 process.simMuonGEMDigis.doBkgNoise =
False 473 process.simMuonGEMDigis.rateFact = 1
def customize_mix_addME0(process)
def customize_digi_addGEM_muon_only(process)
def customize_mix_addGEM_nocalo(process)
def load_ME0_digitizers(process)
load the digitizer and pad producer
def customize_mix_nocalo(process)
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
def customize_digi_addGEM_gem_only(process)
def customize_mix_addGEM_addME0_muon_only(process)
def customize_random_GEMDigi(process)
def customize_digi_addGEM_addME0_gem_only(process)
def customize_random_ME0Digi(process)
def customize_mix_muon_only(process)
def customize_digi_noGEMsafety(process)
def customize_digi_addGEM(process)
def customize_digi_addGEM_addME0_muon_only(process)
def append_GEMDigi_event(process)
def customize_digi_noGEMbkg(process)
def customize_digi_addGEM_addME0(process)
def customize_mix_addGEM_addME0_nocalo(process)
def customize_mix_addGEM(process)
def customize_mix_addGEM_muon_only(process)
def customize_digi_addGEM_nocalo(process)
def load_GEM_digitizers(process)
load the digitizer and pad producer