CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoMuonPPonly_cff.py
Go to the documentation of this file.
2 
3 # Seed generator
5 
6 # Stand alone muon track producer
8 
9 # refitted stand-alone muons.
10 refittedStandAloneMuons = standAloneMuons.clone()
11 refittedStandAloneMuons.STATrajBuilderParameters.DoRefit = True
12 
13 # Global muon track producer
15 
16 # TeV refinement
18 
19 # SET Muon tracking
21 
22 # Muon Id producer
24 muons1stStep.fillGlobalTrackQuality = True
25 
26 #Muon Id isGood flag ValueMap producer sequence
28 
29 # Muon Isolation sequence
31 
32 # ---------------------------------------------------- #
33 ################## Make the sequences ##################
34 # ---------------------------------------------------- #
35 
36 # Muon Tracking sequence
37 standalonemuontracking = cms.Sequence(standAloneMuonSeeds*standAloneMuons*refittedStandAloneMuons)
38 globalmuontracking = cms.Sequence(globalMuons*tevMuons)
39 muontracking = cms.Sequence(standalonemuontracking*globalmuontracking)
40 
41 # Muon Reconstruction
42 muonreco = cms.Sequence(muontracking*muonIdProducerSequence)
43 
44 # Muon Reconstruction plus Isolation
45 muonreco_plus_isolation = cms.Sequence(muonreco*muIsolation)
46 muonreco_plus_isolation_plus_SET = cms.Sequence(muonreco_plus_isolation*muonreco_with_SET)
47 
48 muonrecoComplete = cms.Sequence(muonreco_plus_isolation_plus_SET*muonSelectionTypeSequence)
49 
50 
51 # _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- #
52 # -_-_-_- Special Sequences for Iterative tracking -_-_-_- #
53 # -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ #
54 
55 # We need to split the muon sequence above in two, to be able to run the MuonSeeding in the tracker. So muonrecoComplete will
56 # be run no longer...
57 
58 #from RecoMuon.MuonIdentification.earlyMuons_cfi import earlyMuons
59 
60 muonGlobalReco = cms.Sequence(globalmuontracking*muonIdProducerSequence*muonSelectionTypeSequence*muIsolation*muonreco_with_SET)
61 
62 # ... instead, the sequences will be run in the following order:
63 # 1st - standalonemuontracking
64 # 2nd - iterative tracking (def in RecoTracker config)
65 # 3rd - MuonIDProducer with 1&2 as input, with special replacements; the earlyMuons above.
66 # 4th - MuonSeeded tracks, inside-out and outside-in
67 # 5th - Merging of the new TK tracks into the generalTracks collection
68 # 6th - Run the remnant part of the muon sequence (muonGlobalReco)
69 
70 ########################################################