1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.StandardSequences.Eras
import eras
7 cms.InputTag(
"g4SimHits",
"MuonCSCHits"), cms.InputTag(
"g4SimHits",
"MuonDTHits"), cms.InputTag(
"g4SimHits",
"MuonRPCHits"),
9 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsPixelBarrelLowTof"),
10 cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsPixelEndcapLowTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTECHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTECLowTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTIBHighTof"),
11 cms.InputTag(
"g4SimHits",
"TrackerHitsTIBLowTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTIDHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTIDLowTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTOBHighTof"), cms.InputTag(
"g4SimHits",
"TrackerHitsTOBLowTof")),
12 type = cms.string(
'PSimHit'),
13 subdets = cms.vstring(
24 'TrackerHitsPixelBarrelHighTof',
25 'TrackerHitsPixelBarrelLowTof',
26 'TrackerHitsPixelEndcapHighTof',
27 'TrackerHitsPixelEndcapLowTof',
28 'TrackerHitsTECHighTof',
29 'TrackerHitsTECLowTof',
30 'TrackerHitsTIBHighTof',
31 'TrackerHitsTIBLowTof',
32 'TrackerHitsTIDHighTof',
33 'TrackerHitsTIDLowTof',
34 'TrackerHitsTOBHighTof',
35 'TrackerHitsTOBLowTof'),
36 crossingFrames = cms.untracked.vstring(
54 if eras.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 eras.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 eras.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 eras.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')