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 if fastSim.isChosen():
55 mixSimHits.input = cms.VInputTag(
56 cms.InputTag(
"MuonSimHits",
"MuonCSCHits"),
57 cms.InputTag(
"MuonSimHits",
"MuonDTHits"),
58 cms.InputTag(
"MuonSimHits",
"MuonRPCHits"),
59 cms.InputTag(
"famosSimHits",
"TrackerHits"))
60 mixSimHits.subdets = cms.vstring(
66 mixCaloHits = cms.PSet(
67 input = cms.VInputTag(
69 cms.InputTag(
"g4SimHits",
"CastorFI"),
70 cms.InputTag(
"g4SimHits",
"EcalHitsEB"), cms.InputTag(
"g4SimHits",
"EcalHitsEE"), cms.InputTag(
"g4SimHits",
"EcalHitsES"),
72 cms.InputTag(
"g4SimHits",
"HcalHits"),
73 cms.InputTag(
"g4SimHits",
"ZDCHITS")),
74 type = cms.string(
'PCaloHit'),
75 subdets = cms.vstring(
88 crossingFrames = cms.untracked.vstring()
92 if fastSim.isChosen():
93 mixCaloHits.input = cms.VInputTag(
94 cms.InputTag(
"famosSimHits",
"EcalHitsEB"),
95 cms.InputTag(
"famosSimHits",
"EcalHitsEE"),
96 cms.InputTag(
"famosSimHits",
"EcalHitsES"),
97 cms.InputTag(
"famosSimHits",
"HcalHits"))
98 mixCaloHits.subdets = cms.vstring(
105 mixSimTracks = cms.PSet(
106 makeCrossingFrame = cms.untracked.bool(
False),
107 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
108 type = cms.string(
'SimTrack')
110 mixSimVertices = cms.PSet(
111 makeCrossingFrame = cms.untracked.bool(
False),
112 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
113 type = cms.string(
'SimVertex')
117 if fastSim.isChosen():
118 mixSimTracks.input = cms.VInputTag(cms.InputTag(
"famosSimHits"))
119 mixSimVertices.input = cms.VInputTag(cms.InputTag(
"famosSimHits"))
121 mixHepMCProducts = cms.PSet(
122 makeCrossingFrame = cms.untracked.bool(
False),
123 input = cms.VInputTag(cms.InputTag(
"generatorSmeared"),cms.InputTag(
"generator")),
124 type = cms.string(
'HepMCProduct')
128 mixReconstructedTracks = cms.PSet(
129 input = cms.VInputTag(cms.InputTag(
"generalTracksBeforeMixing")),
130 type = cms.string(
'RecoTrack')
133 theMixObjects = cms.PSet(
137 mixTracks = cms.PSet(
140 mixVertices = cms.PSet(
152 if fastSim.isChosen():
153 theMixObjects = cms.PSet(
155 mixRecoTracks = cms.PSet(mixReconstructedTracks)
158 mixPCFSimHits = cms.PSet(
159 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"),
160 cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsRP"), cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsT1"), cms.InputTag(
"CFWriter",
"g4SimHitsTotemHitsT2Gem"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelBarrelHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelBarrelLowTof"),
161 cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelEndcapHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsPixelEndcapLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTECHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTECLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIBHighTof"),
162 cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIBLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIDHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTIDLowTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTOBHighTof"), cms.InputTag(
"CFWriter",
"g4SimHitsTrackerHitsTOBLowTof")),
163 type = cms.string(
'PSimHitPCrossingFrame'),
164 subdets = cms.vstring(
'BSCHits',
174 'TrackerHitsPixelBarrelHighTof',
175 'TrackerHitsPixelBarrelLowTof',
176 'TrackerHitsPixelEndcapHighTof',
177 'TrackerHitsPixelEndcapLowTof',
178 'TrackerHitsTECHighTof',
179 'TrackerHitsTECLowTof',
180 'TrackerHitsTIBHighTof',
181 'TrackerHitsTIBLowTof',
182 'TrackerHitsTIDHighTof',
183 'TrackerHitsTIDLowTof',
184 'TrackerHitsTOBHighTof',
185 'TrackerHitsTOBLowTof')
188 mixPCFCaloHits = cms.PSet(
189 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHitsCaloHitsTk"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorBU"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorFI"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorPL"), cms.InputTag(
"CFWriter",
"g4SimHitsCastorTU"),
190 cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsEB"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsEE"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalHitsES"), cms.InputTag(
"CFWriter",
"g4SimHitsEcalTBH4BeamHits"), cms.InputTag(
"CFWriter",
"g4SimHitsHcalHits"),
191 cms.InputTag(
"CFWriter",
"g4SimHitsHcalTB06BeamHits"), cms.InputTag(
"CFWriter",
"g4SimHitsZDCHITS")),
192 type = cms.string(
'PCaloHitPCrossingFrame'),
193 subdets = cms.vstring(
'CaloHitsTk',
207 mixPCFSimTracks = cms.PSet(
208 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHits")),
209 type = cms.string(
'SimTrackPCrossingFrame')
212 mixPCFSimVertices = cms.PSet(
213 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"g4SimHits")),
214 type = cms.string(
'SimVertexPCrossingFrame')
217 mixPCFHepMCProducts = cms.PSet(
218 input = cms.VInputTag(cms.InputTag(
"CFWriter",
"generator")),
219 type = cms.string(
'HepMCProductPCrossingFrame')
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' ]