Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 import FastSimulation.Muons.TSGFromL2_cfi as TSG
00004
00005 def SwitchToOIState(process):
00006 process.hltL3TrajectorySeedOIS = TSG.l3seeds("OIState")
00007
00008 def SwitchToOIHit(process):
00009 process.hltL3TrajectorySeedOIH = TSG.l3seeds("OIHit")
00010
00011 def SwitchToIOHit(process):
00012 process.hltL3TrajectorySeedIOH = TSG.l3seeds("IOHit")
00013
00014 def SwitchToOIHitCascade(process):
00015 process.hltL3TrajectorySeedOIHCascade = TSG.l3seeds("OIHitCascade")
00016
00017 def SwitchToCascade(process):
00018
00019 process.hltL3TrajectorySeedOIS = TSG.l3seeds("OIState")
00020 process.hltL3TrajectorySeedOIHC = TSG.l3seeds("OIHitCascade")
00021 process.hltL3TrajectorySeedIOHC = TSG.l3seeds("IOHitCascade")
00022
00023
00024 import FastSimulation.Muons.TrackCandidateFromL2_cfi
00025 process.hltL3TrackCandidateFromL2OIS = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00026 process.hltL3TrackCandidateFromL2OIS.SeedProducer = "hltL3TrajectorySeedOIS"
00027 process.hltL3TrackCandidateFromL2OIHC = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00028 process.hltL3TrackCandidateFromL2OIHC.SeedProducer = "hltL3TrajectorySeedOIHC"
00029 process.hltL3TrackCandidateFromL2IOHC = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00030 process.hltL3TrackCandidateFromL2IOHC.SeedProducer = "hltL3TrajectorySeedIOHC"
00031
00032
00033 process.hltL3TkTracksFromL2OIS = process.hltL3TkTracksFromL2.clone()
00034 process.hltL3TkTracksFromL2OIS.src = "hltL3TrackCandidateFromL2OIS"
00035 process.hltL3TkTracksFromL2OIHC = process.hltL3TkTracksFromL2.clone()
00036 process.hltL3TkTracksFromL2OIHC.src = "hltL3TrackCandidateFromL2OIHC"
00037 process.hltL3TkTracksFromL2IOHC = process.hltL3TkTracksFromL2.clone()
00038 process.hltL3TkTracksFromL2IOHC.src = "hltL3TrackCandidateFromL2IOHC"
00039
00040
00041 process.hltL3MuonsOIS = process.hltL3Muons.clone()
00042 process.hltL3MuonsOIS.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2OIS"
00043 process.hltL3MuonsOIHC = process.hltL3Muons.clone()
00044 process.hltL3MuonsOIHC.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2OIHC"
00045 process.hltL3MuonsIOHC = process.hltL3Muons.clone()
00046 process.hltL3MuonsIOHC.L3TrajBuilderParameters.tkTrajLabel = "hltL3TkTracksFromL2IOHC"
00047
00048 process.hltL3MuonsOICombined = cms.EDProducer(
00049 "L3TrackCombiner",
00050 labels = cms.VInputTag(
00051 cms.InputTag("hltL3MuonsOIS"),
00052 cms.InputTag("hltL3MuonsOIHC"),
00053 )
00054 )
00055
00056 process.l3MuonsAllCombined = cms.EDProducer(
00057 "L3TrackCombiner",
00058 labels = cms.VInputTag(
00059 cms.InputTag("hltL3MuonsOIS"),
00060 cms.InputTag("hltL3MuonsOIHC"),
00061 cms.InputTag("hltL3MuonsIOHC")
00062 )
00063 )
00064
00065 process.l3TkFromL2Combination = cms.EDProducer(
00066 "L3TrackCombiner",
00067 labels = cms.VInputTag(
00068 cms.InputTag("hltL3TkTracksFromL2OIS"),
00069 cms.InputTag("hltL3TkTracksFromL2OIHC"),
00070 cms.InputTag("hltL3TkTracksFromL2IOHC")
00071 )
00072 )
00073
00074 process.l3TkCandFromL2Combination = cms.EDProducer(
00075 "L3TrackCandCombiner",
00076 labels = cms.VInputTag(
00077 cms.InputTag("hltL3TrackCandidateFromL2OIS"),
00078 cms.InputTag("hltL3TrackCandidateFromL2OIHC"),
00079 cms.InputTag("hltL3TrackCandidateFromL2IOHC"),
00080 )
00081 )
00082
00083 process.l3SeedCombination = cms.EDProducer(
00084 "L3MuonTrajectorySeedCombiner",
00085 labels = cms.VInputTag(
00086 cms.InputTag("hltL3TrajectorySeedOIS"),
00087 cms.InputTag("hltL3TrajectorySeedOIHC"),
00088 cms.InputTag("hltL3TrajectorySeedIOHC")
00089 )
00090 )
00091
00092 process.HLTL3muonTkCandidateSequenceOIS = cms.Sequence(
00093 process.HLTDoLocalPixelSequence +
00094 process.HLTDoLocalStripSequence +
00095 process.hltL3TrajectorySeedOIS +
00096 process.hltL3TrackCandidateFromL2OIS
00097 )
00098
00099 process.HLTL3muonrecoNocandSequenceOIS = cms.Sequence(
00100 process.HLTL3muonTkCandidateSequenceOIS +
00101 process.hltL3TkTracksFromL2OIS +
00102 process.hltL3MuonsOIS
00103 )
00104
00105 process.HLTL3muonTkCandidateSequenceOIHC = cms.Sequence(
00106 process.HLTL3muonrecoNocandSequenceOIS +
00107 process.hltL3TrajectorySeedOIHC +
00108 process.hltL3TrackCandidateFromL2OIHC
00109 )
00110
00111 process.HLTL3muonrecoNocandSequenceOIHC = cms.Sequence(
00112 process.HLTL3muonTkCandidateSequenceOIHC +
00113 process.hltL3TkTracksFromL2OIHC +
00114 process.hltL3MuonsOIHC
00115 )
00116
00117 process.HLTL3muonTkCandSequenceIOHC = cms.Sequence(
00118 process.HLTL3muonrecoNocandSequenceOIHC +
00119 process.hltL3MuonsOICombined +
00120 process.hltL3TrajectorySeedIOHC +
00121 process.hltL3TrackCandidateFromL2IOHC
00122 )
00123
00124 process.HLTL3muonrecoNocandSequenceIOHC = cms.Sequence(
00125 process.HLTL3muonTkCandSequenceIOHC +
00126 process.hltL3TkTracksFromL2IOHC +
00127 process.hltL3MuonsIOHC
00128 )
00129
00130 process.hltL3TrajectorySeed = process.l3SeedCombination
00131 process.hltL3TrackCandidateFromL2 = process.l3TkCandFromL2Combination
00132 process.hltL3TkTracksFromL2 = process.l3TkFromL2Combination
00133 process.hltL3Muons = process.l3MuonsAllCombined
00134
00135 process.HLTL3muonTkCandidateSequence = cms.Sequence(
00136 process.HLTL3muonrecoNocandSequenceIOHC +
00137 process.hltL3TrajectorySeed +
00138 process.hltL3TrackCandidateFromL2
00139 )
00140
00141
00142
00143
00144
00145