1 import FWCore.ParameterSet.Config
as cms
10 refittedStandAloneMuons = standAloneMuons.clone()
11 refittedStandAloneMuons.STATrajBuilderParameters.DoRefit =
True 15 displacedMuonSeeds = CosmicMuonSeed.clone()
16 displacedMuonSeeds.ForcePointDown =
False 18 displacedStandAloneMuons = standAloneMuons.clone()
19 displacedStandAloneMuons.InputObjects = cms.InputTag(
"displacedMuonSeeds")
20 displacedStandAloneMuons.MuonTrajectoryBuilder = cms.string(
"StandAloneMuonTrajectoryBuilder")
21 displacedStandAloneMuons.TrackLoaderParameters.VertexConstraint = cms.bool(
False)
26 displacedGlobalMuons = globalMuons.clone()
27 displacedGlobalMuons.MuonCollectionLabel = cms.InputTag(
"displacedStandAloneMuons",
"")
28 displacedGlobalMuons.TrackerCollectionLabel = cms.InputTag(
"displacedTracks")
38 muons1stStep.fillGlobalTrackQuality =
True 49 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
52 standalonemuontracking = cms.Sequence(standAloneMuonSeeds*standAloneMuons*refittedStandAloneMuons*displacedMuonSeeds*displacedStandAloneMuons)
54 fastSim.toReplaceWith(standalonemuontracking,standalonemuontracking.copyAndExclude([displacedMuonSeeds,displacedStandAloneMuons]))
55 displacedGlobalMuonTracking = cms.Sequence(iterDisplcedTracking*displacedGlobalMuons)
56 globalmuontracking = cms.Sequence(globalMuons*tevMuons*displacedGlobalMuonTracking)
58 fastSim.toReplaceWith(globalmuontracking,globalmuontracking.copyAndExclude([displacedGlobalMuonTracking]))
59 muontracking = cms.Sequence(standalonemuontracking*globalmuontracking)
62 muonreco = cms.Sequence(muontracking*muonIdProducerSequence)
65 muonreco_plus_isolation = cms.Sequence(muonreco*muIsolation)
67 muonrecoComplete = cms.Sequence(muonreco_plus_isolation*muonSelectionTypeSequence)
79 muonGlobalReco = cms.Sequence(globalmuontracking*muonIdProducerSequence*muonSelectionTypeSequence*muIsolation)
92 _phase2_muonGlobalReco = muonGlobalReco.copy()
93 _phase2_muonGlobalReco += me0MuonReco
94 phase2_muon.toReplaceWith( muonGlobalReco, _phase2_muonGlobalReco )
97 fastSim.toReplaceWith(muonGlobalReco, muonGlobalReco.copyAndExclude([muonreco_with_SET,muonSelectionTypeSequence]))