CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
simHitTPAssociation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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')
20 )
21 
22 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
23 phase2_tracker.toModify(simHitTPAssocProducer, simHitSrc = ["g4SimHits:TrackerHitsPixelBarrelLowTof", "g4SimHits:TrackerHitsPixelEndcapLowTof"])
24 
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"]
31 )
32 
33 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
34 premix_stage2.toModify(simHitTPAssocProducer, trackingParticleSrc = "mixData:MergedTrackTruth")