CMS 3D CMS Logo

SETRecoMuon_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 from RecoMuon.StandAloneMuonProducer.standAloneMuons_cff import standAloneSETMuons
6 
8 globalSETMuons = globalMuons.clone(
9  MuonCollectionLabel = 'standAloneSETMuons:UpdatedAtVtx',
10  selectHighPurity = False
11 )
12 muontracking_with_SET_Task = cms.Task(SETMuonSeed,standAloneSETMuons,globalSETMuons)
13 muontracking_with_SET = cms.Sequence(muontracking_with_SET_Task)
14 
16 muonsWithSET = muons1stStep.clone(
17  inputCollectionLabels = ['generalTracks',
18  'globalSETMuons',
19  'standAloneSETMuons:UpdatedAtVtx'],
20  inputCollectionTypes = ['inner tracks', 'links', 'outer tracks'],
21  selectHighPurity = False,
22  minPt = 0.5
23 )
24 #muonreco_with_SET = cms.Sequence(muontracking_with_SET*muonsWithSET)
25 #run only the tracking part for SET, after that it should be merged with the main ones at some point
26 muonreco_with_SET_Task = cms.Task(muontracking_with_SET_Task)
27 muonreco_with_SET = cms.Sequence(muonreco_with_SET_Task)
28 muonreco_with_standAloneSET_Task = cms.Task(SETMuonSeed,standAloneSETMuons)
29 muonreco_with_standAloneSET = cms.Sequence(muonreco_with_standAloneSET_Task)