1 import FWCore.ParameterSet.Config
as cms
6 cms.InputTag(
"g4SimHits",
"MuonCSCHits"), cms.InputTag(
"g4SimHits",
"MuonDTHits"), cms.InputTag(
"g4SimHits",
"MuonRPCHits"),
8 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelLowTof"),
9 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapLowTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTECHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTECLowTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTIBHighTof"),
10 cms.InputTag(
"g4SimHits",
"TrackerHitsTIBLowTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTIDHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTIDLowTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTOBHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTOBLowTof")),
11 type = cms.string(
'PSimHit'),
12 subdets = cms.vstring(
23 'TrackerHitsPixelBarrelHighTof',
24 'TrackerHitsPixelBarrelLowTof',
25 'TrackerHitsPixelEndcapHighTof',
26 'TrackerHitsPixelEndcapLowTof',
27 'TrackerHitsTECHighTof',
28 'TrackerHitsTECLowTof',
29 'TrackerHitsTIBHighTof',
30 'TrackerHitsTIBLowTof',
31 'TrackerHitsTIDHighTof',
32 'TrackerHitsTIDLowTof',
33 'TrackerHitsTOBHighTof',
34 'TrackerHitsTOBLowTof'),
35 crossingFrames = cms.untracked.vstring(
50 pcrossingFrames = cms.untracked.vstring()
52 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
53 premix_stage1.toModify(mixSimHits,
62 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
63 fastSim.toModify(mixSimHits,
64 input = [
"MuonSimHits:MuonCSCHits",
65 "MuonSimHits:MuonDTHits",
66 "MuonSimHits:MuonRPCHits",
67 "fastSimProducer:TrackerHits"],
68 subdets = [
'MuonCSCHits',
74 mixCaloHits = cms.PSet(
75 input = cms.VInputTag(
77 cms.InputTag(
"g4SimHits",
"CastorFI"),
78 cms.InputTag(
"g4SimHits",
"EcalHitsEB"), cms.InputTag(
"g4SimHits",
"EcalHitsEE"), cms.InputTag(
"g4SimHits",
"EcalHitsES"),
80 cms.InputTag(
"g4SimHits",
"HcalHits"),
81 cms.InputTag(
"g4SimHits",
"ZDCHITS")),
82 type = cms.string(
'PCaloHit'),
83 subdets = cms.vstring(
96 crossingFrames = cms.untracked.vstring()
100 fastSim.toModify(mixCaloHits,
101 input = [
"fastSimProducer:EcalHitsEB",
102 "fastSimProducer:EcalHitsEE",
103 "fastSimProducer:EcalHitsES",
104 "fastSimProducer:HcalHits"],
105 subdets = [
'EcalHitsEB',
112 mixSimTracks = cms.PSet(
113 makeCrossingFrame = cms.untracked.bool(
False),
114 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
115 type = cms.string(
'SimTrack')
117 mixSimVertices = cms.PSet(
118 makeCrossingFrame = cms.untracked.bool(
False),
119 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
120 type = cms.string(
'SimVertex')
124 fastSim.toModify(mixSimTracks, input = [
"fastSimProducer"])
125 fastSim.toModify(mixSimVertices, input = [
"fastSimProducer"])
127 mixHepMCProducts = cms.PSet(
128 makeCrossingFrame = cms.untracked.bool(
True),
129 input = cms.VInputTag(cms.InputTag(
"generatorSmeared"),cms.InputTag(
"generator")),
130 type = cms.string(
'HepMCProduct')
134 mixReconstructedTracks = cms.PSet(
135 input = cms.VInputTag(cms.InputTag(
"generalTracksBeforeMixing")),
136 type = cms.string(
'RecoTrack')
139 theMixObjects = cms.PSet(
143 mixTracks = cms.PSet(
146 mixVertices = cms.PSet(
158 fastSim.toModify(theMixObjects, mixRecoTracks = cms.PSet(mixReconstructedTracks))
160 mixPCFSimHits = cms.PSet(
161 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHitsBSCHits"), cms.InputTag(
"CFWriter",
"g4SimHitsBCM1FHits"), cms.InputTag(
"CFWriter",
"g4SimHitsPLTHits"), cms.InputTag(
"CFWriter",
"g4SimHitsFP420SI"), cms.InputTag(
"CFWriter",
"g4SimHitsMuonCSCHits"), cms.InputTag(
"CFWriter",
"g4SimHitsMuonDTHits"), cms.InputTag(
"CFWriter",
"g4SimHitsMuonRPCHits"),
162 cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsRP"), cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsT1"), cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsT2Gem"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelBarrelHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelBarrelLowTof"),
163 cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelEndcapHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelEndcapLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTECHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTECLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIBHighTof"),
164 cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIBLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIDHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIDLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTOBHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTOBLowTof")),
165 type = cms.string(
'PSimHitPCrossingFrame'),
166 subdets = cms.vstring(
'BSCHits',
176 'TrackerHitsPixelBarrelHighTof',
177 'TrackerHitsPixelBarrelLowTof',
178 'TrackerHitsPixelEndcapHighTof',
179 'TrackerHitsPixelEndcapLowTof',
180 'TrackerHitsTECHighTof',
181 'TrackerHitsTECLowTof',
182 'TrackerHitsTIBHighTof',
183 'TrackerHitsTIBLowTof',
184 'TrackerHitsTIDHighTof',
185 'TrackerHitsTIDLowTof',
186 'TrackerHitsTOBHighTof',
187 'TrackerHitsTOBLowTof')
190 mixPCFCaloHits = cms.PSet(
191 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHitsCaloHitsTk"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorBU"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorFI"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorPL"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorTU"),
192 cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsEB"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsEE"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsES"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalTBH4BeamHits"), cms.InputTag(
"CFWriter",
"g4SimHitsHcalHits"),
193 cms.InputTag(
"CFWriter",
"g4SimHitsHcalTB06BeamHits"), cms.InputTag(
"CFWriter",
"g4SimHitsZDCHITS")),
194 type = cms.string(
'PCaloHitPCrossingFrame'),
195 subdets = cms.vstring(
'CaloHitsTk',
209 mixPCFSimTracks = cms.PSet(
210 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHits")),
211 type = cms.string(
'SimTrackPCrossingFrame')
214 mixPCFSimVertices = cms.PSet(
215 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHits")),
216 type = cms.string(
'SimVertexPCrossingFrame')
219 mixPCFHepMCProducts = cms.PSet(
220 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"generator")),
221 type = cms.string(
'HepMCProductPCrossingFrame')
226 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
227 run2_GEM_2017.toModify( theMixObjects,
229 input = theMixObjects.mixSH.input + [ cms.InputTag(
"g4SimHits",
"MuonGEMHits") ],
230 subdets = theMixObjects.mixSH.subdets + [
'MuonGEMHits' ],
231 crossingFrames = theMixObjects.mixSH.crossingFrames + [
'MuonGEMHits' ]
234 (premix_stage1 & run2_GEM_2017).toModify(theMixObjects,
236 pcrossingFrames = theMixObjects.mixSH.pcrossingFrames + [
'MuonGEMHits' ]
239 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
240 run3_GEM.toModify( theMixObjects,
242 input = theMixObjects.mixSH.input + [ cms.InputTag(
"g4SimHits",
"MuonGEMHits") ],
243 subdets = theMixObjects.mixSH.subdets + [
'MuonGEMHits' ],
244 crossingFrames = theMixObjects.mixSH.crossingFrames + [
'MuonGEMHits' ]
247 (premix_stage1 & run3_GEM).toModify(theMixObjects,
249 pcrossingFrames = theMixObjects.mixSH.pcrossingFrames + [
'MuonGEMHits' ]
252 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
253 phase2_muon.toModify( theMixObjects,
255 input = theMixObjects.mixSH.input + [ cms.InputTag(
"g4SimHits",
"MuonME0Hits") ],
256 subdets = theMixObjects.mixSH.subdets + [
'MuonME0Hits' ],
257 crossingFrames = theMixObjects.mixSH.crossingFrames + [
'MuonME0Hits' ]
260 (premix_stage1 & phase2_muon).toModify(theMixObjects,
262 pcrossingFrames = theMixObjects.mixSH.pcrossingFrames + [
'MuonME0Hits' ]
265 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
266 phase2_hgcal.toModify( theMixObjects,
268 input = theMixObjects.mixCH.input + [ cms.InputTag(
"g4SimHits",hgceeDigitizer.hitCollection.value()),
269 cms.InputTag(
"g4SimHits",hgchefrontDigitizer.hitCollection.value()) ],
270 subdets = theMixObjects.mixCH.subdets + [ hgceeDigitizer.hitCollection.value(),
271 hgchefrontDigitizer.hitCollection.value() ],
274 from Configuration.Eras.Modifier_phase2_hgcalV9_cff
import phase2_hgcalV9
275 phase2_hgcalV9.toModify( theMixObjects,
277 input = theMixObjects.mixCH.input + [ cms.InputTag(
"g4SimHits",hgchebackDigitizer.hitCollection.value()) ],
278 subdets = theMixObjects.mixCH.subdets + [ hgchebackDigitizer.hitCollection.value() ],
281 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
282 phase2_hfnose.toModify( theMixObjects,
284 input = theMixObjects.mixCH.input + [ cms.InputTag(
"g4SimHits",hfnoseDigitizer.hitCollection.value()) ],
285 subdets = theMixObjects.mixCH.subdets + [ hfnoseDigitizer.hitCollection.value() ],
289 from Configuration.Eras.Modifier_phase2_timing_layer_cff
import phase2_timing_layer
290 phase2_timing_layer.toModify( theMixObjects,
292 input = theMixObjects.mixSH.input + [ cms.InputTag(
"g4SimHits",
"FastTimerHitsBarrel"), cms.InputTag(
"g4SimHits",
"FastTimerHitsEndcap") ],
293 subdets = theMixObjects.mixSH.subdets + [
'FastTimerHitsBarrel',
'FastTimerHitsEndcap' ],
294 crossingFrames = theMixObjects.mixSH.crossingFrames + [
'FastTimerHitsBarrel',
'FastTimerHitsEndcap' ]