1 import FWCore.ParameterSet.Config
as cms
9 refittedStandAloneMuons = standAloneMuons.clone(
10 STATrajBuilderParameters = dict(DoRefit =
True)
15 displacedMuonSeeds = CosmicMuonSeed.clone(
16 ForcePointDown =
False
19 displacedStandAloneMuons = standAloneMuons.clone(
20 InputObjects =
'displacedMuonSeeds',
21 MuonTrajectoryBuilder =
'StandAloneMuonTrajectoryBuilder',
22 TrackLoaderParameters = dict(VertexConstraint =
False)
28 displacedGlobalMuons = globalMuons.clone(
29 MuonCollectionLabel =
'displacedStandAloneMuons:',
30 TrackerCollectionLabel =
'displacedTracks'
41 muons1stStep.fillGlobalTrackQuality =
True
52 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
55 standalonemuontrackingTask = cms.Task(standAloneMuons,
56 refittedStandAloneMuons,
58 displacedStandAloneMuons,
59 standAloneMuonSeedsTask)
60 standalonemuontracking = cms.Sequence(standalonemuontrackingTask)
62 fastSim.toReplaceWith(standalonemuontrackingTask,standalonemuontrackingTask.copyAndExclude([displacedMuonSeeds,displacedStandAloneMuons]))
63 displacedGlobalMuonTrackingTask = cms.Task(iterDisplcedTrackingTask,displacedGlobalMuons)
64 displacedGlobalMuonTracking = cms.Sequence(displacedGlobalMuonTrackingTask)
66 globalmuontrackingTask = cms.Task(globalMuons,tevMuons,displacedGlobalMuonTrackingTask)
67 globalmuontracking = cms.Sequence(globalmuontrackingTask)
69 fastSim.toReplaceWith(globalmuontrackingTask,globalmuontrackingTask.copyAndExclude([displacedGlobalMuonTrackingTask]))
70 muontrackingTask = cms.Task(standalonemuontrackingTask,globalmuontrackingTask)
71 muontracking = cms.Sequence(muontrackingTask)
73 muonrecoTask = cms.Task(muontrackingTask,muonIdProducerTask)
74 muonreco = cms.Sequence(muonrecoTask)
76 muonreco_plus_isolationTask = cms.Task(muonrecoTask,muIsolationTask)
77 muonreco_plus_isolation = cms.Sequence(muonreco_plus_isolationTask)
79 muonrecoComplete = cms.Sequence(muonreco_plus_isolationTask,muonSelectionTypeTask)
91 muonGlobalRecoTask = cms.Task(globalmuontrackingTask,
93 muonSelectionTypeTask,
95 muonGlobalReco = cms.Sequence(muonGlobalRecoTask)
107 fastSim.toReplaceWith(muonGlobalRecoTask, muonGlobalRecoTask.copyAndExclude([muonreco_with_SET_Task,muonSelectionTypeTask]))