1 import FWCore.ParameterSet.Config
as cms
4 muonAssociatorByHitsCommonParameters = cms.PSet(
5 dumpInputCollections = cms.untracked.bool(
False),
10 includeZeroHitMuons = cms.bool(
True),
13 acceptOneStubMatchings = cms.bool(
True),
16 UseTracker = cms.bool(
True),
17 UseMuon = cms.bool(
True),
20 AbsoluteNumberOfHits_muon = cms.bool(
False),
21 NHitCut_muon = cms.uint32(0),
22 EfficiencyCut_muon = cms.double(0.),
23 PurityCut_muon = cms.double(0.),
26 AbsoluteNumberOfHits_track = cms.bool(
False),
27 NHitCut_track = cms.uint32(0),
28 EfficiencyCut_track = cms.double(0.),
29 PurityCut_track = cms.double(0.),
32 UsePixels = cms.bool(
True),
33 UseGrouped = cms.bool(
True),
34 UseSplitting = cms.bool(
True),
35 ThreeHitTracksAreSpecial = cms.bool(
False),
38 crossingframe = cms.bool(
False),
39 simtracksTag = cms.InputTag(
"g4SimHits"),
40 simtracksXFTag = cms.InputTag(
"mix",
"g4SimHits"),
42 DTsimhitsTag = cms.InputTag(
"g4SimHits",
"MuonDTHits"),
43 DTsimhitsXFTag = cms.InputTag(
"mix",
"g4SimHitsMuonDTHits"),
44 DTdigiTag = cms.InputTag(
"simMuonDTDigis"),
45 DTdigisimlinkTag = cms.InputTag(
"simMuonDTDigis"),
46 DTrechitTag = cms.InputTag(
"dt1DRecHits"),
48 dumpDT = cms.bool(
False),
49 links_exist = cms.bool(
True),
50 associatorByWire = cms.bool(
False),
53 CSCsimHitsTag = cms.InputTag(
"g4SimHits",
"MuonCSCHits"),
54 CSCsimHitsXFTag = cms.InputTag(
"mix",
"g4SimHitsMuonCSCHits"),
55 CSClinksTag = cms.InputTag(
"simMuonCSCDigis",
"MuonCSCStripDigiSimLinks"),
56 CSCwireLinksTag = cms.InputTag(
"simMuonCSCDigis",
"MuonCSCWireDigiSimLinks"),
59 RPCsimhitsTag = cms.InputTag(
"g4SimHits",
"MuonRPCHits"),
60 RPCsimhitsXFTag = cms.InputTag(
"mix",
"g4SimHitsMuonRPCHits"),
61 RPCdigisimlinkTag = cms.InputTag(
"simMuonRPCDigis",
"RPCDigiSimLink"),
65 associatePixel = cms.bool(
True),
66 associateStrip = cms.bool(
True),
67 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis"),
68 stripSimLinkSrc = cms.InputTag(
"simSiStripDigis"),
69 associateRecoTracks = cms.bool(
True),
71 ROUList = cms.vstring(
'TrackerHitsTIBLowTof',
72 'TrackerHitsTIBHighTof',
73 'TrackerHitsTIDLowTof',
74 'TrackerHitsTIDHighTof',
75 'TrackerHitsTOBLowTof',
76 'TrackerHitsTOBHighTof',
77 'TrackerHitsTECLowTof',
78 'TrackerHitsTECHighTof',
79 'TrackerHitsPixelBarrelLowTof',
80 'TrackerHitsPixelBarrelHighTof',
81 'TrackerHitsPixelEndcapLowTof',
82 'TrackerHitsPixelEndcapHighTof'),
85 inputDTRecSegment4DCollection = cms.InputTag(
"dt4DSegments"),
86 inputCSCSegmentCollection = cms.InputTag(
"cscSegments"),
89 muonAssociatorByHits = cms.EDProducer(
"MuonAssociatorEDProducer",
91 muonAssociatorByHitsCommonParameters,
102 tracksTag = cms.InputTag(
"globalMuons"),
116 tpTag = cms.InputTag(
"mix",
"MergedTrackTruth"),
117 ignoreMissingTrackCollection = cms.untracked.bool(
False),
120 from Configuration.StandardSequences.Eras
import eras
121 if eras.fastSim.isChosen():
122 muonAssociatorByHits.simtracksTag =
"famosSimHits"
123 muonAssociatorByHits.DTsimhitsTag =
"MuonSimHits:MuonDTHits"
124 muonAssociatorByHits.CSCsimHitsTag =
"MuonSimHits:MuonCSCHits"
125 muonAssociatorByHits.RPCsimhitsTag =
"MuonSimHits:MuonRPCHits"
126 muonAssociatorByHits.simtracksXFTag =
"mix:famosSimHits"
127 muonAssociatorByHits.DTsimhitsXFTag =
"mix:MuonSimHitsMuonDTHits"
128 muonAssociatorByHits.CSCsimHitsXFTag =
"mix:MuonSimHitsMuonCSCHits"
129 muonAssociatorByHits.RPCsimhitsXFTag =
"mix:MuonSimHitsMuonRPCHits"
130 muonAssociatorByHits.ROUList = [
'famosSimHitsTrackerHits']