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.
1 import FWCore.ParameterSet.Config as cms
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.GEMsimhitsTag = ""
14 muonAssociatorByHitsNoSimHitsHelper.DTsimhitsTag = ""
15 
16 ### The following is useful when running only on RECO
17 # don't normalize on the total number of hits (which is unknown, if I don't have simHits)
18 muonAssociatorByHitsNoSimHitsHelper.AbsoluteNumberOfHits_muon = True
19 muonAssociatorByHitsNoSimHitsHelper.AbsoluteNumberOfHits_track = True
20 # use only muon system
21 muonAssociatorByHitsNoSimHitsHelper.UseTracker = False