CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoMuon_cff.py
Go to the documentation of this file.
2 
3 # Standard pp setup
5 
6 ########################################################
7 
8 # Sequence for cosmic reconstruction
9 # Seed generator
11 CosmicMuonSeed.DTRecSegmentLabel = 'dt4DCosmicSegments'
12 # Stand alone muon track producer
14 cosmicMuons.TrajectoryBuilderParameters.DTRecSegmentLabel = 'dt4DCosmicSegments'
15 
16 # Muon Id producer
17 muonsFromCosmics = RecoMuon.MuonIdentification.muons1stStep_cfi.muons1stStep.clone()
18 muonsFromCosmics.inputCollectionLabels = ['cosmicMuons']
19 muonsFromCosmics.inputCollectionTypes = ['outer tracks']
20 muonsFromCosmics.TrackAssociatorParameters.DTRecSegment4DCollectionLabel = 'dt4DCosmicSegments'
21 muonsFromCosmics.TrackExtractorPSet.inputTrackCollection = 'cosmicMuons'
22 muonsFromCosmics.TimingFillerParameters.DTTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
23 muonsFromCosmics.TimingFillerParameters.CSCTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
24 muonsFromCosmics.fillIsolation = False
25 muonsFromCosmics.fillGlobalTrackQuality = False
26 muonsFromCosmics.fillGlobalTrackRefits = False
27 
28 #add regional cosmic tracks here
29 muoncosmicreco2legsSTA = cms.Sequence(CosmicMuonSeed*cosmicMuons)
30 muoncosmicreco2legsHighLevel = cms.Sequence(muonsFromCosmics)
31 
32 # 1 Leg type
33 # Stand alone muon track producer
34 cosmicMuons1Leg = cosmicMuons.clone()
35 cosmicMuons1Leg.TrajectoryBuilderParameters.BuildTraversingMuon = True
36 cosmicMuons1Leg.TrajectoryBuilderParameters.Strict1Leg = True
37 cosmicMuons1Leg.TrajectoryBuilderParameters.DTRecSegmentLabel = 'dt4DCosmicSegments'
38 cosmicMuons1Leg.MuonSeedCollectionLabel = 'CosmicMuonSeed'
39 
40 # Muon Id producer
41 muonsFromCosmics1Leg = muons1stStep.clone()
42 muonsFromCosmics1Leg.inputCollectionLabels = ['cosmicMuons1Leg']
43 muonsFromCosmics1Leg.inputCollectionTypes = ['outer tracks']
44 muonsFromCosmics1Leg.TrackAssociatorParameters.DTRecSegment4DCollectionLabel = 'dt4DCosmicSegments'
45 muonsFromCosmics1Leg.TrackExtractorPSet.inputTrackCollection = 'cosmicMuons1Leg'
46 muonsFromCosmics1Leg.TimingFillerParameters.DTTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
47 muonsFromCosmics1Leg.TimingFillerParameters.CSCTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
48 muonsFromCosmics1Leg.fillIsolation = False
49 muonsFromCosmics1Leg.fillGlobalTrackQuality = False
50 muonsFromCosmics1Leg.fillGlobalTrackRefits = False
51 muoncosmicreco1legSTA = cms.Sequence(CosmicMuonSeed*cosmicMuons1Leg)
52 muoncosmicreco1legHighLevel = cms.Sequence(muonsFromCosmics1Leg)
53 
54 muoncosmicreco = cms.Sequence(muoncosmicreco2legsSTA+muoncosmicreco1legSTA)
55 muoncosmichighlevelreco = cms.Sequence((muoncosmicreco2legsHighLevel+muoncosmicreco1legHighLevel)*cosmicsMuonIdSequence)
56 #### High level sequence (i.e., post PF reconstruction) ###
59 muonshighlevelreco = cms.Sequence(muonPFIsolationSequence*muons)
High level sequence (i.e., post PF reconstruction) ###.