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',
31 selectHighPurity =
False 42 muons1stStep.fillGlobalTrackQuality =
True 45 displacedMuons1stStep = muons1stStep.clone(
46 inputCollectionLabels = [
'displacedTracks',
47 'displacedGlobalMuons',
48 'displacedStandAloneMuons'],
49 inputCollectionTypes = [
'inner tracks',
52 fillGlobalTrackQuality =
False 54 displacedMuons1stStep.TrackExtractorPSet.Diff_r = 0.2
55 displacedMuons1stStep.TrackExtractorPSet.Diff_z = 0.5
57 displacedMuonIdProducerTask = cms.Task(displacedMuons1stStep)
68 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
71 standalonemuontrackingTask = cms.Task(standAloneMuons,
72 refittedStandAloneMuons,
74 displacedStandAloneMuons,
75 standAloneMuonSeedsTask)
76 standalonemuontracking = cms.Sequence(standalonemuontrackingTask)
78 fastSim.toReplaceWith(standalonemuontrackingTask,standalonemuontrackingTask.copyAndExclude([displacedMuonSeeds,displacedStandAloneMuons]))
79 displacedGlobalMuonTrackingTask = cms.Task(iterDisplcedTrackingTask,displacedGlobalMuons)
80 displacedGlobalMuonTracking = cms.Sequence(displacedGlobalMuonTrackingTask)
82 globalmuontrackingTask = cms.Task(globalMuons,tevMuons,displacedGlobalMuonTrackingTask)
83 globalmuontracking = cms.Sequence(globalmuontrackingTask)
85 fastSim.toReplaceWith(globalmuontrackingTask,globalmuontrackingTask.copyAndExclude([displacedGlobalMuonTrackingTask]))
86 muontrackingTask = cms.Task(standalonemuontrackingTask,globalmuontrackingTask)
87 muontracking = cms.Sequence(muontrackingTask)
89 muonrecoTask = cms.Task(muontrackingTask,muonIdProducerTask, displacedMuonIdProducerTask)
90 fastSim.toReplaceWith(muonrecoTask,muonrecoTask.copyAndExclude([displacedMuonIdProducerTask]))
91 muonreco = cms.Sequence(muonrecoTask)
93 muonreco_plus_isolationTask = cms.Task(muonrecoTask,muIsolationTask)
94 muonreco_plus_isolation = cms.Sequence(muonreco_plus_isolationTask)
96 muonrecoComplete = cms.Sequence(muonreco_plus_isolationTask,muonSelectionTypeTask)
108 muonGlobalRecoTask = cms.Task(globalmuontrackingTask,
110 displacedMuonIdProducerTask,
111 muonSelectionTypeTask,
113 muIsolationDisplacedTask)
114 muonGlobalReco = cms.Sequence(muonGlobalRecoTask)
126 fastSim.toReplaceWith(muonGlobalRecoTask, muonGlobalRecoTask.copyAndExclude([muonreco_with_SET_Task,muonSelectionTypeTask,displacedMuonIdProducerTask,muIsolationDisplacedTask]))