Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from RecoMuon.Configuration.RecoMuonPPonly_cff import *
00004 from RecoHI.HiMuonAlgos.hiMuonIterativeTk_cff import *
00005
00006
00007 hiTracks = 'hiRegitMuGeneralTracks'
00008
00009
00010 reglobalMuons = globalMuons.clone()
00011 reglobalMuons.TrackerCollectionLabel = hiTracks
00012
00013
00014 retevMuons = tevMuons.clone()
00015 retevMuons.MuonCollectionLabel = cms.InputTag("reglobalMuons")
00016
00017
00018
00019 reglbTrackQual = glbTrackQual.clone()
00020 reglbTrackQual.InputCollection = cms.InputTag("reglobalMuons")
00021 reglbTrackQual.InputLinksCollection = cms.InputTag("reglobalMuons")
00022
00023
00024
00025 remuons = muons1stStep.clone()
00026 remuons.inputCollectionLabels = [hiTracks, 'reglobalMuons', 'standAloneMuons:UpdatedAtVtx','retevMuons:firstHit','retevMuons:picky','retevMuons:dyt']
00027 remuons.globalTrackQualityInputTag = cms.InputTag('reglbTrackQual')
00028 remuons.JetExtractorPSet.JetCollectionLabel = cms.InputTag("iterativeConePu5CaloJets")
00029 remuons.TrackExtractorPSet.inputTrackCollection = hiTracks
00030
00031 remuonEcalDetIds = muonEcalDetIds.clone()
00032 remuonEcalDetIds.inputCollection = "remuons"
00033
00034
00035
00036 recalomuons = calomuons.clone()
00037 recalomuons.inputTracks = hiTracks
00038 recalomuons.inputCollection = 'remuons'
00039 recalomuons.inputMuons = 'remuons'
00040
00041
00042 remuIsoDepositTk = muIsoDepositTk.clone()
00043 remuIsoDepositTk.inputTags = cms.VInputTag(cms.InputTag("remuons:tracker"))
00044 remuIsoDepositJets = muIsoDepositJets.clone()
00045 remuIsoDepositJets.inputTags = cms.VInputTag(cms.InputTag("remuons:jets"))
00046 remuIsoDepositCalByAssociatorTowers = muIsoDepositCalByAssociatorTowers.clone()
00047 remuIsoDepositCalByAssociatorTowers.inputTags = cms.VInputTag(cms.InputTag("remuons:ecal"), cms.InputTag("remuons:hcal"), cms.InputTag("remuons:ho"))
00048
00049 remuonShowerInformation = muonShowerInformation.clone()
00050 remuonShowerInformation.muonCollection = "remuons"
00051
00052
00053 muonIdProducerSequence.replace(glbTrackQual,reglbTrackQual)
00054 muonIdProducerSequence.replace(muons1stStep,remuons)
00055 muonIdProducerSequence.replace(tevMuons,retevMuons)
00056 muonIdProducerSequence.replace(calomuons,recalomuons)
00057 muonIdProducerSequence.replace(muonEcalDetIds,remuonEcalDetIds)
00058 muonIdProducerSequence.replace(muonShowerInformation,remuonShowerInformation)
00059 muIsolation.replace(muIsoDepositTk,remuIsoDepositTk)
00060 muIsolation.replace(muIsoDepositJets,remuIsoDepositJets)
00061 muIsolation.replace(muIsoDepositCalByAssociatorTowers,remuIsoDepositCalByAssociatorTowers)
00062
00063
00064 muontracking = cms.Sequence(standAloneMuonSeeds * standAloneMuons * hiRegitMuonIterTracking * globalMuons)
00065
00066
00067 muontracking_re = cms.Sequence(hiRegitMuonIterTracking * reglobalMuons)
00068 muontracking_with_TeVRefinement_re = cms.Sequence(muontracking_re * retevMuons)
00069 muonrecowith_TeVRefinemen_re = cms.Sequence(muontracking_with_TeVRefinement_re * muonIdProducerSequence)
00070 muonreco_plus_isolation_re = cms.Sequence(muonrecowith_TeVRefinemen_re * muIsolation)
00071
00072 reMuonTrackRecoPbPb = cms.Sequence(muontracking_re)
00073
00074 reMuonRecoPbPb = cms.Sequence(muonreco_plus_isolation_re)