test
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.
1 import FWCore.ParameterSet.Config as cms
2 
3 # TODO: clean this up, move to FastSimulation/Muons
4 
5 # L3 regional reconstruction
7 
8 import FastSimulation.Muons.TSGFromL2_cfi as TSG
9 from FastSimulation.Muons.TSGFromL2_cfi import OIHitPropagators as OIHProp
10 hltL3TrajSeedOIHit = TSG.l3seeds("OIHitCascade")
11 hltL3TrajSeedOIHit.ServiceParameters.Propagators = cms.untracked.vstring()
12 OIHProp(hltL3TrajSeedOIHit,hltL3TrajSeedOIHit.TkSeedGenerator.iterativeTSG)
13 hltL3TrajSeedIOHit = TSG.l3seeds("IOHitCascade")
14 hltL3NoFiltersTrajSeedOIHit = TSG.l3seeds("OIHitCascade")
15 hltL3NoFiltersTrajSeedOIHit.ServiceParameters.Propagators = cms.untracked.vstring()
16 OIHProp(hltL3NoFiltersTrajSeedOIHit,hltL3NoFiltersTrajSeedOIHit.TkSeedGenerator.iterativeTSG)
17 hltL3NoFiltersTrajSeedIOHit = TSG.l3seeds("IOHitCascade")
18 
19 ## Make one TrackCand for each seeder
21 hltL3TrackCandidateFromL2OIState = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
22 hltL3TrackCandidateFromL2OIState.src = "hltL3TrajSeedOIState"
23 hltL3TrackCandidateFromL2OIHit = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
24 hltL3TrackCandidateFromL2OIHit.src = "hltL3TrajSeedOIHit"
25 hltL3TrackCandidateFromL2IOHit = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
26 hltL3TrackCandidateFromL2IOHit.src = "hltL3TrajSeedIOHit"
27 hltL3TrackCandidateFromL2NoVtx = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
28 hltL3TrackCandidateFromL2NoVtx.src = "hltL3TrajectorySeedNoVtx"
29 
30 
31 # CKFTrackCandidateMaker
32 import FastSimulation.Tracking.TrackCandidateProducer_cfi
33 
34 hltMuCkfTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
35 hltMuCkfTrackCandidates.src = cms.InputTag("hltMuTrackSeeds")
36 hltMuCkfTrackCandidates.SplitHits = False
37 
38 # CTF track fit with material
40 
41 hltMuCtfTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
42 hltMuCtfTracks.src = 'hltMuCkfTrackCandidates'
43 hltMuCtfTracks.TTRHBuilder = 'WithoutRefit'
44 hltMuCtfTracks.Fitter = 'KFFittingSmoother'
45 hltMuCtfTracks.Propagator = 'PropagatorWithMaterial'
Make one TrackCand for each seeder.