Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoMuon.MuonSeedGenerator.SETMuonSeed_cff import *
0004 
0005 from RecoMuon.StandAloneMuonProducer.standAloneMuons_cff import standAloneSETMuons
0006 
0007 from RecoMuon.GlobalMuonProducer.GlobalMuonProducer_cff import *
0008 globalSETMuons = globalMuons.clone(
0009     MuonCollectionLabel = 'standAloneSETMuons:UpdatedAtVtx',
0010     selectHighPurity = False
0011 )
0012 muontracking_with_SET_Task = cms.Task(SETMuonSeed,standAloneSETMuons,globalSETMuons)
0013 muontracking_with_SET = cms.Sequence(muontracking_with_SET_Task)
0014 
0015 from RecoMuon.MuonIdentification.muonIdProducerSequence_cff import *
0016 muonsWithSET = muons1stStep.clone(
0017     inputCollectionLabels = ['generalTracks', 
0018                              'globalSETMuons', 
0019                              'standAloneSETMuons:UpdatedAtVtx'],
0020     inputCollectionTypes = ['inner tracks', 'links', 'outer tracks'],
0021     selectHighPurity = False,
0022     minPt = 0.5
0023 )
0024 #muonreco_with_SET = cms.Sequence(muontracking_with_SET*muonsWithSET)
0025 #run only the tracking part for SET, after that it should be merged with the main ones at some point
0026 muonreco_with_SET_Task = cms.Task(muontracking_with_SET_Task)
0027 muonreco_with_SET = cms.Sequence(muonreco_with_SET_Task)
0028 muonreco_with_standAloneSET_Task = cms.Task(SETMuonSeed,standAloneSETMuons)
0029 muonreco_with_standAloneSET = cms.Sequence(muonreco_with_standAloneSET_Task)