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  MTDRecHitBuilder = cms.string('MTDRecHitBuilder'),
20  RefitDirection = cms.string('alongMomentum'),
21  RefitRPCHits = cms.bool(True),
22  Propagator = cms.string('SmartPropagatorAnyRKOpposite'),
23 )
24 
25 # This customization will be removed once we get the templates for
26 # phase2 pixel
27 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
28 phase2_tracker.toModify(inOutSeedsFromTrackerMuons, TrackerRecHitBuilder = 'WithTrackAngle') # FIXME
29