1 import FWCore.ParameterSet.Config
as cms
3 simHitTPAssocProducer = cms.EDProducer(
"SimHitTPAssociationProducer",
4 simHitSrc = cms.VInputTag(cms.InputTag(
'g4SimHits',
'MuonDTHits'),
5 cms.InputTag(
'g4SimHits',
'MuonCSCHits'),
6 cms.InputTag(
'g4SimHits',
'MuonRPCHits'),
7 cms.InputTag(
'g4SimHits',
'TrackerHitsTIBLowTof'),
8 cms.InputTag(
'g4SimHits',
'TrackerHitsTIBHighTof'),
9 cms.InputTag(
'g4SimHits',
'TrackerHitsTIDLowTof'),
10 cms.InputTag(
'g4SimHits',
'TrackerHitsTIDHighTof'),
11 cms.InputTag(
'g4SimHits',
'TrackerHitsTOBLowTof'),
12 cms.InputTag(
'g4SimHits',
'TrackerHitsTOBHighTof'),
13 cms.InputTag(
'g4SimHits',
'TrackerHitsTECLowTof'),
14 cms.InputTag(
'g4SimHits',
'TrackerHitsTECHighTof'),
15 cms.InputTag(
'g4SimHits',
'TrackerHitsPixelBarrelLowTof'),
16 cms.InputTag(
'g4SimHits',
'TrackerHitsPixelBarrelHighTof'),
17 cms.InputTag(
'g4SimHits',
'TrackerHitsPixelEndcapLowTof'),
18 cms.InputTag(
'g4SimHits',
'TrackerHitsPixelEndcapHighTof') ),
19 trackingParticleSrc = cms.InputTag(
'mix',
'MergedTrackTruth')
22 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
23 phase2_tracker.toModify(simHitTPAssocProducer, simHitSrc = [
"g4SimHits:TrackerHitsPixelBarrelLowTof",
"g4SimHits:TrackerHitsPixelEndcapLowTof"])
25 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
26 fastSim.toModify(simHitTPAssocProducer,
27 simHitSrc = [
"fastSimProducer:TrackerHits",
28 "MuonSimHits:MuonCSCHits",
29 "MuonSimHits:MuonDTHits",
30 "MuonSimHits:MuonRPCHits"]