CMS 3D CMS Logo

inOutSeedsFromTrackerMuons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 inOutSeedsFromTrackerMuons = cms.EDProducer("MuonReSeeder",
4  ## Input collection of muons, and selection. track.isNonnull is implicit.
5  src = cms.InputTag("muons"),
6  cut = cms.string("pt > 2"),
7  ## Keep at most these layers from the tracker track of the muon
8  layersToKeep = cms.int32(5),
9  ## Use the inner part of the tracker track to make a seed
10  insideOut = cms.bool(True),
11  #### Turn on verbose debugging (to be removed at the end)
12  debug = cms.untracked.bool(False),
13  ## Configuration for the refitter
14  DoPredictionsOnly = cms.bool(False),
15  Fitter = cms.string('KFFitterForRefitInsideOut'),
16  TrackerRecHitBuilder = cms.string('WithAngleAndTemplate'),
17  Smoother = cms.string('KFSmootherForRefitInsideOut'),
18  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
19  RefitDirection = cms.string('alongMomentum'),
20  RefitRPCHits = cms.bool(True),
21  Propagator = cms.string('SmartPropagatorAnyRKOpposite'),
22 )
23 
24 # This customization will be removed once we get the templates for
25 # phase2 pixel
26 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
27 phase2_tracker.toModify(inOutSeedsFromTrackerMuons, TrackerRecHitBuilder = 'WithTrackAngle') # FIXME
28