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(
53 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
54 fastSim.toModify(mixSimHits,
55 input = [
"MuonSimHits:MuonCSCHits",
56 "MuonSimHits:MuonDTHits",
57 "MuonSimHits:MuonRPCHits",
58 "fastSimProducer:TrackerHits"],
59 subdets = [
'MuonCSCHits',
65 mixCaloHits = cms.PSet(
66 input = cms.VInputTag(
68 cms.InputTag(
"g4SimHits",
"CastorFI"),
69 cms.InputTag(
"g4SimHits",
"EcalHitsEB"), cms.InputTag(
"g4SimHits",
"EcalHitsEE"), cms.InputTag(
"g4SimHits",
"EcalHitsES"),
71 cms.InputTag(
"g4SimHits",
"HcalHits"),
72 cms.InputTag(
"g4SimHits",
"ZDCHITS")),
73 type = cms.string(
'PCaloHit'),
74 subdets = cms.vstring(
87 crossingFrames = cms.untracked.vstring()
91 fastSim.toModify(mixCaloHits,
92 input = [
"fastSimProducer:EcalHitsEB",
93 "fastSimProducer:EcalHitsEE",
94 "fastSimProducer:EcalHitsES",
95 "fastSimProducer:HcalHits"],
96 subdets = [
'EcalHitsEB',
102 mixSimTracks = cms.PSet(
103 makeCrossingFrame = cms.untracked.bool(
False),
104 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
105 type = cms.string(
'SimTrack')
107 mixSimVertices = cms.PSet(
108 makeCrossingFrame = cms.untracked.bool(
False),
109 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
110 type = cms.string(
'SimVertex')
114 fastSim.toModify(mixSimTracks, input = [
"fastSimProducer"])
115 fastSim.toModify(mixSimVertices, input = [
"fastSimProducer"])
117 mixHepMCProducts = cms.PSet(
118 makeCrossingFrame = cms.untracked.bool(
True),
119 input = cms.VInputTag(cms.InputTag(
"generatorSmeared"),cms.InputTag(
"generator")),
120 type = cms.string(
'HepMCProduct')
124 mixReconstructedTracks = cms.PSet(
125 input = cms.VInputTag(cms.InputTag(
"generalTracksBeforeMixing")),
126 type = cms.string(
'RecoTrack')
129 theMixObjects = cms.PSet(
133 mixTracks = cms.PSet(
136 mixVertices = cms.PSet(
148 fastSim.toModify(theMixObjects, mixRecoTracks = cms.PSet(mixReconstructedTracks))
150 mixPCFSimHits = cms.PSet(
151 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"),
152 cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsRP"), cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsT1"), cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsT2Gem"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelBarrelHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelBarrelLowTof"),
153 cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelEndcapHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelEndcapLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTECHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTECLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIBHighTof"),
154 cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIBLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIDHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIDLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTOBHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTOBLowTof")),
155 type = cms.string(
'PSimHitPCrossingFrame'),
156 subdets = cms.vstring(
'BSCHits',
166 'TrackerHitsPixelBarrelHighTof',
167 'TrackerHitsPixelBarrelLowTof',
168 'TrackerHitsPixelEndcapHighTof',
169 'TrackerHitsPixelEndcapLowTof',
170 'TrackerHitsTECHighTof',
171 'TrackerHitsTECLowTof',
172 'TrackerHitsTIBHighTof',
173 'TrackerHitsTIBLowTof',
174 'TrackerHitsTIDHighTof',
175 'TrackerHitsTIDLowTof',
176 'TrackerHitsTOBHighTof',
177 'TrackerHitsTOBLowTof')
180 mixPCFCaloHits = cms.PSet(
181 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHitsCaloHitsTk"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorBU"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorFI"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorPL"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorTU"),
182 cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsEB"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsEE"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsES"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalTBH4BeamHits"), cms.InputTag(
"CFWriter",
"g4SimHitsHcalHits"),
183 cms.InputTag(
"CFWriter",
"g4SimHitsHcalTB06BeamHits"), cms.InputTag(
"CFWriter",
"g4SimHitsZDCHITS")),
184 type = cms.string(
'PCaloHitPCrossingFrame'),
185 subdets = cms.vstring(
'CaloHitsTk',
199 mixPCFSimTracks = cms.PSet(
200 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHits")),
201 type = cms.string(
'SimTrackPCrossingFrame')
204 mixPCFSimVertices = cms.PSet(
205 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHits")),
206 type = cms.string(
'SimVertexPCrossingFrame')
209 mixPCFHepMCProducts = cms.PSet(
210 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"generator")),
211 type = cms.string(
'HepMCProductPCrossingFrame')
216 from Configuration.Eras.Modifier_run2_GEM_2017_cff
import run2_GEM_2017
217 run2_GEM_2017.toModify( theMixObjects,
219 input = theMixObjects.mixSH.input + [ cms.InputTag(
"g4SimHits",
"MuonGEMHits") ],
220 subdets = theMixObjects.mixSH.subdets + [
'MuonGEMHits' ],
221 crossingFrames = theMixObjects.mixSH.crossingFrames + [
'MuonGEMHits' ]
224 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
225 run3_GEM.toModify( theMixObjects,
227 input = theMixObjects.mixSH.input + [ cms.InputTag(
"g4SimHits",
"MuonGEMHits") ],
228 subdets = theMixObjects.mixSH.subdets + [
'MuonGEMHits' ],
229 crossingFrames = theMixObjects.mixSH.crossingFrames + [
'MuonGEMHits' ]
232 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
233 phase2_muon.toModify( theMixObjects,
235 input = theMixObjects.mixSH.input + [ cms.InputTag(
"g4SimHits",
"MuonME0Hits") ],
236 subdets = theMixObjects.mixSH.subdets + [
'MuonME0Hits' ],
237 crossingFrames = theMixObjects.mixSH.crossingFrames + [
'MuonME0Hits' ]
240 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
241 phase2_hgcal.toModify( theMixObjects,
243 input = theMixObjects.mixCH.input + [ cms.InputTag(
"g4SimHits",hgceeDigitizer.hitCollection.value()),
244 cms.InputTag(
"g4SimHits",hgchefrontDigitizer.hitCollection.value()) ],
245 subdets = theMixObjects.mixCH.subdets + [ hgceeDigitizer.hitCollection.value(),
246 hgchefrontDigitizer.hitCollection.value() ]
250 from Configuration.Eras.Modifier_phase2_timing_layer_cff
import phase2_timing_layer
251 phase2_timing_layer.toModify( theMixObjects,
253 input = theMixObjects.mixSH.input + [ cms.InputTag(
"g4SimHits",
"FastTimerHitsBarrel"), cms.InputTag(
"g4SimHits",
"FastTimerHitsEndcap") ],
254 subdets = theMixObjects.mixSH.subdets + [
'FastTimerHitsBarrel',
'FastTimerHitsEndcap' ],
255 crossingFrames = theMixObjects.mixSH.crossingFrames + [
'FastTimerHitsBarrel',
'FastTimerHitsEndcap' ]