1 import FWCore.ParameterSet.Config
as cms
3 import FastSimulation.Muons.TSGFromL2_cfi
as TSG
6 process.hltL3TrajectorySeedOIS = TSG.l3seeds(
"OIState")
9 process.hltL3TrajectorySeedOIH = TSG.l3seeds(
"OIHit")
12 process.hltL3TrajectorySeedIOH = TSG.l3seeds(
"IOHit")
15 process.hltL3TrajectorySeedOIHCascade = TSG.l3seeds(
"OIHitCascade")
19 process.hltL3TrajectorySeedOIS = TSG.l3seeds(
"OIState")
20 process.hltL3TrajectorySeedOIHC = TSG.l3seeds(
"OIHitCascade")
21 process.hltL3TrajectorySeedIOHC = TSG.l3seeds(
"IOHitCascade")
25 process.hltL3TrackCandidateFromL2OIS = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
26 process.hltL3TrackCandidateFromL2OIS.src =
"hltL3TrajectorySeedOIS"
27 process.hltL3TrackCandidateFromL2OIHC = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
28 process.hltL3TrackCandidateFromL2OIHC.src =
"hltL3TrajectorySeedOIHC"
29 process.hltL3TrackCandidateFromL2IOHC = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
30 process.hltL3TrackCandidateFromL2IOHC.src =
"hltL3TrajectorySeedIOHC"
33 process.hltL3TkTracksFromL2OIS = process.hltL3TkTracksFromL2.clone()
34 process.hltL3TkTracksFromL2OIS.src =
"hltL3TrackCandidateFromL2OIS"
35 process.hltL3TkTracksFromL2OIHC = process.hltL3TkTracksFromL2.clone()
36 process.hltL3TkTracksFromL2OIHC.src =
"hltL3TrackCandidateFromL2OIHC"
37 process.hltL3TkTracksFromL2IOHC = process.hltL3TkTracksFromL2.clone()
38 process.hltL3TkTracksFromL2IOHC.src =
"hltL3TrackCandidateFromL2IOHC"
41 process.hltL3MuonsOIS = process.hltL3Muons.clone()
42 process.hltL3MuonsOIS.L3TrajBuilderParameters.tkTrajLabel =
"hltL3TkTracksFromL2OIS"
43 process.hltL3MuonsOIHC = process.hltL3Muons.clone()
44 process.hltL3MuonsOIHC.L3TrajBuilderParameters.tkTrajLabel =
"hltL3TkTracksFromL2OIHC"
45 process.hltL3MuonsIOHC = process.hltL3Muons.clone()
46 process.hltL3MuonsIOHC.L3TrajBuilderParameters.tkTrajLabel =
"hltL3TkTracksFromL2IOHC"
48 process.hltL3MuonsOICombined = cms.EDProducer(
50 labels = cms.VInputTag(
51 cms.InputTag(
"hltL3MuonsOIS"),
52 cms.InputTag(
"hltL3MuonsOIHC"),
56 process.l3MuonsAllCombined = cms.EDProducer(
58 labels = cms.VInputTag(
59 cms.InputTag(
"hltL3MuonsOIS"),
60 cms.InputTag(
"hltL3MuonsOIHC"),
61 cms.InputTag(
"hltL3MuonsIOHC")
65 process.l3TkFromL2Combination = cms.EDProducer(
67 labels = cms.VInputTag(
68 cms.InputTag(
"hltL3TkTracksFromL2OIS"),
69 cms.InputTag(
"hltL3TkTracksFromL2OIHC"),
70 cms.InputTag(
"hltL3TkTracksFromL2IOHC")
74 process.l3TkCandFromL2Combination = cms.EDProducer(
75 "L3TrackCandCombiner",
76 labels = cms.VInputTag(
77 cms.InputTag(
"hltL3TrackCandidateFromL2OIS"),
78 cms.InputTag(
"hltL3TrackCandidateFromL2OIHC"),
79 cms.InputTag(
"hltL3TrackCandidateFromL2IOHC"),
83 process.l3SeedCombination = cms.EDProducer(
84 "L3MuonTrajectorySeedCombiner",
85 labels = cms.VInputTag(
86 cms.InputTag(
"hltL3TrajectorySeedOIS"),
87 cms.InputTag(
"hltL3TrajectorySeedOIHC"),
88 cms.InputTag(
"hltL3TrajectorySeedIOHC")
92 process.HLTL3muonTkCandidateSequenceOIS = cms.Sequence(
93 process.HLTDoLocalPixelSequence +
94 process.HLTDoLocalStripSequence +
95 process.hltL3TrajectorySeedOIS +
96 process.hltL3TrackCandidateFromL2OIS
99 process.HLTL3muonrecoNocandSequenceOIS = cms.Sequence(
100 process.HLTL3muonTkCandidateSequenceOIS +
101 process.hltL3TkTracksFromL2OIS +
102 process.hltL3MuonsOIS
105 process.HLTL3muonTkCandidateSequenceOIHC = cms.Sequence(
106 process.HLTL3muonrecoNocandSequenceOIS +
107 process.hltL3TrajectorySeedOIHC +
108 process.hltL3TrackCandidateFromL2OIHC
111 process.HLTL3muonrecoNocandSequenceOIHC = cms.Sequence(
112 process.HLTL3muonTkCandidateSequenceOIHC +
113 process.hltL3TkTracksFromL2OIHC +
114 process.hltL3MuonsOIHC
117 process.HLTL3muonTkCandSequenceIOHC = cms.Sequence(
118 process.HLTL3muonrecoNocandSequenceOIHC +
119 process.hltL3MuonsOICombined +
120 process.hltL3TrajectorySeedIOHC +
121 process.hltL3TrackCandidateFromL2IOHC
124 process.HLTL3muonrecoNocandSequenceIOHC = cms.Sequence(
125 process.HLTL3muonTkCandSequenceIOHC +
126 process.hltL3TkTracksFromL2IOHC +
127 process.hltL3MuonsIOHC
130 process.hltL3TrajectorySeed = process.l3SeedCombination
131 process.hltL3TrackCandidateFromL2 = process.l3TkCandFromL2Combination
132 process.hltL3TkTracksFromL2 = process.l3TkFromL2Combination
133 process.hltL3Muons = process.l3MuonsAllCombined
135 process.HLTL3muonTkCandidateSequence = cms.Sequence(
136 process.HLTL3muonrecoNocandSequenceIOHC +
137 process.hltL3TrajectorySeed +
138 process.hltL3TrackCandidateFromL2
Make one TrackCand for each seeder.