CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
muonAssociatorByHitsNoSimHitsHelper_cfi.py
Go to the documentation of this file.
2 
3 ## muonAssociatorByHits using only digiSimLinks (and TrackingParticles),
4 ## not accessing the PSimHits directly. Useful if you run on RECOSIM without RAWSIM
5 
6 from SimMuon.MCTruth.MuonAssociatorByHits_cfi import muonAssociatorByHitsCommonParameters
7 muonAssociatorByHitsNoSimHitsHelper = cms.EDProducer("MuonToTrackingParticleAssociatorEDProducer",
8  muonAssociatorByHitsCommonParameters
9 )
10 # don't read simhits, they're not there
11 muonAssociatorByHitsNoSimHitsHelper.CSCsimHitsTag = ""
12 muonAssociatorByHitsNoSimHitsHelper.RPCsimhitsTag = ""
13 muonAssociatorByHitsNoSimHitsHelper.DTsimhitsTag = ""
14 
15 ### The following is useful when running only on RECO
16 # don't normalize on the total number of hits (which is unknown, if I don't have simHits)
17 muonAssociatorByHitsNoSimHitsHelper.AbsoluteNumberOfHits_muon = True
18 muonAssociatorByHitsNoSimHitsHelper.AbsoluteNumberOfHits_track = True
19 # use only muon system
20 muonAssociatorByHitsNoSimHitsHelper.UseTracker = False