CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTFastRecoForMuon_cff.py
Go to the documentation of this file.
2 
5 
6 # RecoMuon flux ##########################################################
7 # L2 seeds from L1 input
8 # module hltL2MuonSeeds = L2MuonSeeds from "RecoMuon/L2MuonSeedGenerator/data/L2MuonSeeds.cfi"
9 # replace hltL2MuonSeeds.GMTReadoutCollection = l1extraParticles
10 # replace hltL2MuonSeeds.InputObjects = l1extraParticles
11 # L3 regional reconstruction
13 #import FastSimulation.Muons.L3Muons_cfi
14 #hltL3Muonstemp = FastSimulation.Muons.L3Muons_cfi.L3Muons.clone()
15 #hltL3Muonstemp.L3TrajBuilderParameters.TrackTransformer.TrackerRecHitBuilder = 'WithoutRefit'
16 #hltL3Muonstemp.L3TrajBuilderParameters.TrackerRecHitBuilder = 'WithoutRefit'
17 #hltL3Muonstemp.TrackLoaderParameters.beamSpot = cms.InputTag("offlineBeamSpot")
18 
19 # L3 regional seeding, candidating, tracking
20 #--the two below have to be picked up from confDB:
21 # from FastSimulation.Muons.TSGFromL2_cfi import *
22 # from FastSimulation.Muons.HLTL3TkMuons_cfi import *
23 #from FastSimulation.Muons.TrackCandidateFromL2_cfi import *
24 #from FastSimulation.Muons.TSGFromL2_cfi import *
25 #hltL3TrajectorySeed = FastSimulation.Muons.TSGFromL2_cfi.hltL3TrajectorySeed.clone()
26 
27 import FastSimulation.Muons.TSGFromL2_cfi as TSG
28 #from FastSimulation.Muons.TSGFromL2_cfi import OIStatePropagators as OIProp
29 from FastSimulation.Muons.TSGFromL2_cfi import OIHitPropagators as OIHProp
30 ## Make three individual seeders
31 ## OIState can be taken directly from configuration
32 #hltL3TrajSeedOIState = TSG.l3seeds("OIState")
33 #hltL3TrajSeedOIState.ServiceParameters.Propagators = cms.untracked.vstring()
34 #OIProp(hltL3TrajSeedOIState,hltL3TrajSeedOIState.TkSeedGenerator)
35 hltL3TrajSeedOIHit = TSG.l3seeds("OIHitCascade")
36 hltL3TrajSeedOIHit.ServiceParameters.Propagators = cms.untracked.vstring()
37 OIHProp(hltL3TrajSeedOIHit,hltL3TrajSeedOIHit.TkSeedGenerator.iterativeTSG)
38 hltL3TrajSeedIOHit = TSG.l3seeds("IOHitCascade")
39 hltL3NoFiltersTrajSeedOIHit = TSG.l3seeds("OIHitCascade")
40 hltL3NoFiltersTrajSeedOIHit.ServiceParameters.Propagators = cms.untracked.vstring()
41 OIHProp(hltL3NoFiltersTrajSeedOIHit,hltL3NoFiltersTrajSeedOIHit.TkSeedGenerator.iterativeTSG)
42 hltL3NoFiltersTrajSeedIOHit = TSG.l3seeds("IOHitCascade")
43 
44 ## Make one TrackCand for each seeder
46 hltL3TrackCandidateFromL2OIState = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
47 hltL3TrackCandidateFromL2OIState.src = "hltL3TrajSeedOIState"
48 hltL3TrackCandidateFromL2OIHit = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
49 hltL3TrackCandidateFromL2OIHit.src = "hltL3TrajSeedOIHit"
50 hltL3TrackCandidateFromL2IOHit = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
51 hltL3TrackCandidateFromL2IOHit.src = "hltL3TrajSeedIOHit"
52 hltL3TrackCandidateFromL2NoVtx = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
53 hltL3TrackCandidateFromL2NoVtx.src = "hltL3TrajectorySeedNoVtx"
54 
55 
56 # (Not-so) Regional Tracking - needed because the TrackCandidateProducer needs the seeds
57 
58 
59 # Paths that need a regional pixel seed (which accesses Pixel RecHits in its usual implementation)
60 hltJpsiTkPixelSeedFromL3Candidate = FastSimulation.HighLevelTrigger.DummyModule_cfi.dummyModule.clone()
61 hltCkfTrackCandidatesJpsiTk = cms.Sequence(globalPixelTracking)
62 
63 # CKFTrackCandidateMaker
65 
66 hltMuCkfTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
67 hltMuCkfTrackCandidates.src = cms.InputTag("hltMuTrackSeeds")
68 hltMuCkfTrackCandidates.SplitHits = False
69 
70 hltMuTrackJpsiCkfTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
71 hltMuTrackJpsiCkfTrackCandidates.src = cms.InputTag("hltMuTrackJpsiTrackSeeds")
72 hltMuTrackJpsiCkfTrackCandidates.SplitHits = False
73 
74 hltMuTrackJpsiEffCkfTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
75 hltMuTrackJpsiEffCkfTrackCandidates.src = cms.InputTag("hltMuTrackJpsiTrackSeeds")
76 hltMuTrackJpsiEffCkfTrackCandidates.SplitHits = False
77 
78 hltMuTrackCkfTrackCandidatesOnia = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
79 hltMuTrackCkfTrackCandidatesOnia.src = cms.InputTag("hltMuTrackTrackSeedsOnia")
80 hltMuTrackCkfTrackCandidatesOnia.SplitHits = False
81 
82 # CTF track fit with material
84 
85 hltMuCtfTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
86 hltMuCtfTracks.src = 'hltMuCkfTrackCandidates'
87 hltMuCtfTracks.TTRHBuilder = 'WithoutRefit'
88 hltMuCtfTracks.Fitter = 'KFFittingSmoother'
89 hltMuCtfTracks.Propagator = 'PropagatorWithMaterial'
90 
91 hltMuTrackJpsiCtfTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
92 hltMuTrackJpsiCtfTracks.src = 'hltMuTrackJpsiCkfTrackCandidates'
93 hltMuTrackJpsiCtfTracks.TTRHBuilder = 'WithoutRefit'
94 hltMuTrackJpsiCtfTracks.Fitter = 'KFFittingSmoother'
95 hltMuTrackJpsiCtfTracks.Propagator = 'PropagatorWithMaterial'
96 
97 hltMuTrackJpsiEffCtfTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
98 hltMuTrackJpsiEffCtfTracks.src = 'hltMuTrackJpsiEffCkfTrackCandidates'
99 hltMuTrackJpsiEffCtfTracks.TTRHBuilder = 'WithoutRefit'
100 hltMuTrackJpsiEffCtfTracks.Fitter = 'KFFittingSmoother'
101 hltMuTrackJpsiEffCtfTracks.Propagator = 'PropagatorWithMaterial'
102 
103 hltMuTrackCtfTracksOnia = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
104 hltMuTrackCtfTracksOnia.src = 'hltMuTrackCkfTrackCandidatesOnia'
105 hltMuTrackCtfTracksOnia.TTRHBuilder = 'WithoutRefit'
106 hltMuTrackCtfTracksOnia.Fitter = 'KFFittingSmoother'
107 hltMuTrackCtfTracksOnia.Propagator = 'PropagatorWithMaterial'
108 
109 #hltMuTrackSeedsSequence = cms.Sequence(globalPixelTracking+
110 # cms.SequencePlaceholder("hltMuTrackSeeds"))
111 #
112 #HLTMuTrackingSequence = cms.Sequence(hltMuCkfTrackCandidates+
113 # hltMuCtfTracks+
114 # cms.SequencePlaceholder("hltMuTracking"))
115 
116 
117 # L3 muon isolation sequence
119 HLTRegionalCKFTracksForL3Isolation = cms.Sequence( hltPixelTracks)
120 
Make one TrackCand for each seeder.