1 import FWCore.ParameterSet.Config
as cms
9 refittedStandAloneMuons = standAloneMuons.clone()
10 refittedStandAloneMuons.STATrajBuilderParameters.DoRefit =
True 14 displacedMuonSeeds = CosmicMuonSeed.clone()
15 displacedMuonSeeds.ForcePointDown =
False 17 displacedStandAloneMuons = standAloneMuons.clone()
18 displacedStandAloneMuons.InputObjects = cms.InputTag(
"displacedMuonSeeds")
19 displacedStandAloneMuons.MuonTrajectoryBuilder = cms.string(
"StandAloneMuonTrajectoryBuilder")
20 displacedStandAloneMuons.TrackLoaderParameters.VertexConstraint = cms.bool(
False)
25 displacedGlobalMuons = globalMuons.clone()
26 displacedGlobalMuons.MuonCollectionLabel = cms.InputTag(
"displacedStandAloneMuons",
"")
27 displacedGlobalMuons.TrackerCollectionLabel = cms.InputTag(
"displacedTracks")
37 muons1stStep.fillGlobalTrackQuality =
True 48 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
51 standalonemuontrackingTask = cms.Task(standAloneMuons,refittedStandAloneMuons,displacedMuonSeeds,displacedStandAloneMuons,standAloneMuonSeedsTask)
52 standalonemuontracking = cms.Sequence(standalonemuontrackingTask)
54 fastSim.toReplaceWith(standalonemuontrackingTask,standalonemuontrackingTask.copyAndExclude([displacedMuonSeeds,displacedStandAloneMuons]))
55 displacedGlobalMuonTrackingTask = cms.Task(iterDisplcedTrackingTask,displacedGlobalMuons)
56 displacedGlobalMuonTracking = cms.Sequence(displacedGlobalMuonTrackingTask)
58 globalmuontrackingTask = cms.Task(globalMuons,tevMuons,displacedGlobalMuonTrackingTask)
59 globalmuontracking = cms.Sequence(globalmuontrackingTask)
61 fastSim.toReplaceWith(globalmuontrackingTask,globalmuontrackingTask.copyAndExclude([displacedGlobalMuonTrackingTask]))
62 muontrackingTask = cms.Task(standalonemuontrackingTask,globalmuontrackingTask)
63 muontracking = cms.Sequence(muontrackingTask)
65 muonrecoTask = cms.Task(muontrackingTask,muonIdProducerTask)
66 muonreco = cms.Sequence(muonrecoTask)
68 muonreco_plus_isolationTask = cms.Task(muonrecoTask,muIsolationTask)
69 muonreco_plus_isolation = cms.Sequence(muonreco_plus_isolationTask)
71 muonrecoComplete = cms.Sequence(muonreco_plus_isolationTask,muonSelectionTypeTask)
83 muonGlobalRecoTask = cms.Task(globalmuontrackingTask,muonIdProducerTask,muonSelectionTypeTask,muIsolationTask)
84 muonGlobalReco = cms.Sequence(muonGlobalRecoTask)
96 fastSim.toReplaceWith(muonGlobalRecoTask, muonGlobalRecoTask.copyAndExclude([muonreco_with_SET_Task,muonSelectionTypeTask]))