CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FastSimulation/HighLevelTrigger/python/HLTFastRecoForMuon_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 import FastSimulation.HighLevelTrigger.DummyModule_cfi
00004 from FastSimulation.Tracking.GlobalPixelTracking_cff import *
00005 
00006 # RecoMuon flux ##########################################################
00007 # L2 seeds from L1 input
00008 # module hltL2MuonSeeds = L2MuonSeeds from "RecoMuon/L2MuonSeedGenerator/data/L2MuonSeeds.cfi"
00009 # replace hltL2MuonSeeds.GMTReadoutCollection = l1extraParticles
00010 # replace hltL2MuonSeeds.InputObjects = l1extraParticles
00011 # L3 regional reconstruction
00012 from FastSimulation.Muons.L3Muons_cff import *
00013 #import FastSimulation.Muons.L3Muons_cfi
00014 #hltL3Muonstemp = FastSimulation.Muons.L3Muons_cfi.L3Muons.clone()
00015 #hltL3Muonstemp.L3TrajBuilderParameters.TrackTransformer.TrackerRecHitBuilder = 'WithoutRefit'
00016 #hltL3Muonstemp.L3TrajBuilderParameters.TrackerRecHitBuilder = 'WithoutRefit'
00017 #hltL3Muonstemp.TrackLoaderParameters.beamSpot = cms.InputTag("offlineBeamSpot")
00018 
00019 # L3 regional seeding, candidating, tracking
00020 #--the two below have to be picked up from confDB: 
00021 # from FastSimulation.Muons.TSGFromL2_cfi import *
00022 # from FastSimulation.Muons.HLTL3TkMuons_cfi import *
00023 #from FastSimulation.Muons.TrackCandidateFromL2_cfi import *
00024 #from FastSimulation.Muons.TSGFromL2_cfi import *
00025 #hltL3TrajectorySeed = FastSimulation.Muons.TSGFromL2_cfi.hltL3TrajectorySeed.clone()
00026 
00027 import FastSimulation.Muons.TSGFromL2_cfi as TSG
00028 #from FastSimulation.Muons.TSGFromL2_cfi import OIStatePropagators as OIProp
00029 from FastSimulation.Muons.TSGFromL2_cfi import OIHitPropagators as OIHProp
00030 ## Make three individual seeders
00031 ## OIState can be taken directly from configuration
00032 #hltL3TrajSeedOIState = TSG.l3seeds("OIState")
00033 #hltL3TrajSeedOIState.ServiceParameters.Propagators = cms.untracked.vstring()
00034 #OIProp(hltL3TrajSeedOIState,hltL3TrajSeedOIState.TkSeedGenerator)
00035 hltL3TrajSeedOIHit = TSG.l3seeds("OIHitCascade")
00036 hltL3TrajSeedOIHit.ServiceParameters.Propagators = cms.untracked.vstring()
00037 OIHProp(hltL3TrajSeedOIHit,hltL3TrajSeedOIHit.TkSeedGenerator.iterativeTSG)
00038 hltL3TrajSeedIOHit = TSG.l3seeds("IOHitCascade")
00039 
00040 ## Make one TrackCand for each seeder
00041 from FastSimulation.Muons.TrackCandidateFromL2_cfi import *
00042 hltL3TrackCandidateFromL2OIState = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00043 hltL3TrackCandidateFromL2OIState.SeedProducer = "hltL3TrajSeedOIState"
00044 hltL3TrackCandidateFromL2OIHit = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00045 hltL3TrackCandidateFromL2OIHit.SeedProducer = "hltL3TrajSeedOIHit"    
00046 hltL3TrackCandidateFromL2IOHit = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00047 hltL3TrackCandidateFromL2IOHit.SeedProducer = "hltL3TrajSeedIOHit"
00048 hltL3TrackCandidateFromL2NoVtx = FastSimulation.Muons.TrackCandidateFromL2_cfi.hltL3TrackCandidateFromL2.clone()
00049 hltL3TrackCandidateFromL2NoVtx.SeedProducer = "hltL3TrajectorySeedNoVtx"
00050 
00051 
00052 # (Not-so) Regional Tracking - needed because the TrackCandidateProducer needs the seeds
00053 
00054 
00055 # Paths that need a regional pixel seed (which accesses Pixel RecHits in its usual implementation)
00056 hltJpsiTkPixelSeedFromL3Candidate = FastSimulation.HighLevelTrigger.DummyModule_cfi.dummyModule.clone()
00057 hltCkfTrackCandidatesJpsiTk = cms.Sequence(globalPixelTracking)
00058 # Take all pixel tracks (pTMin>1GeV, nHits>=8)
00059 hltCtfWithMaterialTracksJpsiTk = cms.EDProducer("FastTrackMerger",
00060     SaveTracksOnly = cms.untracked.bool(True),
00061     TrackProducers = cms.VInputTag(cms.InputTag("globalPixelWithMaterialTracks"),
00062                                    cms.InputTag("globalPixelTrackCandidates")),
00063     ptMin = cms.untracked.double(1.0),
00064     minHits = cms.untracked.uint32(8)
00065 )
00066 
00067 # CKFTrackCandidateMaker
00068 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00069 
00070 hltMuCkfTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00071 hltMuCkfTrackCandidates.SeedProducer = cms.InputTag("hltMuTrackSeeds")
00072 hltMuCkfTrackCandidates.TrackProducers = []
00073 hltMuCkfTrackCandidates.SeedCleaning = True
00074 hltMuCkfTrackCandidates.SplitHits = False
00075 
00076 hltMuTrackJpsiCkfTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00077 hltMuTrackJpsiCkfTrackCandidates.SeedProducer = cms.InputTag("hltMuTrackJpsiTrackSeeds")
00078 hltMuTrackJpsiCkfTrackCandidates.TrackProducers = []
00079 hltMuTrackJpsiCkfTrackCandidates.SeedCleaning = True
00080 hltMuTrackJpsiCkfTrackCandidates.SplitHits = False
00081 
00082 hltMuTrackJpsiEffCkfTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00083 hltMuTrackJpsiEffCkfTrackCandidates.SeedProducer = cms.InputTag("hltMuTrackJpsiTrackSeeds")
00084 hltMuTrackJpsiEffCkfTrackCandidates.TrackProducers = []
00085 hltMuTrackJpsiEffCkfTrackCandidates.SeedCleaning = True
00086 hltMuTrackJpsiEffCkfTrackCandidates.SplitHits = False
00087 
00088 hltMuTrackCkfTrackCandidatesOnia = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00089 hltMuTrackCkfTrackCandidatesOnia.SeedProducer = cms.InputTag("hltMuTrackTrackSeedsOnia")
00090 hltMuTrackCkfTrackCandidatesOnia.TrackProducers = []
00091 hltMuTrackCkfTrackCandidatesOnia.SeedCleaning = True
00092 hltMuTrackCkfTrackCandidatesOnia.SplitHits = False
00093 
00094 # CTF track fit with material
00095 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00096 
00097 hltMuCtfTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00098 hltMuCtfTracks.src = 'hltMuCkfTrackCandidates'
00099 hltMuCtfTracks.TTRHBuilder = 'WithoutRefit'
00100 hltMuCtfTracks.Fitter = 'KFFittingSmoother'
00101 hltMuCtfTracks.Propagator = 'PropagatorWithMaterial'
00102 
00103 hltMuTrackJpsiCtfTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00104 hltMuTrackJpsiCtfTracks.src = 'hltMuTrackJpsiCkfTrackCandidates'
00105 hltMuTrackJpsiCtfTracks.TTRHBuilder = 'WithoutRefit'
00106 hltMuTrackJpsiCtfTracks.Fitter = 'KFFittingSmoother'
00107 hltMuTrackJpsiCtfTracks.Propagator = 'PropagatorWithMaterial'
00108 
00109 hltMuTrackJpsiEffCtfTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00110 hltMuTrackJpsiEffCtfTracks.src = 'hltMuTrackJpsiEffCkfTrackCandidates'
00111 hltMuTrackJpsiEffCtfTracks.TTRHBuilder = 'WithoutRefit'
00112 hltMuTrackJpsiEffCtfTracks.Fitter = 'KFFittingSmoother'
00113 hltMuTrackJpsiEffCtfTracks.Propagator = 'PropagatorWithMaterial'
00114 
00115 hltMuTrackCtfTracksOnia = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00116 hltMuTrackCtfTracksOnia.src = 'hltMuTrackCkfTrackCandidatesOnia'
00117 hltMuTrackCtfTracksOnia.TTRHBuilder = 'WithoutRefit'
00118 hltMuTrackCtfTracksOnia.Fitter = 'KFFittingSmoother'
00119 hltMuTrackCtfTracksOnia.Propagator = 'PropagatorWithMaterial'
00120 
00121 #hltMuTrackSeedsSequence = cms.Sequence(globalPixelTracking+
00122 #                                     cms.SequencePlaceholder("hltMuTrackSeeds"))
00123 #
00124 #HLTMuTrackingSequence = cms.Sequence(hltMuCkfTrackCandidates+
00125 #                                     hltMuCtfTracks+
00126 #                                     cms.SequencePlaceholder("hltMuTracking"))
00127 
00128 
00129 # L3 muon isolation sequence
00130 from FastSimulation.Tracking.HLTPixelTracksProducer_cfi import *
00131 HLTRegionalCKFTracksForL3Isolation = cms.Sequence( hltPixelTracks)
00132